Lines Matching defs:adapter
149 pvscsi_dev(const struct pvscsi_adapter *adapter) in pvscsi_dev()
155 pvscsi_find_context(const struct pvscsi_adapter *adapter, struct scsi_cmnd *cmd) in pvscsi_find_context()
168 pvscsi_acquire_context(struct pvscsi_adapter *adapter, struct scsi_cmnd *cmd) in pvscsi_acquire_context()
182 static void pvscsi_release_context(struct pvscsi_adapter *adapter, in pvscsi_release_context()
195 static u64 pvscsi_map_context(const struct pvscsi_adapter *adapter, in pvscsi_map_context()
202 pvscsi_get_context(const struct pvscsi_adapter *adapter, u64 context) in pvscsi_get_context()
207 static void pvscsi_reg_write(const struct pvscsi_adapter *adapter, in pvscsi_reg_write()
213 static u32 pvscsi_reg_read(const struct pvscsi_adapter *adapter, u32 offset) in pvscsi_reg_read()
218 static u32 pvscsi_read_intr_status(const struct pvscsi_adapter *adapter) in pvscsi_read_intr_status()
223 static void pvscsi_write_intr_status(const struct pvscsi_adapter *adapter, in pvscsi_write_intr_status()
229 static void pvscsi_unmask_intr(const struct pvscsi_adapter *adapter) in pvscsi_unmask_intr()
240 static void pvscsi_mask_intr(const struct pvscsi_adapter *adapter) in pvscsi_mask_intr()
245 static void pvscsi_write_cmd_desc(const struct pvscsi_adapter *adapter, in pvscsi_write_cmd_desc()
258 static void pvscsi_abort_cmd(const struct pvscsi_adapter *adapter, in pvscsi_abort_cmd()
269 static void pvscsi_kick_rw_io(const struct pvscsi_adapter *adapter) in pvscsi_kick_rw_io()
274 static void pvscsi_process_request_ring(const struct pvscsi_adapter *adapter) in pvscsi_process_request_ring()
287 static void pvscsi_kick_io(const struct pvscsi_adapter *adapter, in pvscsi_kick_io()
301 static void ll_adapter_reset(const struct pvscsi_adapter *adapter) in ll_adapter_reset()
308 static void ll_bus_reset(const struct pvscsi_adapter *adapter) in ll_bus_reset()
315 static void ll_device_reset(const struct pvscsi_adapter *adapter, u32 target) in ll_device_reset()
347 static int pvscsi_map_buffers(struct pvscsi_adapter *adapter, in pvscsi_map_buffers()
414 static void pvscsi_unmap_buffers(const struct pvscsi_adapter *adapter, in pvscsi_unmap_buffers()
442 static int pvscsi_allocate_rings(struct pvscsi_adapter *adapter) in pvscsi_allocate_rings()
486 static void pvscsi_setup_all_rings(const struct pvscsi_adapter *adapter) in pvscsi_setup_all_rings()
543 static void pvscsi_complete_request(struct pvscsi_adapter *adapter, in pvscsi_complete_request()
659 static void pvscsi_process_completion_ring(struct pvscsi_adapter *adapter) in pvscsi_process_completion_ring()
690 static int pvscsi_queue_ring(struct pvscsi_adapter *adapter, in pvscsi_queue_ring()
777 struct pvscsi_adapter *adapter = shost_priv(host); in pvscsi_queue_lck() local
808 struct pvscsi_adapter *adapter = shost_priv(cmd->device->host); in DEF_SCSI_QCMD() local
878 static void pvscsi_reset_all(struct pvscsi_adapter *adapter) in pvscsi_reset_all()
900 struct pvscsi_adapter *adapter = shost_priv(host); in pvscsi_host_reset() local
954 struct pvscsi_adapter *adapter = shost_priv(host); in pvscsi_bus_reset() local
979 struct pvscsi_adapter *adapter = shost_priv(host); in pvscsi_device_reset() local
1005 struct pvscsi_adapter *adapter = shost_priv(host); in pvscsi_info() local
1033 static void pvscsi_process_msg(const struct pvscsi_adapter *adapter, in pvscsi_process_msg()
1091 static int pvscsi_msg_pending(const struct pvscsi_adapter *adapter) in pvscsi_msg_pending()
1098 static void pvscsi_process_msg_ring(const struct pvscsi_adapter *adapter) in pvscsi_process_msg_ring()
1117 struct pvscsi_adapter *adapter; in pvscsi_msg_workqueue_handler() local
1124 static int pvscsi_setup_msg_workqueue(struct pvscsi_adapter *adapter) in pvscsi_setup_msg_workqueue()
1150 static bool pvscsi_setup_req_threshold(struct pvscsi_adapter *adapter, in pvscsi_setup_req_threshold()
1180 struct pvscsi_adapter *adapter = devp; in pvscsi_isr() local
1194 struct pvscsi_adapter *adapter = devp; in pvscsi_shared_isr() local
1203 static void pvscsi_free_sgls(const struct pvscsi_adapter *adapter) in pvscsi_free_sgls()
1212 static void pvscsi_shutdown_intr(struct pvscsi_adapter *adapter) in pvscsi_shutdown_intr()
1218 static void pvscsi_release_resources(struct pvscsi_adapter *adapter) in pvscsi_release_resources()
1266 static int pvscsi_allocate_sg(struct pvscsi_adapter *adapter) in pvscsi_allocate_sg()
1297 static u32 pvscsi_get_max_targets(struct pvscsi_adapter *adapter) in pvscsi_get_max_targets()
1350 struct pvscsi_adapter *adapter; in pvscsi_probe() local
1563 static void __pvscsi_shutdown(struct pvscsi_adapter *adapter) in __pvscsi_shutdown()
1580 struct pvscsi_adapter *adapter = shost_priv(host); in pvscsi_shutdown() local
1588 struct pvscsi_adapter *adapter = shost_priv(host); in pvscsi_remove() local