Lines Matching refs:pvscsi_adapter

67 struct pvscsi_adapter {
149 pvscsi_dev(const struct pvscsi_adapter *adapter)
155 pvscsi_find_context(const struct pvscsi_adapter *adapter, struct scsi_cmnd *cmd)
168 pvscsi_acquire_context(struct pvscsi_adapter *adapter, struct scsi_cmnd *cmd)
182 static void pvscsi_release_context(struct pvscsi_adapter *adapter,
195 static u64 pvscsi_map_context(const struct pvscsi_adapter *adapter,
202 pvscsi_get_context(const struct pvscsi_adapter *adapter, u64 context)
207 static void pvscsi_reg_write(const struct pvscsi_adapter *adapter,
213 static u32 pvscsi_reg_read(const struct pvscsi_adapter *adapter, u32 offset)
218 static u32 pvscsi_read_intr_status(const struct pvscsi_adapter *adapter)
223 static void pvscsi_write_intr_status(const struct pvscsi_adapter *adapter,
229 static void pvscsi_unmask_intr(const struct pvscsi_adapter *adapter)
240 static void pvscsi_mask_intr(const struct pvscsi_adapter *adapter)
245 static void pvscsi_write_cmd_desc(const struct pvscsi_adapter *adapter,
258 static void pvscsi_abort_cmd(const struct pvscsi_adapter *adapter,
269 static void pvscsi_kick_rw_io(const struct pvscsi_adapter *adapter)
274 static void pvscsi_process_request_ring(const struct pvscsi_adapter *adapter)
287 static void pvscsi_kick_io(const struct pvscsi_adapter *adapter,
301 static void ll_adapter_reset(const struct pvscsi_adapter *adapter)
308 static void ll_bus_reset(const struct pvscsi_adapter *adapter)
315 static void ll_device_reset(const struct pvscsi_adapter *adapter, u32 target)
347 static int pvscsi_map_buffers(struct pvscsi_adapter *adapter,
414 static void pvscsi_unmap_buffers(const struct pvscsi_adapter *adapter,
442 static int pvscsi_allocate_rings(struct pvscsi_adapter *adapter)
486 static void pvscsi_setup_all_rings(const struct pvscsi_adapter *adapter)
543 static void pvscsi_complete_request(struct pvscsi_adapter *adapter,
659 static void pvscsi_process_completion_ring(struct pvscsi_adapter *adapter)
690 static int pvscsi_queue_ring(struct pvscsi_adapter *adapter,
777 struct pvscsi_adapter *adapter = shost_priv(host);
808 struct pvscsi_adapter *adapter = shost_priv(cmd->device->host);
878 static void pvscsi_reset_all(struct pvscsi_adapter *adapter)
900 struct pvscsi_adapter *adapter = shost_priv(host);
954 struct pvscsi_adapter *adapter = shost_priv(host);
979 struct pvscsi_adapter *adapter = shost_priv(host);
1005 struct pvscsi_adapter *adapter = shost_priv(host);
1033 static void pvscsi_process_msg(const struct pvscsi_adapter *adapter,
1091 static int pvscsi_msg_pending(const struct pvscsi_adapter *adapter)
1098 static void pvscsi_process_msg_ring(const struct pvscsi_adapter *adapter)
1117 struct pvscsi_adapter *adapter;
1119 adapter = container_of(data, struct pvscsi_adapter, work);
1124 static int pvscsi_setup_msg_workqueue(struct pvscsi_adapter *adapter)
1150 static bool pvscsi_setup_req_threshold(struct pvscsi_adapter *adapter,
1180 struct pvscsi_adapter *adapter = devp;
1194 struct pvscsi_adapter *adapter = devp;
1203 static void pvscsi_free_sgls(const struct pvscsi_adapter *adapter)
1212 static void pvscsi_shutdown_intr(struct pvscsi_adapter *adapter)
1218 static void pvscsi_release_resources(struct pvscsi_adapter *adapter)
1266 static int pvscsi_allocate_sg(struct pvscsi_adapter *adapter)
1297 static u32 pvscsi_get_max_targets(struct pvscsi_adapter *adapter)
1350 struct pvscsi_adapter *adapter;
1351 struct pvscsi_adapter adapter_temp;
1372 * Let's use a temp pvscsi_adapter struct until we find the number of
1437 host = scsi_host_alloc(&pvscsi_template, sizeof(struct pvscsi_adapter));
1444 * Let's use the real pvscsi_adapter struct here onwards.
1563 static void __pvscsi_shutdown(struct pvscsi_adapter *adapter)
1580 struct pvscsi_adapter *adapter = shost_priv(host);
1588 struct pvscsi_adapter *adapter = shost_priv(host);