Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_sysfs.c512 struct scsi_device *sdp = to_scsi_device(dev); in scsi_device_dev_release()
535 sdp = to_scsi_device(dev); in scsi_bus_match()
548 sdev = to_scsi_device(dev); in scsi_bus_uevent()
594 sdev = to_scsi_device(dev); \
619 sdev = to_scsi_device(dev); \
643 sdev = to_scsi_device(dev); \
681 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_busy()
690 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_blocked()
702 sdev = to_scsi_device(dev); in sdev_show_timeout()
712 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()
152 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_set_page2_descriptor()
182 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_get_page2_descriptor()
426 sdev = to_scsi_device(edev->edev.parent);
641 struct scsi_device *edev_sdev = to_scsi_device(edev->edev.parent); in ses_match_to_enclosure()
662 struct scsi_device *sdev = to_scsi_device(cdev->parent); in ses_intf_add()
865 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 …]
Draid_class.c66 struct scsi_device *sdev = to_scsi_device(dev); in raid_match()
Dmyrb.c1793 struct scsi_device *sdev = to_scsi_device(dev); in raid_state_show()
1838 struct scsi_device *sdev = to_scsi_device(dev); in raid_state_store()
1906 struct scsi_device *sdev = to_scsi_device(dev); in raid_level_show()
1928 struct scsi_device *sdev = to_scsi_device(dev); in rebuild_show()
1950 struct scsi_device *sdev = to_scsi_device(dev); in rebuild_store()
2055 struct scsi_device *sdev = to_scsi_device(dev); in consistency_check_store()
2252 struct scsi_device *sdev = to_scsi_device(dev); in myrb_is_raid()
2263 struct scsi_device *sdev = to_scsi_device(dev); in myrb_get_resync()
2290 struct scsi_device *sdev = to_scsi_device(dev); in myrb_get_state()
Dscsi_proc.c187 sdev = to_scsi_device(dev); in proc_print_scsidevice()
Dscsi_transport_spi.c214 struct scsi_device *sdev = to_scsi_device(dev); in spi_device_configure()
396 spi_dv_device(to_scsi_device(dev)); in child_iter()
1386 sdev = to_scsi_device(dev); in spi_device_match()
Dsr.c715 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.c1516 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_add_device()
1616 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.c4528 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_adapter_handle()
4562 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_resource_path()
4602 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_device_id()
4638 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_resource_type()
4674 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_raw_mode()
4704 struct scsi_device *sdev = to_scsi_device(dev); in ipr_store_raw_mode()
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_sysfs.c549 struct scsi_device *sdev = to_scsi_device(dev); \
580 struct scsi_device *sdev = to_scsi_device(dev); \
610 struct scsi_device *sdev = to_scsi_device(dev); \
626 struct scsi_device *sdev = to_scsi_device(dev); in zfcp_sysfs_scsi_fcp_lun_show()
640 struct scsi_device *sdev = to_scsi_device(dev); in zfcp_sysfs_scsi_zfcp_failed_show()
651 struct scsi_device *sdev = to_scsi_device(dev); in zfcp_sysfs_scsi_zfcp_failed_store()
/kernel/linux/linux-5.10/drivers/usb/storage/
Dscsiglue.c585 struct scsi_device *sdev = to_scsi_device(dev); in max_sectors_show()
594 struct scsi_device *sdev = to_scsi_device(dev); in max_sectors_store()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/scsi/
Dscsi_device.h244 #define to_scsi_device(d) \ macro
249 to_scsi_device(class_dev->parent)
/kernel/linux/linux-5.10/drivers/hwmon/
Ddrivetemp.c556 struct scsi_device *sdev = to_scsi_device(dev->parent); in drivetemp_add()
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufs-sysfs.c785 struct scsi_device *sdev = to_scsi_device(dev); \
842 struct scsi_device *sdev = to_scsi_device(dev); in dyn_cap_needed_attribute_show()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
Dsmartpqi_init.c6292 sdev = to_scsi_device(dev); in pqi_unique_id_show()
6329 sdev = to_scsi_device(dev); in pqi_lunid_show()
6364 sdev = to_scsi_device(dev); in pqi_path_info_show()
6441 sdev = to_scsi_device(dev); in pqi_sas_address_show()
6467 sdev = to_scsi_device(dev); in pqi_ssd_smart_path_enabled_show()
6496 sdev = to_scsi_device(dev); in pqi_raid_level_show()
6526 sdev = to_scsi_device(dev); in pqi_raid_bypass_cnt_show()
/kernel/linux/linux-5.10/drivers/firewire/
Dsbp2.c1567 struct scsi_device *sdev = to_scsi_device(dev); in sbp2_sysfs_ieee1394_id_show()

12