Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/scsi/
Dscsi_sysfs.c375 struct scsi_device *sdp = to_scsi_device(dev); in scsi_device_dev_release()
393 sdp = to_scsi_device(dev); in scsi_bus_match()
406 sdev = to_scsi_device(dev); in scsi_bus_uevent()
452 sdev = to_scsi_device(dev); \
477 sdev = to_scsi_device(dev); \
501 sdev = to_scsi_device(dev); \
544 sdev = to_scsi_device(dev); in sdev_show_timeout()
554 sdev = to_scsi_device(dev); in sdev_store_timeout()
572 scsi_remove_device(to_scsi_device(dev)); in sdev_store_delete_callback()
596 struct scsi_device *sdev = to_scsi_device(dev); in store_state_field()
[all …]
Dses.c54 struct scsi_device *sdev = to_scsi_device(dev); in ses_probe()
113 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_set_page2_descriptor()
143 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_get_page2_descriptor()
283 sdev = to_scsi_device(edev->edev.parent);
462 ses_enclosure_data_process(edev, to_scsi_device(edev->edev.parent), 0); in ses_match_to_enclosure()
505 struct scsi_device *sdev = to_scsi_device(cdev->parent); in ses_intf_add()
700 struct scsi_device *sdev = to_scsi_device(cdev->parent); in ses_intf_remove()
Dscsi_pm.c24 err = scsi_device_quiesce(to_scsi_device(dev)); in scsi_dev_type_suspend()
42 scsi_device_resume(to_scsi_device(dev)); in scsi_dev_type_resume()
Draid_class.c68 struct scsi_device *sdev = to_scsi_device(dev); in raid_match()
Dscsi_proc.c197 sdev = to_scsi_device(dev); in proc_print_scsidevice()
Dscsi_transport_spi.c225 struct scsi_device *sdev = to_scsi_device(dev); in spi_device_configure()
405 spi_dv_device(to_scsi_device(dev)); in child_iter()
1355 sdev = to_scsi_device(dev); in spi_device_match()
Dsr.c643 struct scsi_device *sdev = to_scsi_device(dev); in sr_probe()
Dch.c896 struct scsi_device *sd = to_scsi_device(dev); in ch_probe()
Dsg.c1432 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_add()
1533 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_remove()
Dhpsa.c403 sdev = to_scsi_device(dev); in raid_level_show()
436 sdev = to_scsi_device(dev); in lunid_show()
460 sdev = to_scsi_device(dev); in unique_id_show()
Dipr.c4152 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_adapter_handle()
4186 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_resource_path()
4226 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_device_id()
4262 struct scsi_device *sdev = to_scsi_device(dev); in ipr_show_resource_type()
D53c700.c2133 struct scsi_device *SDp = to_scsi_device(dev); in NCR_700_show_active_tags()
Dst.c3997 struct scsi_device *SDp = to_scsi_device(dev); in st_probe()
4223 struct scsi_device *SDp = to_scsi_device(dev); in st_remove()
Dsd.c2666 struct scsi_device *sdp = to_scsi_device(dev); in sd_probe()
/linux-3.4.99/drivers/scsi/device_handler/
Dscsi_dh.c155 struct scsi_device *sdev = to_scsi_device(dev); in store_dh_state()
195 struct scsi_device *sdev = to_scsi_device(dev); in show_dh_state()
218 sdev = to_scsi_device(dev); in scsi_dh_sysfs_attr_add()
236 sdev = to_scsi_device(dev); in scsi_dh_sysfs_attr_remove()
258 sdev = to_scsi_device(dev); in scsi_dh_notifier()
287 sdev = to_scsi_device(dev); in scsi_dh_notifier_add()
311 sdev = to_scsi_device(dev); in scsi_dh_notifier_remove()
/linux-3.4.99/drivers/s390/scsi/
Dzfcp_sysfs.c370 struct scsi_device *sdev = to_scsi_device(dev); \
401 struct scsi_device *sdev = to_scsi_device(dev); \
431 struct scsi_device *sdev = to_scsi_device(dev); \
448 struct scsi_device *sdev = to_scsi_device(dev); in zfcp_sysfs_scsi_fcp_lun_show()
/linux-3.4.99/drivers/staging/keucr/
Dscsiglue.c312 struct scsi_device *sdev = to_scsi_device(dev); in show_max_sectors()
326 struct scsi_device *sdev = to_scsi_device(dev); in store_max_sectors()
/linux-3.4.99/drivers/usb/storage/
Dscsiglue.c512 struct scsi_device *sdev = to_scsi_device(dev); in show_max_sectors()
521 struct scsi_device *sdev = to_scsi_device(dev); in store_max_sectors()
/linux-3.4.99/include/scsi/
Dscsi_device.h211 #define to_scsi_device(d) \ macro
216 to_scsi_device(class_dev->parent)
/linux-3.4.99/drivers/scsi/osd/
Dosd_uld.c397 struct scsi_device *scsi_device = to_scsi_device(dev); in osd_probe()
500 struct scsi_device *scsi_device = to_scsi_device(dev); in osd_remove()
/linux-3.4.99/drivers/ata/
Dlibata-scsi.c161 struct scsi_device *sdev = to_scsi_device(device); in ata_scsi_park_show()
201 struct scsi_device *sdev = to_scsi_device(device); in ata_scsi_park_store()
308 struct scsi_device *sdev = to_scsi_device(dev); in ata_scsi_activity_show()
322 struct scsi_device *sdev = to_scsi_device(dev); in ata_scsi_activity_store()
/linux-3.4.99/drivers/scsi/aacraid/
Dlinit.c521 struct scsi_device *sdev = to_scsi_device(dev); in aac_show_raid_level()
/linux-3.4.99/drivers/scsi/mpt2sas/
Dmpt2sas_ctl.c2964 struct scsi_device *sdev = to_scsi_device(dev); in _ctl_device_sas_address_show()
2985 struct scsi_device *sdev = to_scsi_device(dev); in _ctl_device_handle_show()
Dmpt2sas_scsih.c1522 struct scsi_device *sdev = to_scsi_device(dev); in _scsih_is_raid()
1537 struct scsi_device *sdev = to_scsi_device(dev); in _scsih_get_resync()
1576 struct scsi_device *sdev = to_scsi_device(dev); in _scsih_get_state()
/linux-3.4.99/drivers/firewire/
Dsbp2.c1610 struct scsi_device *sdev = to_scsi_device(dev); in sbp2_sysfs_ieee1394_id_show()

12