| /OK3568_Linux_fs/kernel/include/scsi/ |
| H A D | scsi_host.h | 22 struct Scsi_Host; 44 const char *(* info)(struct Scsi_Host *); 66 int (*init_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd); 67 int (*exit_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd); 103 int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *); 113 void (*commit_rqs)(struct Scsi_Host *, u16); 242 int (* scan_finished)(struct Scsi_Host *, unsigned long); 251 void (* scan_start)(struct Scsi_Host *); 272 int (* map_queues)(struct Scsi_Host *shost); 307 int (*show_info)(struct seq_file *, struct Scsi_Host *); [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 | 237 struct Scsi_Host *shost; /* Physical Port Parent */ 629 void (*get_host_port_id)(struct Scsi_Host *); 630 void (*get_host_port_type)(struct Scsi_Host *); 631 void (*get_host_port_state)(struct Scsi_Host *); 632 void (*get_host_active_fc4s)(struct Scsi_Host *); 633 void (*get_host_speed)(struct Scsi_Host *); 634 void (*get_host_fabric_name)(struct Scsi_Host *); 635 void (*get_host_symbolic_name)(struct Scsi_Host *); 636 void (*set_host_system_hostname)(struct Scsi_Host *); 638 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_queue(struct Scsi_Host *shost, struct request_queue *q);
|
| H A D | libiscsi.h | 27 struct Scsi_Host; 323 struct Scsi_Host *host; 376 extern int iscsi_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *sc); 385 extern int iscsi_host_set_param(struct Scsi_Host *shost, 388 extern int iscsi_host_get_param(struct Scsi_Host *shost, 390 extern int iscsi_host_add(struct Scsi_Host *shost, struct device *pdev); 391 extern struct Scsi_Host *iscsi_host_alloc(struct scsi_host_template *sht, 394 extern void iscsi_host_remove(struct Scsi_Host *shost); 395 extern void iscsi_host_free(struct Scsi_Host *shost); 402 iscsi_session_setup(struct iscsi_transport *, struct Scsi_Host *shost,
|
| 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, 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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | scsi_priv.h | 15 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, 91 extern void scsi_run_host_queues(struct Scsi_Host *shost); 95 extern int scsi_mq_setup_tags(struct Scsi_Host *shost); 96 extern void scsi_mq_destroy_tags(struct Scsi_Host *shost); 106 extern void scsi_proc_host_add(struct Scsi_Host *); 107 extern void scsi_proc_host_rm(struct Scsi_Host *); 122 extern int scsi_scan_host_selected(struct Scsi_Host *, unsigned int, [all …]
|
| H A D | NCR5380.h | 208 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 …]
|
| H A D | aha152x.c | 560 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 …]
|
| H A D | hosts.c | 74 int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state) in scsi_host_set_state() 164 void scsi_remove_host(struct Scsi_Host *shost) in scsi_remove_host() 208 int scsi_add_host_with_dma(struct Scsi_Host *shost, struct device *dev, in scsi_add_host_with_dma() 321 struct Scsi_Host *shost = dev_to_shost(dev); in scsi_host_dev_release() 377 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) in scsi_host_alloc() 379 struct Scsi_Host *shost; in scsi_host_alloc() 386 shost = kzalloc(sizeof(struct Scsi_Host) + privsize, gfp_mask); in scsi_host_alloc() 525 struct Scsi_Host *p; in __scsi_host_match() 543 struct Scsi_Host *scsi_host_lookup(unsigned short hostnum) in scsi_host_lookup() 546 struct Scsi_Host *shost = NULL; in scsi_host_lookup() [all …]
|
| H A D | wd33c93.h | 194 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);
|
| H A D | scsi_transport_fc.c | 27 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 *); 379 struct Scsi_Host *shost = dev_to_shost(dev); in fc_host_setup() 460 struct Scsi_Host *shost = dev_to_shost(dev); in fc_host_remove() 528 fc_host_post_fc_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_fc_event() 601 fc_host_post_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_event() 623 fc_host_post_vendor_event(struct Scsi_Host *shost, u32 event_number, in fc_host_post_vendor_event() 641 fc_host_fpin_rcv(struct Scsi_Host *shost, u32 fpin_len, char *fpin_buf) in fc_host_fpin_rcv() [all …]
|
| H A D | NCR5380.c | 135 static int do_abort(struct Scsi_Host *); 136 static void do_reset(struct Scsi_Host *); 137 static void bus_reset_cleanup(struct Scsi_Host *); 297 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() 346 static void NCR5380_print_phase(struct Scsi_Host *instance) in NCR5380_print_phase() 371 static const char *NCR5380_info(struct Scsi_Host *instance) in NCR5380_info() 392 static int NCR5380_init(struct Scsi_Host *instance, int flags) in NCR5380_init() 473 static int NCR5380_maybe_reset_bus(struct Scsi_Host *instance) in NCR5380_maybe_reset_bus() 518 static void NCR5380_exit(struct Scsi_Host *instance) in NCR5380_exit() 532 static void complete_cmd(struct Scsi_Host *instance, in complete_cmd() [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 | scsi_scan.c | 121 struct Scsi_Host *shost; 220 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_alloc_sdev() 310 struct Scsi_Host *shost = dev_to_shost(dev->parent); in scsi_target_destroy() 348 struct Scsi_Host *shost = dev_to_shost(parent); in __scsi_find_target() 412 struct Scsi_Host *shost = dev_to_shost(parent); in scsi_alloc_target() 1053 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_probe_and_add_lun() 1203 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_sequential_lun_scan() 1301 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsi_report_lun_scan() 1460 struct scsi_device *__scsi_add_device(struct Scsi_Host *shost, uint channel, in __scsi_add_device() 1496 int scsi_add_device(struct Scsi_Host *host, uint channel, in scsi_add_device() [all …]
|
| /OK3568_Linux_fs/kernel/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); 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);
|
| H A D | powertec.c | 99 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() 171 powertecscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in powertecscsi_dma_stop() 183 const char *powertecscsi_info(struct Scsi_Host *host) in powertecscsi_info() 203 powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) in powertecscsi_set_proc_info() 238 static int powertecscsi_show_info(struct seq_file *m, struct Scsi_Host *host) in powertecscsi_show_info() 257 struct Scsi_Host *host = ecard_get_drvdata(ec); in powertecscsi_show_term() 267 struct Scsi_Host *host = ecard_get_drvdata(ec); in powertecscsi_store_term() 301 struct Scsi_Host *host; in powertecscsi_probe() 400 struct Scsi_Host *host = ecard_get_drvdata(ec); in powertecscsi_remove()
|
| H A D | arxescsi.c | 67 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()
|
| H A D | cumana_2.c | 119 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() 207 cumanascsi_2_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in cumanascsi_2_dma_pseudo() 281 cumanascsi_2_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in cumanascsi_2_dma_stop() 295 const char *cumanascsi_2_info(struct Scsi_Host *host) in cumanascsi_2_info() 315 cumanascsi_2_set_proc_info(struct Scsi_Host *host, char *buffer, int length) in cumanascsi_2_set_proc_info() 340 static int cumanascsi_2_show_info(struct seq_file *m, struct Scsi_Host *host) in cumanascsi_2_show_info() 376 struct Scsi_Host *host; in cumanascsi2_probe() 473 struct Scsi_Host *host = ecard_get_drvdata(ec); in cumanascsi2_remove()
|
| H A D | eesox.c | 118 eesoxscsi_terminator_ctl(struct Scsi_Host *host, int on_off) in eesoxscsi_terminator_ctl() 155 eesoxscsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, in eesoxscsi_dma_setup() 351 eesoxscsi_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, in eesoxscsi_dma_pseudo() 368 eesoxscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) in eesoxscsi_dma_stop() 380 const char *eesoxscsi_info(struct Scsi_Host *host) in eesoxscsi_info() 400 eesoxscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) in eesoxscsi_set_proc_info() 423 static int eesoxscsi_show_info(struct seq_file *m, struct Scsi_Host *host) in eesoxscsi_show_info() 442 struct Scsi_Host *host = ecard_get_drvdata(ec); in eesoxscsi_show_term() 451 struct Scsi_Host *host = ecard_get_drvdata(ec); in eesoxscsi_store_term() 492 struct Scsi_Host *host; in eesoxscsi_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/arcmsr/ |
| H A D | arcmsr_attr.c | 70 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/bfa/ |
| H A D | bfad_attr.c | 24 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/pm8001/ |
| H A D | pm8001_ctl.c | 58 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_mpi_interface_rev_show() 84 struct Scsi_Host *shost = class_to_shost(cdev); in controller_fatal_error_show() 104 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_fw_version_show() 135 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_ila_version_show() 161 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_inactive_fw_version_show() 188 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_out_io_show() 212 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_devices_show() 239 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_sg_list_show() 285 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_sas_spec_support_show() 314 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_host_sas_address_show() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/lpfc/ |
| H A D | lpfc_attr.c | 146 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_enable_fip_show() 160 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_nvme_info_show() 533 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_scsi_stat_show() 584 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_info_show() 604 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_guard_err_show() 616 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_apptag_err_show() 628 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_reftag_err_show() 648 struct Scsi_Host *host = class_to_shost(dev); in lpfc_info_show() 665 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_serialnum_show() 688 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_temp_sensor_show() [all …]
|
| 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);
|