Home
last modified time | relevance | path

Searched refs:to_scsi_device (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.10/drivers/scsi/
Dscsi_sysfs.c508 struct scsi_device *sdp = to_scsi_device(dev); in scsi_device_dev_release()
526 sdp = to_scsi_device(dev); in scsi_bus_match()
539 sdev = to_scsi_device(dev); in scsi_bus_uevent()
585 sdev = to_scsi_device(dev); \
610 sdev = to_scsi_device(dev); \
634 sdev = to_scsi_device(dev); \
672 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_busy()
681 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_blocked()
693 sdev = to_scsi_device(dev); in sdev_show_timeout()
703 sdev = to_scsi_device(dev); in sdev_store_timeout()
[all …]
Dscsi_pm.c62 err = scsi_device_quiesce(to_scsi_device(dev)); in scsi_dev_type_suspend()
66 scsi_device_resume(to_scsi_device(dev)); in scsi_dev_type_suspend()
79 scsi_device_resume(to_scsi_device(dev)); in scsi_dev_type_resume()
95 struct scsi_device *sdev = to_scsi_device(dev); in scsi_dev_type_resume()
230 struct scsi_device *sdev = to_scsi_device(dev); in sdev_runtime_suspend()
258 struct scsi_device *sdev = to_scsi_device(dev); in sdev_runtime_resume()
Dses.c47 struct scsi_device *sdev = to_scsi_device(dev); in ses_probe()
138 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_set_page2_descriptor()
168 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_get_page2_descriptor()
412 sdev = to_scsi_device(edev->edev.parent);
605 struct scsi_device *edev_sdev = to_scsi_device(edev->edev.parent); in ses_match_to_enclosure()
626 struct scsi_device *sdev = to_scsi_device(cdev->parent); in ses_intf_add()
825 struct scsi_device *sdev = to_scsi_device(cdev->parent); in ses_intf_remove()
Dmyrs.c940 struct scsi_device *sdev = to_scsi_device(dev); in raid_state_show()
975 struct scsi_device *sdev = to_scsi_device(dev); in raid_state_store()
1059 struct scsi_device *sdev = to_scsi_device(dev); in raid_level_show()
1085 struct scsi_device *sdev = to_scsi_device(dev); in rebuild_show()
1114 struct scsi_device *sdev = to_scsi_device(dev); in rebuild_store()
1190 struct scsi_device *sdev = to_scsi_device(dev); in consistency_check_show()
1215 struct scsi_device *sdev = to_scsi_device(dev); in consistency_check_store()
1499 struct scsi_device *sdev = to_scsi_device(dev); in disable_enclosure_messages_store()
1968 struct scsi_device *sdev = to_scsi_device(dev); in myrs_is_raid()
1981 struct scsi_device *sdev = to_scsi_device(dev); in myrs_get_resync()
[all …]
Dmyrb.c1792 struct scsi_device *sdev = to_scsi_device(dev); in raid_state_show()
1837 struct scsi_device *sdev = to_scsi_device(dev); in raid_state_store()
1905 struct scsi_device *sdev = to_scsi_device(dev); in raid_level_show()
1927 struct scsi_device *sdev = to_scsi_device(dev); in rebuild_show()
1949 struct scsi_device *sdev = to_scsi_device(dev); in rebuild_store()
2054 struct scsi_device *sdev = to_scsi_device(dev); in consistency_check_store()
2251 struct scsi_device *sdev = to_scsi_device(dev); in myrb_is_raid()
2262 struct scsi_device *sdev = to_scsi_device(dev); in myrb_get_resync()
2289 struct scsi_device *sdev = to_scsi_device(dev); in myrb_get_state()
Draid_class.c66 struct scsi_device *sdev = to_scsi_device(dev); in raid_match()
Dscsi_proc.c187 sdev = to_scsi_device(dev); in proc_print_scsidevice()
Dscsi_transport_spi.c210 struct scsi_device *sdev = to_scsi_device(dev); in spi_device_configure()
392 spi_dv_device(to_scsi_device(dev)); in child_iter()
1375 sdev = to_scsi_device(dev); in spi_device_match()
Dsr.c713 struct scsi_device *sdev = to_scsi_device(dev); in sr_probe()
Dch.c917 struct scsi_device *sd = to_scsi_device(dev); in ch_probe()
Dscsi_scan.c1510 struct scsi_device *sdev = to_scsi_device(dev); in scsi_rescan_device()
Dsg.c1521 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_add_device()
1621 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_remove_device()
Dhpsa.c682 sdev = to_scsi_device(dev); in raid_level_show()
715 sdev = to_scsi_device(dev); in lunid_show()
737 sdev = to_scsi_device(dev); in unique_id_show()
765 sdev = to_scsi_device(dev); in sas_address_show()
788 sdev = to_scsi_device(dev); in host_show_hp_ssd_smart_path_enabled()
822 sdev = to_scsi_device(dev); in path_info_show()
Dipr.c4527 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_adapter_handle()
4561 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_resource_path()
4601 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_device_id()
4637 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_resource_type()
4673 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_raw_mode()
4703 struct scsi_device *sdev = to_scsi_device(dev); in ipr_store_raw_mode()
/Linux-v5.10/drivers/s390/scsi/
Dzfcp_sysfs.c548 struct scsi_device *sdev = to_scsi_device(dev); \
579 struct scsi_device *sdev = to_scsi_device(dev); \
609 struct scsi_device *sdev = to_scsi_device(dev); \
625 struct scsi_device *sdev = to_scsi_device(dev); in zfcp_sysfs_scsi_fcp_lun_show()
639 struct scsi_device *sdev = to_scsi_device(dev); in zfcp_sysfs_scsi_zfcp_failed_show()
650 struct scsi_device *sdev = to_scsi_device(dev); in zfcp_sysfs_scsi_zfcp_failed_store()
/Linux-v5.10/drivers/usb/storage/
Dscsiglue.c571 struct scsi_device *sdev = to_scsi_device(dev); in max_sectors_show()
580 struct scsi_device *sdev = to_scsi_device(dev); in max_sectors_store()
/Linux-v5.10/drivers/ata/
Dlibata-sata.c841 struct scsi_device *sdev = to_scsi_device(device); in ata_ncq_prio_enable_show()
868 struct scsi_device *sdev = to_scsi_device(device); in ata_ncq_prio_enable_store()
964 struct scsi_device *sdev = to_scsi_device(dev); in ata_scsi_activity_show()
978 struct scsi_device *sdev = to_scsi_device(dev); in ata_scsi_activity_store()
Dlibata-scsi.c91 struct scsi_device *sdev = to_scsi_device(device); in ata_scsi_park_show()
131 struct scsi_device *sdev = to_scsi_device(device); in ata_scsi_park_store()
/Linux-v5.10/include/scsi/
Dscsi_device.h243 #define to_scsi_device(d) \ macro
248 to_scsi_device(class_dev->parent)
/Linux-v5.10/drivers/hwmon/
Ddrivetemp.c556 struct scsi_device *sdev = to_scsi_device(dev->parent); in drivetemp_add()
/Linux-v5.10/drivers/scsi/ufs/
Dufs-sysfs.c785 struct scsi_device *sdev = to_scsi_device(dev); \
841 struct scsi_device *sdev = to_scsi_device(dev); in dyn_cap_needed_attribute_show()
/Linux-v5.10/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.c3833 struct scsi_device *sdev = to_scsi_device(dev); in sas_address_show()
3855 struct scsi_device *sdev = to_scsi_device(dev); in sas_device_handle_show()
3875 struct scsi_device *sdev = to_scsi_device(dev); in sas_ncq_prio_enable_show()
3887 struct scsi_device *sdev = to_scsi_device(dev); in sas_ncq_prio_enable_store()
/Linux-v5.10/drivers/scsi/aacraid/
Dlinit.c560 struct scsi_device *sdev = to_scsi_device(dev); in aac_show_raid_level()
581 struct scsi_device *sdev = to_scsi_device(dev); in aac_show_unique_id()
/Linux-v5.10/drivers/scsi/smartpqi/
Dsmartpqi_init.c6287 sdev = to_scsi_device(dev); in pqi_unique_id_show()
6324 sdev = to_scsi_device(dev); in pqi_lunid_show()
6359 sdev = to_scsi_device(dev); in pqi_path_info_show()
6436 sdev = to_scsi_device(dev); in pqi_sas_address_show()
6462 sdev = to_scsi_device(dev); in pqi_ssd_smart_path_enabled_show()
6491 sdev = to_scsi_device(dev); in pqi_raid_level_show()
6521 sdev = to_scsi_device(dev); in pqi_raid_bypass_cnt_show()
/Linux-v5.10/drivers/firewire/
Dsbp2.c1566 struct scsi_device *sdev = to_scsi_device(dev); in sbp2_sysfs_ieee1394_id_show()

12