Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/scsi/
H A Dscsi_sysfs.c533 sdp = to_scsi_device(dev); in scsi_bus_match()
546 sdev = to_scsi_device(dev); in scsi_bus_uevent()
591 sdev = to_scsi_device(dev); \
616 sdev = to_scsi_device(dev); \
640 sdev = to_scsi_device(dev); \
700 sdev = to_scsi_device(dev); in sdev_show_timeout()
710 sdev = to_scsi_device(dev); in sdev_store_timeout()
721 sdev = to_scsi_device(dev); in sdev_show_eh_timeout()
736 sdev = to_scsi_device(dev); in sdev_store_eh_timeout()
978 sdev = to_scsi_device(dev); in sdev_show_modalias()
[all …]
H A Dscsi_pm.c58 err = scsi_device_quiesce(to_scsi_device(dev)); in scsi_dev_type_suspend()
62 scsi_device_resume(to_scsi_device(dev)); in scsi_dev_type_suspend()
88 scsi_device_resume(to_scsi_device(dev)); in scsi_bus_resume_common()
148 struct scsi_device *sdev = to_scsi_device(dev); in sdev_runtime_suspend()
176 struct scsi_device *sdev = to_scsi_device(dev); in sdev_runtime_resume()
H A Dses.c47 struct scsi_device *sdev = to_scsi_device(dev); in ses_probe()
158 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_set_page2_descriptor()
188 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_get_page2_descriptor()
432 sdev = to_scsi_device(edev->edev.parent);
647 struct scsi_device *edev_sdev = to_scsi_device(edev->edev.parent); in ses_match_to_enclosure()
667 struct scsi_device *sdev = to_scsi_device(cdev->parent); in ses_intf_add()
869 struct scsi_device *sdev = to_scsi_device(cdev->parent); in ses_intf_remove()
H A Dmyrs.c937 struct scsi_device *sdev = to_scsi_device(dev); in raid_state_show()
972 struct scsi_device *sdev = to_scsi_device(dev); in raid_state_store()
1056 struct scsi_device *sdev = to_scsi_device(dev); in raid_level_show()
1082 struct scsi_device *sdev = to_scsi_device(dev); in rebuild_show()
1111 struct scsi_device *sdev = to_scsi_device(dev); in rebuild_store()
1187 struct scsi_device *sdev = to_scsi_device(dev); in consistency_check_show()
1211 struct scsi_device *sdev = to_scsi_device(dev); in consistency_check_store()
1497 struct scsi_device *sdev = to_scsi_device(dev); in disable_enclosure_messages_store()
1964 struct scsi_device *sdev = to_scsi_device(dev); in myrs_is_raid()
1977 struct scsi_device *sdev = to_scsi_device(dev); in myrs_get_resync()
[all …]
H A Draid_class.c66 struct scsi_device *sdev = to_scsi_device(dev); in raid_match()
H A Dmyrb.c1765 struct scsi_device *sdev = to_scsi_device(dev); in raid_state_show()
1810 struct scsi_device *sdev = to_scsi_device(dev); in raid_state_store()
1878 struct scsi_device *sdev = to_scsi_device(dev); in raid_level_show()
1900 struct scsi_device *sdev = to_scsi_device(dev); in rebuild_show()
1922 struct scsi_device *sdev = to_scsi_device(dev); in rebuild_store()
2027 struct scsi_device *sdev = to_scsi_device(dev); in consistency_check_store()
2228 struct scsi_device *sdev = to_scsi_device(dev); in myrb_is_raid()
2239 struct scsi_device *sdev = to_scsi_device(dev); in myrb_get_resync()
2266 struct scsi_device *sdev = to_scsi_device(dev); in myrb_get_state()
H A Dscsi_transport_spi.c213 struct scsi_device *sdev = to_scsi_device(dev); in spi_device_configure()
395 spi_dv_device(to_scsi_device(dev)); in child_iter()
1386 sdev = to_scsi_device(dev); in spi_device_match()
H A Dscsi_proc.c282 sdev = to_scsi_device(dev); in proc_print_scsidevice()
H A Dsr.c610 struct scsi_device *sdev = to_scsi_device(dev); in sr_probe()
H A Dch.c890 struct scsi_device *sd = to_scsi_device(dev); in ch_probe()
H A Dsg.c1497 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_add_device()
1597 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_remove_device()
H A Dipr.c4425 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_adapter_handle()
4459 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_resource_path()
4499 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_device_id()
4535 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_resource_type()
4571 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_raw_mode()
4601 struct scsi_device *sdev = to_scsi_device(dev); in ipr_store_raw_mode()
H A Dhpsa.c681 sdev = to_scsi_device(dev); in raid_level_show()
714 sdev = to_scsi_device(dev); in lunid_show()
736 sdev = to_scsi_device(dev); in unique_id_show()
764 sdev = to_scsi_device(dev); in sas_address_show()
787 sdev = to_scsi_device(dev); in host_show_hp_ssd_smart_path_enabled()
821 sdev = to_scsi_device(dev); in path_info_show()
/openbmc/linux/drivers/s390/scsi/
H A 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()
/openbmc/linux/drivers/ata/
H A Dlibata-sata.c856 struct scsi_device *sdev = to_scsi_device(device); in ata_ncq_prio_supported_show()
880 struct scsi_device *sdev = to_scsi_device(device); in ata_ncq_prio_enable_show()
901 struct scsi_device *sdev = to_scsi_device(device); in ata_ncq_prio_enable_store()
1007 struct scsi_device *sdev = to_scsi_device(dev); in ata_scsi_activity_show()
1021 struct scsi_device *sdev = to_scsi_device(dev); in ata_scsi_activity_store()
/openbmc/linux/drivers/usb/storage/
H A Dscsiglue.c591 struct scsi_device *sdev = to_scsi_device(dev); in max_sectors_show()
600 struct scsi_device *sdev = to_scsi_device(dev); in max_sectors_store()
/openbmc/linux/include/scsi/
H A Dscsi_device.h286 #define to_scsi_device(d) \ macro
291 to_scsi_device(class_dev->parent)
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_app.c1771 struct scsi_device *sdev = to_scsi_device(dev); in sas_address_show()
1805 struct scsi_device *sdev = to_scsi_device(dev); in device_handle_show()
1838 struct scsi_device *sdev = to_scsi_device(dev); in persistent_id_show()
1869 struct scsi_device *sdev = to_scsi_device(dev); in sas_ncq_prio_supported_show()
1887 struct scsi_device *sdev = to_scsi_device(dev); in sas_ncq_prio_enable_show()
1901 struct scsi_device *sdev = to_scsi_device(dev); in sas_ncq_prio_enable_store()
/openbmc/linux/drivers/ufs/core/
H A Dufs-sysfs.c1251 struct scsi_device *sdev = to_scsi_device(dev); \
1302 struct scsi_device *sdev = to_scsi_device(dev); in ufs_unit_descriptor_is_visible()
1326 struct scsi_device *sdev = to_scsi_device(dev); in dyn_cap_needed_attribute_show()
H A Dufshcd.c9803 struct scsi_device *sdev = to_scsi_device(dev); in ufshcd_wl_runtime_suspend()
9823 struct scsi_device *sdev = to_scsi_device(dev); in ufshcd_wl_runtime_resume()
9845 struct scsi_device *sdev = to_scsi_device(dev); in ufshcd_wl_suspend()
9875 struct scsi_device *sdev = to_scsi_device(dev); in ufshcd_wl_resume()
10090 struct scsi_device *sdev = to_scsi_device(dev); in ufshcd_wl_shutdown()
10577 struct scsi_device *sdev = to_scsi_device(dev); in ufshcd_wl_poweroff()
10587 struct scsi_device *sdev = to_scsi_device(dev); in ufshcd_wl_probe()
/openbmc/linux/drivers/hwmon/
H A Ddrivetemp.c555 struct scsi_device *sdev = to_scsi_device(dev->parent); in drivetemp_add()
/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c3993 struct scsi_device *sdev = to_scsi_device(dev); in sas_address_show()
4015 struct scsi_device *sdev = to_scsi_device(dev); in sas_device_handle_show()
4035 struct scsi_device *sdev = to_scsi_device(dev); in sas_ncq_prio_supported_show()
4053 struct scsi_device *sdev = to_scsi_device(dev); in sas_ncq_prio_enable_show()
4065 struct scsi_device *sdev = to_scsi_device(dev); in sas_ncq_prio_enable_store()
/openbmc/linux/drivers/scsi/aacraid/
H A Dlinit.c558 struct scsi_device *sdev = to_scsi_device(dev); in aac_show_raid_level()
579 struct scsi_device *sdev = to_scsi_device(dev); in aac_show_unique_id()
/openbmc/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c7094 sdev = to_scsi_device(dev); in pqi_unique_id_show()
7133 sdev = to_scsi_device(dev); in pqi_lunid_show()
7171 sdev = to_scsi_device(dev); in pqi_path_info_show()
7251 sdev = to_scsi_device(dev); in pqi_sas_address_show()
7280 sdev = to_scsi_device(dev); in pqi_ssd_smart_path_enabled_show()
7312 sdev = to_scsi_device(dev); in pqi_raid_level_show()
7345 sdev = to_scsi_device(dev); in pqi_raid_bypass_cnt_show()
7375 sdev = to_scsi_device(dev); in pqi_sas_ncq_prio_enable_show()
7409 sdev = to_scsi_device(dev); in pqi_sas_ncq_prio_enable_store()
7439 sdev = to_scsi_device(dev); in pqi_numa_node_show()
/openbmc/linux/drivers/firewire/
H A Dsbp2.c1571 struct scsi_device *sdev = to_scsi_device(dev); in sbp2_sysfs_ieee1394_id_show()

12