Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/scsi/
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()
245 struct Scsi_Host *shost = dev_to_shost(dev); in sas_host_remove()
263 shost = dev_to_shost(dev); in sas_host_match()
465 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); \
497 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); \
528 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in do_sas_phy_enable()
576 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in do_sas_phy_reset()
624 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_phy_setup()
643 shost = dev_to_shost(dev->parent); in sas_phy_match()
[all …]
Dscsi_scan.c222 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_alloc_sdev()
334 struct Scsi_Host *shost = dev_to_shost(dev->parent); in scsi_target_destroy()
372 struct Scsi_Host *shost = dev_to_shost(parent); in __scsi_find_target()
436 struct Scsi_Host *shost = dev_to_shost(parent); in scsi_alloc_target()
1081 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_probe_and_add_lun()
1230 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_sequential_lun_scan()
1328 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsi_report_lun_scan()
1560 struct Scsi_Host *shost = dev_to_shost(parent); in __scsi_scan_target()
1631 struct Scsi_Host *shost = dev_to_shost(parent); in scsi_scan_target()
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()
1410 shost = dev_to_shost(dev->parent); in spi_target_match()
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()
Dscsi.c601 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in starget_for_each_device()
629 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in __starget_for_each_device()
684 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in scsi_device_lookup_by_target()
Desp_scsi.c2430 struct esp *esp = shost_priv(dev_to_shost(&starget->dev)); in esp_target_alloc()
2440 struct esp *esp = shost_priv(dev_to_shost(&starget->dev)); in esp_target_destroy()
2701 struct Scsi_Host *host = dev_to_shost(target->dev.parent); in esp_set_offset()
2714 struct Scsi_Host *host = dev_to_shost(target->dev.parent); in esp_set_period()
2724 struct Scsi_Host *host = dev_to_shost(target->dev.parent); in esp_set_width()
/Linux-v5.15/include/scsi/
Dscsi_transport.h49 dev_to_shost((tc)->parent)
73 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsi_transport_target_data()
Dscsi_transport_iscsi.h275 dev_to_shost(_session->dev.parent)
289 dev_to_shost(_job->dev)
313 dev_to_shost(_iface->dev.parent)
419 dev_to_shost(_session->dev.parent)
Dscsi_transport_sas.h92 dev_to_shost((phy)->dev.parent)
108 dev_to_shost((rphy)->dev.parent)
Dscsi_transport_fc.h399 dev_to_shost(r->dev.parent)
871 return dev_to_shost(job->dev); in fc_bsg_to_shost()
Dscsi_host.h733 static inline struct Scsi_Host *dev_to_shost(struct device *dev) in dev_to_shost() function
/Linux-v5.15/drivers/scsi/libsas/
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()
302 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_phy_reset()
337 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in sas_set_phy_speed()
477 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in queue_phy_reset()
504 struct Scsi_Host *shost = dev_to_shost(phy->dev.parent); in queue_phy_enable()
/Linux-v5.15/drivers/scsi/qedf/
Dqedf_attr.c102 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_read_grcdump()
131 lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_write_grcdump()
/Linux-v5.15/drivers/scsi/qla2xxx/
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()
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-v5.15/drivers/scsi/aic7xxx/
Daic79xx_osm.c597 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); in DEF_SCSI_QCMD()
611 *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); in ahd_linux_target_alloc()
2361 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_width()
2375 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_period()
2428 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_offset()
2463 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_dt()
2505 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_qas()
2544 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_iu()
2584 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_rd_strm()
2620 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahd_linux_set_wr_flow()
[all …]
Daic7xxx_osm.c548 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); in DEF_SCSI_QCMD()
562 *((struct ahc_softc **)dev_to_shost(&starget->dev)->hostdata); in ahc_linux_target_alloc()
2315 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_width()
2329 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_period()
2374 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_offset()
2403 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in ahc_linux_set_dt()
2442 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
2471 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
/Linux-v5.15/drivers/scsi/snic/
Dsnic_disc.h111 dev_to_shost(t->dev.parent)
/Linux-v5.15/drivers/scsi/qla4xxx/
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-v5.15/drivers/message/fusion/
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-v5.15/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1884 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_offset()
1894 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_period()
1909 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_width()
1924 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); in sym2_set_dt()
1939 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
1952 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
/Linux-v5.15/drivers/scsi/ufs/
Dufs_bsg.c84 struct ufs_hba *hba = shost_priv(dev_to_shost(job->dev->parent)); in ufs_bsg_request()
/Linux-v5.15/drivers/scsi/bfa/
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-v5.15/drivers/usb/storage/
Dscsiglue.c339 struct us_data *us = host_to_us(dev_to_shost(starget->dev.parent)); in target_alloc()
/Linux-v5.15/drivers/scsi/mpi3mr/
Dmpi3mr_os.c707 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in mpi3mr_change_queue_depth()
3102 shost = dev_to_shost(&starget->dev); in mpi3mr_slave_destroy()
3139 shost = dev_to_shost(&starget->dev); in mpi3mr_target_destroy()
3179 shost = dev_to_shost(&starget->dev); in mpi3mr_slave_configure()
3226 shost = dev_to_shost(&starget->dev); in mpi3mr_slave_alloc()
3268 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in mpi3mr_target_alloc()
/Linux-v5.15/drivers/s390/scsi/
Dzfcp_sysfs.c693 struct Scsi_Host *scsi_host = dev_to_shost(dev); in zfcp_sysfs_adapter_util_show()
718 struct Scsi_Host *scsi_host = dev_to_shost(dev); in zfcp_sysfs_adapter_ex_config()

12