/linux/include/scsi/ |
H A D | scsi_transport.h | 49 dev_to_shost((tc)->parent) 73 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsi_transport_target_data()
|
H A D | scsi_transport_iscsi.h | 288 dev_to_shost(_session->dev.parent) 301 dev_to_shost(_job->dev) 325 dev_to_shost(_iface->dev.parent) 431 dev_to_shost(_session->dev.parent)
|
H A D | scsi_transport_sas.h | 93 dev_to_shost((phy)->dev.parent) 109 dev_to_shost((rphy)->dev.parent)
|
H A D | scsi_transport_fc.h | 399 dev_to_shost(r->dev.parent) 867 return dev_to_shost(job->dev); in fc_bsg_to_shost()
|
H A D | scsi_host.h | 746 static inline struct Scsi_Host *dev_to_shost(struct device *dev) in dev_to_shost() function
|
/linux/drivers/scsi/libsas/ |
H A D | sas_init.c | 182 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_get_linkerrors() 231 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in transport_sas_phy_reset() 265 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_phy_enable() 302 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_phy_reset() 338 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_set_phy_speed() 523 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in queue_phy_reset() 552 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in queue_phy_enable()
|
/linux/drivers/scsi/ |
H A D | scsi_scan.c | 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() 1729 struct Scsi_Host *shost = dev_to_shost(parent); in __scsi_scan_target() 1800 struct Scsi_Host *shost = dev_to_shost(parent); in scsi_scan_target()
|
H A D | scsi_transport_spi.c | 173 struct Scsi_Host *shost = dev_to_shost(dev); in spi_host_setup() 198 shost = dev_to_shost(dev); in spi_host_match() 306 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \ 323 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \ 341 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \ 485 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in show_spi_transport_period() 501 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in store_spi_transport_period() 529 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in show_spi_transport_min_period() 1411 shost = dev_to_shost(dev->parent); in spi_target_match()
|
H A D | scsi_transport_srp.c | 48 return dev_to_shost(r->dev.parent); in rport_to_shost() 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() 640 shost = dev_to_shost(dev->parent); in srp_rport_match() 658 shost = dev_to_shost(dev); in srp_host_match()
|
H A D | scsi.c | 835 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in starget_for_each_device() 863 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in __starget_for_each_device() 918 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_device_lookup_by_target()
|
H A D | esp_scsi.c | 2428 struct esp *esp = shost_priv(dev_to_shost(&starget->dev)); in esp_target_alloc() 2438 struct esp *esp = shost_priv(dev_to_shost(&starget->dev)); in esp_target_destroy() 2700 struct Scsi_Host *host = dev_to_shost(target->dev.parent); in esp_set_offset() 2713 struct Scsi_Host *host = dev_to_shost(target->dev.parent); in esp_set_period() 2723 struct Scsi_Host *host = dev_to_shost(target->dev.parent); in esp_set_width()
|
H A D | hosts.c | 340 struct Scsi_Host *shost = dev_to_shost(dev); in scsi_host_dev_release()
|
H A D | scsi_transport_fc.c | 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() 1415 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \ 2414 shost = dev_to_shost(dev); in fc_host_match() 2433 shost = dev_to_shost(dev->parent); in fc_target_match() 2465 shost = dev_to_shost(dev->parent); in fc_rport_match()
|
/linux/drivers/scsi/qedf/ |
H A D | qedf_attr.c | 111 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_read_grcdump() 139 lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_write_grcdump()
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_attr.c | 23 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_fw_dump() 64 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_fw_dump() 186 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_nvram() 226 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_nvram() 300 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_optrom() 324 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_optrom() 362 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_optrom_ctl() 546 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_vpd() 593 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_vpd() 660 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_sfp() [all …]
|
/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx_osm.c | 600 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); in DEF_SCSI_QCMD() 614 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); in ahd_linux_target_alloc() 2369 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_width() 2383 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_period() 2436 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_offset() 2471 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_dt() 2513 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_qas() 2552 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_iu() 2592 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_rd_strm() 2628 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_wr_flow() [all …]
|
H A D | aic7xxx_osm.c | 547 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); in DEF_SCSI_QCMD() 561 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); in ahc_linux_target_alloc() 2326 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_width() 2340 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_period() 2385 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_offset() 2414 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_dt() 2453 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); 2482 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
|
/linux/drivers/scsi/snic/ |
H A D | snic_disc.h | 97 dev_to_shost(t->dev.parent)
|
H A D | snic_disc.c | 153 struct Scsi_Host *shost = dev_to_shost(&tgt->dev); in snic_scsi_scan_tgt()
|
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_attr.c | 16 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, in qla4_8xxx_sysfs_read_fw_dump() 34 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, in qla4_8xxx_sysfs_write_fw_dump()
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 625 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym53c8xx_eh_target_reset_handler() 1935 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_offset() 1945 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_period() 1960 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_width() 1975 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_dt() 1990 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); 2003 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
|
/linux/drivers/message/fusion/ |
H A D | mptspi.c | 399 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in mptspi_target_alloc() 516 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in mptspi_read_spi_device_pg0() 853 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in mptspi_write_spi_device_pg1() 1063 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in MPTSPI_SIMPLE_TRANSPORT_PARM() 1195 (struct _MPT_SCSI_HOST *)dev_to_shost(starget->dev.parent)->hostdata; in mptspi_deny_binding()
|
/linux/drivers/ufs/core/ |
H A D | ufs_bsg.c | 136 struct ufs_hba *hba = shost_priv(dev_to_shost(job->dev->parent)); in ufs_bsg_request()
|
/linux/drivers/usb/storage/ |
H A D | scsiglue.c | 333 struct us_data *us = host_to_us(dev_to_shost(starget->dev.parent)); in target_alloc()
|
/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_os.c | 1010 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in mpi3mr_change_queue_depth() 4489 shost = dev_to_shost(&starget->dev); in mpi3mr_slave_destroy() 4533 shost = dev_to_shost(&starget->dev); in mpi3mr_target_destroy() 4576 shost = dev_to_shost(&starget->dev); in mpi3mr_device_configure() 4622 shost = dev_to_shost(&starget->dev); in mpi3mr_slave_alloc() 4671 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in mpi3mr_target_alloc()
|