/linux/include/scsi/ |
H A D | scsi_host.h | 20 struct Scsi_Host; 87 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *); 97 void (*commit_rqs)(struct Scsi_Host *, u16); 109 const char *(*info)(struct Scsi_Host *); 131 int (*init_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd); 132 int (*exit_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd); 268 int (* scan_finished)(struct Scsi_Host *, unsigned long); 277 void (* scan_start)(struct Scsi_Host *); 298 void (* map_queues)(struct Scsi_Host *shost); 308 int (* mq_poll)(struct Scsi_Host *shost, unsigned int queue_num); [all …]
|
H A D | scsi_transport_iscsi.h | 21 struct Scsi_Host; 100 int (*get_host_param) (struct Scsi_Host *shost, 102 int (*set_host_param) (struct Scsi_Host *shost, 122 struct iscsi_endpoint *(*ep_connect) (struct Scsi_Host *shost, 127 int (*tgt_dscvr) (struct Scsi_Host *shost, enum iscsi_tgt_dscvr type, 129 int (*set_path) (struct Scsi_Host *shost, struct iscsi_path *params); 130 int (*set_iface_param) (struct Scsi_Host *shost, void *data, 137 int (*send_ping) (struct Scsi_Host *shost, uint32_t iface_num, 140 int (*get_chap) (struct Scsi_Host *shost, uint16_t chap_tbl_idx, 142 int (*delete_chap) (struct Scsi_Host *shost, uint16_t chap_tbl_idx); [all …]
|
H A D | scsi_transport_fc.h | 238 struct Scsi_Host *shost; /* Physical Port Parent */ 683 void (*get_host_port_id)(struct Scsi_Host *); 684 void (*get_host_port_type)(struct Scsi_Host *); 685 void (*get_host_port_state)(struct Scsi_Host *); 686 void (*get_host_active_fc4s)(struct Scsi_Host *); 687 void (*get_host_speed)(struct Scsi_Host *); 688 void (*get_host_fabric_name)(struct Scsi_Host *); 689 void (*get_host_symbolic_name)(struct Scsi_Host *); 690 void (*set_host_system_hostname)(struct Scsi_Host *); 692 struct fc_host_statistics * (*get_fc_host_stats)(struct Scsi_Host *); [all …]
|
H A D | scsi_transport.h | 25 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_limits(struct Scsi_Host *shost, struct queue_limits *lim);
|
H A D | libiscsi.h | 28 struct Scsi_Host; 343 struct Scsi_Host *host; 395 extern int iscsi_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *sc); 404 extern int iscsi_host_set_param(struct Scsi_Host *shost, 407 extern int iscsi_host_get_param(struct Scsi_Host *shost, 409 extern int iscsi_host_add(struct Scsi_Host *shost, struct device *pdev); 410 extern struct Scsi_Host *iscsi_host_alloc(const struct scsi_host_template *sht, 413 extern void iscsi_host_remove(struct Scsi_Host *shost, bool is_shutdown); 414 extern void iscsi_host_free(struct Scsi_Host *shost); 416 extern int iscsi_host_get_max_scsi_cmds(struct Scsi_Host *shost, [all …]
|
H A D | sas_ata.h | 27 void sas_ata_strategy_handler(struct Scsi_Host *shost); 28 void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q); 64 static inline void sas_ata_strategy_handler(struct Scsi_Host *shost) in sas_ata_strategy_handler() 68 static inline void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q) in sas_ata_eh()
|
H A D | scsi_eh.h | 10 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/drivers/scsi/ |
H A D | scsi_priv.h | 16 struct Scsi_Host; 51 int scsi_init_sense_cache(struct Scsi_Host *shost); 95 extern void scsi_eh_wakeup(struct Scsi_Host *shost, unsigned int busy); 97 void scsi_eh_ready_devs(struct Scsi_Host *shost, 109 extern void scsi_run_host_queues(struct Scsi_Host *shost); 112 extern int scsi_mq_setup_tags(struct Scsi_Host *shost); 121 extern void scsi_proc_host_add(struct Scsi_Host *); 122 extern void scsi_proc_host_rm(struct Scsi_Host *); 137 extern int scsi_scan_host_selected(struct Scsi_Host *, unsigned int, 139 extern void scsi_forget_host(struct Scsi_Host *); [all …]
|
H A D | NCR5380.h | 208 struct Scsi_Host *host; /* SCSI host backpointer */ 271 static void NCR5380_print_phase(struct Scsi_Host *instance); 272 static void NCR5380_print(struct Scsi_Host *instance); 278 static int NCR5380_init(struct Scsi_Host *instance, int flags); 279 static int NCR5380_maybe_reset_bus(struct Scsi_Host *); 280 static void NCR5380_exit(struct Scsi_Host *instance); 281 static void NCR5380_information_transfer(struct Scsi_Host *instance); 284 static const char *NCR5380_info(struct Scsi_Host *instance); 285 static void NCR5380_reselect(struct Scsi_Host *instance); 286 static bool NCR5380_select(struct Scsi_Host *, struct scsi_cmnd *); [all …]
|
H A D | hosts.c | 75 int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state) in scsi_host_set_state() 165 void scsi_remove_host(struct Scsi_Host *shost) in scsi_remove_host() 219 int scsi_add_host_with_dma(struct Scsi_Host *shost, struct device *dev, in scsi_add_host_with_dma() 340 struct Scsi_Host *shost = dev_to_shost(dev); in scsi_host_dev_release() 392 struct Scsi_Host *scsi_host_alloc(const struct scsi_host_template *sht, int privsize) in scsi_host_alloc() 394 struct Scsi_Host *shost; in scsi_host_alloc() 397 shost = kzalloc(sizeof(struct Scsi_Host) + privsize, GFP_KERNEL); in scsi_host_alloc() 545 struct Scsi_Host *p; in __scsi_host_match() 563 struct Scsi_Host *scsi_host_lookup(unsigned int hostnum) in scsi_host_lookup() 566 struct Scsi_Host *shost = NULL; in scsi_host_lookup() [all …]
|
H A D | wd33c93.h | 189 typedef void (*dma_stop_t) (struct Scsi_Host *instance, 212 struct Scsi_Host *next; 332 void wd33c93_init (struct Scsi_Host *instance, const wd33c93_regs regs, 335 int wd33c93_queuecommand (struct Scsi_Host *h, struct scsi_cmnd *cmd); 336 void wd33c93_intr (struct Scsi_Host *instance); 337 int wd33c93_show_info(struct seq_file *, struct Scsi_Host *); 338 int wd33c93_write_info(struct Scsi_Host *, char *, int);
|
H A D | scsi_transport_fc.c | 28 static int fc_queue_work(struct Scsi_Host *, struct work_struct *); 30 static int fc_vport_setup(struct Scsi_Host *shost, int channel, 33 static int fc_bsg_hostadd(struct Scsi_Host *, struct fc_host_attrs *); 34 static int fc_bsg_rportadd(struct Scsi_Host *, struct fc_rport *); 389 struct Scsi_Host *shost = dev_to_shost(dev); in fc_host_setup() 466 struct Scsi_Host *shost = dev_to_shost(dev); in fc_host_remove() 534 fc_host_post_fc_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_fc_event() 609 fc_host_post_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_event() 631 fc_host_post_vendor_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_vendor_event() 648 fc_find_rport_by_wwpn(struct Scsi_Host *shost, u64 wwpn) in fc_find_rport_by_wwpn() [all …]
|
H A D | scsi_transport_srp.c | 46 static inline struct Scsi_Host *rport_to_shost(struct srp_rport *r) in rport_to_shost() 62 static inline struct srp_rport *shost_to_rport(struct Scsi_Host *shost) in shost_to_rport() 107 struct Scsi_Host *shost = dev_to_shost(dev); in srp_host_setup() 161 struct Scsi_Host *shost = dev_to_shost(dev); in store_srp_rport_delete() 382 struct Scsi_Host *shost = rport_to_shost(rport); in srp_reconnect_work() 404 struct Scsi_Host *shost = rport_to_shost(rport); in __rport_fail_io_fast() 428 struct Scsi_Host *shost = rport_to_shost(rport); in rport_fast_io_fail_timedout() 447 struct Scsi_Host *shost = rport_to_shost(rport); in rport_dev_loss_timedout() 463 struct Scsi_Host *shost = rport_to_shost(rport); in __srp_start_tl_fail_timers() 534 struct Scsi_Host *shost = rport_to_shost(rport); in srp_reconnect_rport() [all …]
|
H A D | NCR5380.c | 134 static int do_abort(struct Scsi_Host *, unsigned int); 135 static void do_reset(struct Scsi_Host *); 136 static void bus_reset_cleanup(struct Scsi_Host *); 292 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() 341 static void NCR5380_print_phase(struct Scsi_Host *instance) in NCR5380_print_phase() 366 static const char *NCR5380_info(struct Scsi_Host *instance) in NCR5380_info() 387 static int NCR5380_init(struct Scsi_Host *instance, int flags) in NCR5380_init() 468 static int NCR5380_maybe_reset_bus(struct Scsi_Host *instance) in NCR5380_maybe_reset_bus() 513 static void NCR5380_exit(struct Scsi_Host *instance) in NCR5380_exit() 527 static void complete_cmd(struct Scsi_Host *instance, in complete_cmd() [all …]
|
H A D | scsi_scan.c | 121 struct Scsi_Host *shost; 285 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_alloc_sdev() 392 struct Scsi_Host *shost = dev_to_shost(dev->parent); in scsi_target_destroy() 430 struct Scsi_Host *shost = dev_to_shost(parent); in __scsi_find_target() 494 struct Scsi_Host *shost = dev_to_shost(parent); in scsi_alloc_target() 1185 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_probe_and_add_lun() 1333 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_sequential_lun_scan() 1429 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsi_report_lun_scan() 1602 struct scsi_device *__scsi_add_device(struct Scsi_Host *shost, uint channel, in __scsi_add_device() 1639 int scsi_add_device(struct Scsi_Host *host, uint channel, in scsi_add_device() [all …]
|
/linux/drivers/scsi/arm/ |
H A D | fas216.h | 215 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); 332 extern int fas216_init (struct Scsi_Host *instance); 339 extern int fas216_add (struct Scsi_Host *instance, struct device *dev); 347 extern int fas216_queue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt); 355 extern int fas216_noqueue_command(struct Scsi_Host *, struct scsi_cmnd *); 363 extern void fas216_remove (struct Scsi_Host *instance); 370 extern void fas216_release (struct Scsi_Host *instance);
|
H A D | powertec.c | 103 powertecscsi_terminator_ctl(struct Scsi_Host *host, int on_off) in powertecscsi_terminator_ctl() 132 powertecscsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in powertecscsi_dma_setup() 175 powertecscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in powertecscsi_dma_stop() 187 static const char *powertecscsi_info(struct Scsi_Host *host) in powertecscsi_info() 207 powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) in powertecscsi_set_proc_info() 242 static int powertecscsi_show_info(struct seq_file *m, struct Scsi_Host *host) in powertecscsi_show_info() 261 struct Scsi_Host *host = ecard_get_drvdata(ec); in powertecscsi_show_term() 271 struct Scsi_Host *host = ecard_get_drvdata(ec); in powertecscsi_store_term() 305 struct Scsi_Host *host; in powertecscsi_probe() 404 struct Scsi_Host *host = ecard_get_drvdata(ec); in powertecscsi_remove()
|
H A D | arxescsi.c | 71 arxescsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in arxescsi_dma_setup() 117 arxescsi_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in arxescsi_dma_pseudo() 203 static void arxescsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in arxescsi_dma_stop() 216 static const char *arxescsi_info(struct Scsi_Host *host) in arxescsi_info() 229 arxescsi_show_info(struct seq_file *m, struct Scsi_Host *host) in arxescsi_show_info() 260 struct Scsi_Host *host; in arxescsi_probe() 323 struct Scsi_Host *host = ecard_get_drvdata(ec); in arxescsi_remove()
|
H A D | cumana_2.c | 123 cumanascsi_2_terminator_ctl(struct Scsi_Host *host, int on_off) in cumanascsi_2_terminator_ctl() 158 cumanascsi_2_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in cumanascsi_2_dma_setup() 211 cumanascsi_2_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in cumanascsi_2_dma_pseudo() 285 cumanascsi_2_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in cumanascsi_2_dma_stop() 299 static const char *cumanascsi_2_info(struct Scsi_Host *host) in cumanascsi_2_info() 319 cumanascsi_2_set_proc_info(struct Scsi_Host *host, char *buffer, int length) in cumanascsi_2_set_proc_info() 344 static int cumanascsi_2_show_info(struct seq_file *m, struct Scsi_Host *host) in cumanascsi_2_show_info() 381 struct Scsi_Host *host; in cumanascsi2_probe() 478 struct Scsi_Host *host = ecard_get_drvdata(ec); in cumanascsi2_remove()
|
H A D | eesox.c | 122 eesoxscsi_terminator_ctl(struct Scsi_Host *host, int on_off) in eesoxscsi_terminator_ctl() 159 eesoxscsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in eesoxscsi_dma_setup() 355 eesoxscsi_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in eesoxscsi_dma_pseudo() 372 eesoxscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in eesoxscsi_dma_stop() 384 static const char *eesoxscsi_info(struct Scsi_Host *host) in eesoxscsi_info() 404 eesoxscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) in eesoxscsi_set_proc_info() 427 static int eesoxscsi_show_info(struct seq_file *m, struct Scsi_Host *host) in eesoxscsi_show_info() 446 struct Scsi_Host *host = ecard_get_drvdata(ec); in eesoxscsi_show_term() 455 struct Scsi_Host *host = ecard_get_drvdata(ec); in eesoxscsi_store_term() 497 struct Scsi_Host *host; in eesoxscsi_probe() [all …]
|
/linux/drivers/scsi/arcmsr/ |
H A D | arcmsr_attr.c | 68 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_sysfs_iop_message_read() 115 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_sysfs_iop_message_write() 163 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_sysfs_iop_message_clear() 220 struct Scsi_Host *host = acb->host; in arcmsr_alloc_sysfs_attr() 249 struct Scsi_Host *host = acb->host; in arcmsr_free_sysfs_attr() 270 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_driver_posted_cmd() 282 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_driver_reset() 294 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_driver_abort() 306 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_fw_model() 318 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_fw_version() [all …]
|
/linux/drivers/scsi/pm8001/ |
H A D | pm8001_ctl.c | 59 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_mpi_interface_rev_show() 85 struct Scsi_Host *shost = class_to_shost(cdev); in controller_fatal_error_show() 105 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_fw_version_show() 136 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_ila_version_show() 162 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_inactive_fw_version_show() 189 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_out_io_show() 213 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_devices_show() 238 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_sg_list_show() 282 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_sas_spec_support_show() 311 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_host_sas_address_show() [all …]
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_vport.h | 55 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);
|
H A D | lpfc_attr.c | 121 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_cmf_info_show() 321 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_enable_fip_show() 335 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_nvme_info_show() 707 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_scsi_stat_show() 758 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_info_show() 778 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_guard_err_show() 790 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_apptag_err_show() 802 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_reftag_err_show() 822 struct Scsi_Host *host = class_to_shost(dev); in lpfc_info_show() 839 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_serialnum_show() [all …]
|
/linux/drivers/target/ |
H A D | target_core_pscsi.h | 24 struct Scsi_Host; 42 struct Scsi_Host *pdv_lld_host; 53 struct Scsi_Host *phv_lld_host;
|