Home
last modified time | relevance | path

Searched refs:dev_to_shost (Results 1 – 24 of 24) sorted by relevance

/linux/include/scsi/
H A Dscsi_transport.h49 dev_to_shost((tc)->parent)
73 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsi_transport_target_data()
H A Dscsi_transport_sas.h93 dev_to_shost((phy)->dev.parent)
109 dev_to_shost((rphy)->dev.parent)
H A Dscsi_host.h781 static inline struct Scsi_Host *dev_to_shost(struct device *dev) in dev_to_shost() function
/linux/drivers/scsi/libsas/
H A Dsas_init.c183 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_get_linkerrors()
232 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in transport_sas_phy_reset()
266 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_phy_enable()
303 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_phy_reset()
339 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()
H A Dsas_scsi_host.c781 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent); in sas_find_dev_by_rphy()
/linux/drivers/scsi/qedf/
H A Dqedf_attr.c111 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/
H A Dscsi_transport_spi.c173 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()
1412 shost = dev_to_shost(dev->parent); in spi_target_match()
H A Dscsi.c864 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in starget_for_each_device()
892 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in __starget_for_each_device()
947 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_device_lookup_by_target()
H A Desp_scsi.c2428 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 Dscsi_transport_fc.c390 struct Scsi_Host *shost = dev_to_shost(dev); in fc_host_setup()
461 struct Scsi_Host *shost = dev_to_shost(dev); in fc_host_remove()
1455 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \
2454 shost = dev_to_shost(dev); in fc_host_match()
2473 shost = dev_to_shost(dev->parent); in fc_target_match()
2505 shost = dev_to_shost(dev->parent); in fc_rport_match()
H A D53c700.c1978 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_period()
1997 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_offset()
H A Dscsi_transport_iscsi.c1562 struct Scsi_Host *shost = dev_to_shost(dev); in iscsi_setup_host()
1577 struct Scsi_Host *shost = dev_to_shost(dev); in iscsi_remove_host()
4828 shost = dev_to_shost(dev); in iscsi_host_match()
H A Dipr.c4689 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in ipr_find_starget()
4710 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in ipr_target_destroy()
/linux/drivers/scsi/aic7xxx/
H A Daic79xx_osm.c600 *((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 Daic7xxx_osm.c547 *((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 Dsnic_disc.h97 dev_to_shost(t->dev.parent)
H A Dsnic_disc.c153 struct Scsi_Host *shost = dev_to_shost(&tgt->dev); in snic_scsi_scan_tgt()
/linux/drivers/scsi/qla4xxx/
H A Dql4_attr.c16 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/message/fusion/
H A Dmptspi.c399 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()
854 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in mptspi_write_spi_device_pg1()
1064 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in MPTSPI_SIMPLE_TRANSPORT_PARM()
1196 (struct _MPT_SCSI_HOST *)dev_to_shost(starget->dev.parent)->hostdata; in mptspi_deny_binding()
H A Dmptsas.c391 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in phy_to_ioc()
397 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent->parent); in rphy_to_ioc()
1744 struct Scsi_Host *host = dev_to_shost(&starget->dev); in mptsas_target_alloc()
1822 struct Scsi_Host *host = dev_to_shost(&starget->dev); in mptsas_target_destroy()
/linux/drivers/scsi/bfa/
H A Dbfad_attr.c31 shost = dev_to_shost(starget->dev.parent); in bfad_im_get_starget_port_id()
57 shost = dev_to_shost(starget->dev.parent); in bfad_im_get_starget_node_name()
83 shost = dev_to_shost(starget->dev.parent); in bfad_im_get_starget_port_name()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c1219 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in phy_to_ioc()
1226 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent->parent); in rphy_to_ioc()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c2514 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in phy_to_mrioc()
2521 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent->parent); in rphy_to_mrioc()
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c2968 struct Scsi_Host *shost = dev_to_shost(&sdev->sdev_gendev); in sdev_configure_v3_hw()
2992 struct Scsi_Host *shost = dev_to_shost(&sdev->sdev_gendev); in hisi_sas_sdev_destroy()