Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/scsi/
A Dscsi_transport_sas.c174 struct Scsi_Host *shost = dev_to_shost(job->dev); in sas_smp_dispatch()
226 struct Scsi_Host *shost = dev_to_shost(dev); in sas_host_setup()
251 struct Scsi_Host *shost = dev_to_shost(dev); in sas_host_remove()
269 shost = dev_to_shost(dev); in sas_host_match()
649 shost = dev_to_shost(dev->parent); in sas_phy_match()
687 struct Scsi_Host *shost = dev_to_shost(parent); in sas_phy_alloc()
820 shost = dev_to_shost(dev->parent); in sas_port_match()
881 struct Scsi_Host *shost = dev_to_shost(parent); in sas_port_alloc()
1340 shost = dev_to_shost(dev->parent->parent); in sas_rphy_match()
1361 shost = dev_to_shost(dev->parent->parent); in sas_end_dev_match()
[all …]
A Dscsi_scan.c285 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()
1159 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_probe_and_add_lun()
1307 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_sequential_lun_scan()
1405 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsi_report_lun_scan()
1642 struct Scsi_Host *shost = dev_to_shost(parent); in __scsi_scan_target()
1713 struct Scsi_Host *shost = dev_to_shost(parent); in scsi_scan_target()
A Dscsi_transport_spi.c172 struct Scsi_Host *shost = dev_to_shost(dev); in spi_host_setup()
197 shost = dev_to_shost(dev); in spi_host_match()
305 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \
322 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \
340 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \
484 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in show_spi_transport_period()
500 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in store_spi_transport_period()
528 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in show_spi_transport_min_period()
1410 shost = dev_to_shost(dev->parent); in spi_target_match()
A Dscsi_transport_srp.c48 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()
A Dscsi.c636 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in starget_for_each_device()
664 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in __starget_for_each_device()
719 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_device_lookup_by_target()
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()
A Dhosts.c341 struct Scsi_Host *shost = dev_to_shost(dev); in scsi_host_dev_release()
/linux-6.3-rc2/include/scsi/
A Dscsi_transport.h49 dev_to_shost((tc)->parent)
73 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsi_transport_target_data()
A Dscsi_transport_iscsi.h288 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)
A Dscsi_transport_sas.h93 dev_to_shost((phy)->dev.parent)
109 dev_to_shost((rphy)->dev.parent)
A Dscsi_transport_fc.h399 dev_to_shost(r->dev.parent)
873 return dev_to_shost(job->dev); in fc_bsg_to_shost()
A Dscsi_host.h729 static inline struct Scsi_Host *dev_to_shost(struct device *dev) in dev_to_shost() function
/linux-6.3-rc2/drivers/scsi/libsas/
A Dsas_init.c182 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-6.3-rc2/drivers/scsi/qedf/
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-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_attr.c23 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()
1806 struct scsi_qla_host *vha = shost_priv(dev_to_shost(dev)); in qla2x00_port_speed_store()
1884 struct scsi_qla_host *vha = shost_priv(dev_to_shost(dev)); in qla2x00_port_speed_show()
2640 struct Scsi_Host *host = dev_to_shost(starget->dev.parent); in qla2x00_get_starget_node_name()
2659 struct Scsi_Host *host = dev_to_shost(starget->dev.parent); in qla2x00_get_starget_port_name()
[all …]
/linux-6.3-rc2/drivers/scsi/aic7xxx/
A Daic79xx_osm.c2355 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_width()
2369 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_period()
2422 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_offset()
2457 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_dt()
2499 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_qas()
2538 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_iu()
2578 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_rd_strm()
2614 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_wr_flow()
2650 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_rti()
2694 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_pcomp_en()
[all …]
A Daic7xxx_osm.c546 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); in DEF_SCSI_QCMD()
560 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); in ahc_linux_target_alloc()
2313 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_width()
2327 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_period()
2372 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_offset()
2401 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_dt()
2440 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
2469 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
/linux-6.3-rc2/drivers/scsi/snic/
A Dsnic_disc.h97 dev_to_shost(t->dev.parent)
/linux-6.3-rc2/drivers/scsi/qla4xxx/
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-6.3-rc2/drivers/message/fusion/
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()
852 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in mptspi_write_spi_device_pg1()
1062 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in MPTSPI_SIMPLE_TRANSPORT_PARM()
1194 (struct _MPT_SCSI_HOST *)dev_to_shost(starget->dev.parent)->hostdata; in mptspi_deny_binding()
/linux-6.3-rc2/drivers/scsi/sym53c8xx_2/
A Dsym_glue.c1882 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_offset()
1892 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_period()
1907 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_width()
1922 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_dt()
1937 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
1950 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
/linux-6.3-rc2/drivers/ufs/core/
A Dufs_bsg.c137 struct ufs_hba *hba = shost_priv(dev_to_shost(job->dev->parent)); in ufs_bsg_request()
/linux-6.3-rc2/drivers/scsi/bfa/
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-6.3-rc2/drivers/usb/storage/
A Dscsiglue.c339 struct us_data *us = host_to_us(dev_to_shost(starget->dev.parent)); in target_alloc()
/linux-6.3-rc2/drivers/s390/scsi/
A Dzfcp_sysfs.c702 struct Scsi_Host *scsi_host = dev_to_shost(dev); in zfcp_sysfs_adapter_util_show()
727 struct Scsi_Host *scsi_host = dev_to_shost(dev); in zfcp_sysfs_adapter_ex_config()

Completed in 69 milliseconds

12