Home
last modified time | relevance | path

Searched refs:Scsi_Host (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/Linux-v5.4/include/scsi/
Dscsi_host.h21 struct Scsi_Host;
56 const char *(* info)(struct Scsi_Host *);
112 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
122 void (*commit_rqs)(struct Scsi_Host *, u16);
251 int (* scan_finished)(struct Scsi_Host *, unsigned long);
260 void (* scan_start)(struct Scsi_Host *);
281 int (* map_queues)(struct Scsi_Host *shost);
309 int (*show_info)(struct seq_file *, struct Scsi_Host *);
310 int (*write_info)(struct Scsi_Host *, char *, int);
329 int (*host_reset)(struct Scsi_Host *shost, int reset_type);
[all …]
Dscsi_transport_iscsi.h21 struct Scsi_Host;
99 int (*get_host_param) (struct Scsi_Host *shost,
101 int (*set_host_param) (struct Scsi_Host *shost,
121 struct iscsi_endpoint *(*ep_connect) (struct Scsi_Host *shost,
126 int (*tgt_dscvr) (struct Scsi_Host *shost, enum iscsi_tgt_dscvr type,
128 int (*set_path) (struct Scsi_Host *shost, struct iscsi_path *params);
129 int (*set_iface_param) (struct Scsi_Host *shost, void *data,
136 int (*send_ping) (struct Scsi_Host *shost, uint32_t iface_num,
139 int (*get_chap) (struct Scsi_Host *shost, uint16_t chap_tbl_idx,
141 int (*delete_chap) (struct Scsi_Host *shost, uint16_t chap_tbl_idx);
[all …]
Dscsi_transport_fc.h236 struct Scsi_Host *shost; /* Physical Port Parent */
628 void (*get_host_port_id)(struct Scsi_Host *);
629 void (*get_host_port_type)(struct Scsi_Host *);
630 void (*get_host_port_state)(struct Scsi_Host *);
631 void (*get_host_active_fc4s)(struct Scsi_Host *);
632 void (*get_host_speed)(struct Scsi_Host *);
633 void (*get_host_fabric_name)(struct Scsi_Host *);
634 void (*get_host_symbolic_name)(struct Scsi_Host *);
635 void (*set_host_system_hostname)(struct Scsi_Host *);
637 struct fc_host_statistics * (*get_fc_host_stats)(struct Scsi_Host *);
[all …]
Dscsi_transport.h25 int (*user_scan)(struct Scsi_Host *, uint, uint, u64);
45 void (* eh_strategy_handler)(struct Scsi_Host *);
73 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsi_transport_target_data()
81 struct Scsi_Host *shost = sdev->host; in scsi_transport_device_data()
86 void __scsi_init_queue(struct Scsi_Host *shost, struct request_queue *q);
Dlibiscsi.h27 struct Scsi_Host;
321 struct Scsi_Host *host;
374 extern int iscsi_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *sc);
383 extern int iscsi_host_set_param(struct Scsi_Host *shost,
386 extern int iscsi_host_get_param(struct Scsi_Host *shost,
388 extern int iscsi_host_add(struct Scsi_Host *shost, struct device *pdev);
389 extern struct Scsi_Host *iscsi_host_alloc(struct scsi_host_template *sht,
392 extern void iscsi_host_remove(struct Scsi_Host *shost);
393 extern void iscsi_host_free(struct Scsi_Host *shost);
400 iscsi_session_setup(struct iscsi_transport *, struct Scsi_Host *shost,
Dsas_ata.h27 void sas_ata_strategy_handler(struct Scsi_Host *shost);
28 void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q,
51 static inline void sas_ata_strategy_handler(struct Scsi_Host *shost) in sas_ata_strategy_handler()
55 static inline void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q, in sas_ata_eh()
Dscsi_eh.h10 struct Scsi_Host;
15 extern void scsi_report_bus_reset(struct Scsi_Host *, int);
16 extern void scsi_report_device_reset(struct Scsi_Host *, int, int);
/Linux-v5.4/drivers/scsi/
Dscsi_priv.h15 struct Scsi_Host;
33 int scsi_init_sense_cache(struct Scsi_Host *shost);
77 extern void scsi_eh_wakeup(struct Scsi_Host *shost);
79 void scsi_eh_ready_devs(struct Scsi_Host *shost,
93 extern void scsi_run_host_queues(struct Scsi_Host *shost);
97 extern int scsi_mq_setup_tags(struct Scsi_Host *shost);
98 extern void scsi_mq_destroy_tags(struct Scsi_Host *shost);
109 extern void scsi_proc_host_add(struct Scsi_Host *);
110 extern void scsi_proc_host_rm(struct Scsi_Host *);
125 extern int scsi_scan_host_selected(struct Scsi_Host *, unsigned int,
[all …]
DNCR5380.h208 struct Scsi_Host *host; /* SCSI host backpointer */
263 static void NCR5380_print_phase(struct Scsi_Host *instance);
264 static void NCR5380_print(struct Scsi_Host *instance);
270 static int NCR5380_init(struct Scsi_Host *instance, int flags);
271 static int NCR5380_maybe_reset_bus(struct Scsi_Host *);
272 static void NCR5380_exit(struct Scsi_Host *instance);
273 static void NCR5380_information_transfer(struct Scsi_Host *instance);
276 static const char *NCR5380_info(struct Scsi_Host *instance);
277 static void NCR5380_reselect(struct Scsi_Host *instance);
278 static bool NCR5380_select(struct Scsi_Host *, struct scsi_cmnd *);
[all …]
Dhosts.c73 int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state) in scsi_host_set_state()
163 void scsi_remove_host(struct Scsi_Host *shost) in scsi_remove_host()
207 int scsi_add_host_with_dma(struct Scsi_Host *shost, struct device *dev, in scsi_add_host_with_dma()
312 struct Scsi_Host *shost = dev_to_shost(dev); in scsi_host_dev_release()
368 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) in scsi_host_alloc()
370 struct Scsi_Host *shost; in scsi_host_alloc()
377 shost = kzalloc(sizeof(struct Scsi_Host) + privsize, gfp_mask); in scsi_host_alloc()
511 struct Scsi_Host *p; in __scsi_host_match()
529 struct Scsi_Host *scsi_host_lookup(unsigned short hostnum) in scsi_host_lookup()
532 struct Scsi_Host *shost = NULL; in scsi_host_lookup()
[all …]
Daha152x.c560 static void seldi_run(struct Scsi_Host *shpnt);
561 static void seldo_run(struct Scsi_Host *shpnt);
562 static void selto_run(struct Scsi_Host *shpnt);
563 static void busfree_run(struct Scsi_Host *shpnt);
565 static void msgo_init(struct Scsi_Host *shpnt);
566 static void msgo_run(struct Scsi_Host *shpnt);
567 static void msgo_end(struct Scsi_Host *shpnt);
569 static void cmd_init(struct Scsi_Host *shpnt);
570 static void cmd_run(struct Scsi_Host *shpnt);
571 static void cmd_end(struct Scsi_Host *shpnt);
[all …]
Dwd33c93.h194 typedef void (*dma_stop_t) (struct Scsi_Host *instance,
217 struct Scsi_Host *next;
333 void wd33c93_init (struct Scsi_Host *instance, const wd33c93_regs regs,
336 int wd33c93_queuecommand (struct Scsi_Host *h, struct scsi_cmnd *cmd);
337 void wd33c93_intr (struct Scsi_Host *instance);
338 int wd33c93_show_info(struct seq_file *, struct Scsi_Host *);
339 int wd33c93_write_info(struct Scsi_Host *, char *, int);
Dscsi_transport_fc.c27 static int fc_queue_work(struct Scsi_Host *, struct work_struct *);
29 static int fc_vport_setup(struct Scsi_Host *shost, int channel,
32 static int fc_bsg_hostadd(struct Scsi_Host *, struct fc_host_attrs *);
33 static int fc_bsg_rportadd(struct Scsi_Host *, struct fc_rport *);
378 struct Scsi_Host *shost = dev_to_shost(dev); in fc_host_setup()
459 struct Scsi_Host *shost = dev_to_shost(dev); in fc_host_remove()
527 fc_host_post_fc_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_fc_event()
600 fc_host_post_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_event()
622 fc_host_post_vendor_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_vendor_event()
640 fc_host_fpin_rcv(struct Scsi_Host *shost, u32 fpin_len, char *fpin_buf) in fc_host_fpin_rcv()
[all …]
Dmvme147.c22 struct Scsi_Host *instance = data; in mvme147_intr()
33 struct Scsi_Host *instance = cmd->device->host; in dma_setup()
62 static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, in dma_stop()
83 static struct Scsi_Host *mvme147_shost;
Dqlogicfas408.h86 struct Scsi_Host *shost; /* pointer back to host */
107 int qlogicfas408_queuecommand(struct Scsi_Host *h, struct scsi_cmnd * cmd);
113 const char *qlogicfas408_info(struct Scsi_Host *host);
/Linux-v5.4/drivers/scsi/arm/
Dfas216.h215 struct Scsi_Host *host; /* host */
302 …fasdmatype_t (*setup) (struct Scsi_Host *host, struct scsi_pointer *SCp, fasdmadir_t direction, fa…
303 …void (*pseudo)(struct Scsi_Host *host, struct scsi_pointer *SCp, fasdmadir_t direction, int trans…
304 void (*stop) (struct Scsi_Host *host, struct scsi_pointer *SCp);
318 extern int fas216_init (struct Scsi_Host *instance);
325 extern int fas216_add (struct Scsi_Host *instance, struct device *dev);
333 extern int fas216_queue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt);
341 extern int fas216_noqueue_command(struct Scsi_Host *, struct scsi_cmnd *);
349 extern void fas216_remove (struct Scsi_Host *instance);
356 extern void fas216_release (struct Scsi_Host *instance);
Dpowertec.c99 powertecscsi_terminator_ctl(struct Scsi_Host *host, int on_off) in powertecscsi_terminator_ctl()
128 powertecscsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in powertecscsi_dma_setup()
170 powertecscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in powertecscsi_dma_stop()
182 const char *powertecscsi_info(struct Scsi_Host *host) in powertecscsi_info()
202 powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) in powertecscsi_set_proc_info()
237 static int powertecscsi_show_info(struct seq_file *m, struct Scsi_Host *host) in powertecscsi_show_info()
256 struct Scsi_Host *host = ecard_get_drvdata(ec); in powertecscsi_show_term()
266 struct Scsi_Host *host = ecard_get_drvdata(ec); in powertecscsi_store_term()
300 struct Scsi_Host *host; in powertecscsi_probe()
399 struct Scsi_Host *host = ecard_get_drvdata(ec); in powertecscsi_remove()
Darxescsi.c67 arxescsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in arxescsi_dma_setup()
113 arxescsi_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in arxescsi_dma_pseudo()
199 static void arxescsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in arxescsi_dma_stop()
212 static const char *arxescsi_info(struct Scsi_Host *host) in arxescsi_info()
225 arxescsi_show_info(struct seq_file *m, struct Scsi_Host *host) in arxescsi_show_info()
255 struct Scsi_Host *host; in arxescsi_probe()
318 struct Scsi_Host *host = ecard_get_drvdata(ec); in arxescsi_remove()
Dcumana_2.c119 cumanascsi_2_terminator_ctl(struct Scsi_Host *host, int on_off) in cumanascsi_2_terminator_ctl()
154 cumanascsi_2_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in cumanascsi_2_dma_setup()
206 cumanascsi_2_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in cumanascsi_2_dma_pseudo()
280 cumanascsi_2_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in cumanascsi_2_dma_stop()
294 const char *cumanascsi_2_info(struct Scsi_Host *host) in cumanascsi_2_info()
314 cumanascsi_2_set_proc_info(struct Scsi_Host *host, char *buffer, int length) in cumanascsi_2_set_proc_info()
337 static int cumanascsi_2_show_info(struct seq_file *m, struct Scsi_Host *host) in cumanascsi_2_show_info()
373 struct Scsi_Host *host; in cumanascsi2_probe()
470 struct Scsi_Host *host = ecard_get_drvdata(ec); in cumanascsi2_remove()
/Linux-v5.4/drivers/scsi/arcmsr/
Darcmsr_attr.c70 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_sysfs_iop_message_read()
117 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_sysfs_iop_message_write()
165 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_sysfs_iop_message_clear()
222 struct Scsi_Host *host = acb->host; in arcmsr_alloc_sysfs_attr()
251 struct Scsi_Host *host = acb->host; in arcmsr_free_sysfs_attr()
272 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_driver_posted_cmd()
284 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_driver_reset()
296 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_driver_abort()
308 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_fw_model()
320 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_fw_version()
[all …]
/Linux-v5.4/drivers/scsi/bfa/
Dbfad_attr.c24 struct Scsi_Host *shost; in bfad_im_get_starget_port_id()
50 struct Scsi_Host *shost; in bfad_im_get_starget_node_name()
76 struct Scsi_Host *shost; in bfad_im_get_starget_port_name()
100 bfad_im_get_host_port_id(struct Scsi_Host *shost) in bfad_im_get_host_port_id()
114 bfad_im_get_host_port_type(struct Scsi_Host *shost) in bfad_im_get_host_port_type()
146 bfad_im_get_host_port_state(struct Scsi_Host *shost) in bfad_im_get_host_port_state()
183 bfad_im_get_host_active_fc4s(struct Scsi_Host *shost) in bfad_im_get_host_active_fc4s()
202 bfad_im_get_host_speed(struct Scsi_Host *shost) in bfad_im_get_host_speed()
239 bfad_im_get_host_fabric_name(struct Scsi_Host *shost) in bfad_im_get_host_fabric_name()
256 bfad_im_get_stats(struct Scsi_Host *shost) in bfad_im_get_stats()
[all …]
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_vport.h55 struct Scsi_Host *shost;
79 struct Scsi_Host *vport_shost;
91 int lpfc_vport_getinfo(struct Scsi_Host *, struct vport_info *);
92 int lpfc_vport_tgt_remove(struct Scsi_Host *, uint, uint);
Dlpfc_attr.c149 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_enable_fip_show()
163 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_nvme_info_show()
536 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_scsi_stat_show()
587 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_info_show()
607 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_guard_err_show()
619 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_apptag_err_show()
631 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_reftag_err_show()
651 struct Scsi_Host *host = class_to_shost(dev); in lpfc_info_show()
668 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_serialnum_show()
691 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_temp_sensor_show()
[all …]
/Linux-v5.4/drivers/scsi/pm8001/
Dpm8001_ctl.c57 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_mpi_interface_rev_show()
82 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_fw_version_show()
112 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_ila_version_show()
137 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_inactive_fw_version_show()
163 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_out_io_show()
186 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_devices_show()
212 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_sg_list_show()
257 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_sas_spec_support_show()
285 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_host_sas_address_show()
304 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_logging_level_show()
[all …]
/Linux-v5.4/drivers/target/
Dtarget_core_pscsi.h24 struct Scsi_Host;
46 struct Scsi_Host *pdv_lld_host;
57 struct Scsi_Host *phv_lld_host;

12345678910>>...14