Home
last modified time | relevance | path

Searched refs:us_to_host (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/usb/storage/
Dscsiglue.c420 scsi_lock(us_to_host(us)); in DEF_SCSI_QCMD()
424 scsi_unlock(us_to_host(us)); in DEF_SCSI_QCMD()
441 scsi_unlock(us_to_host(us)); in DEF_SCSI_QCMD()
487 struct Scsi_Host *host = us_to_host(us); in usb_stor_report_device_reset()
503 struct Scsi_Host *host = us_to_host(us); in usb_stor_report_bus_reset()
Dusb.c301 struct Scsi_Host *host = us_to_host(us); in usb_stor_control_thread()
842 struct Scsi_Host *host = us_to_host(us); in quiesce_and_remove_host()
886 scsi_host_put(us_to_host(us)); in release_everything()
910 us_to_host(us)->max_lun = us->max_lun+1; in usb_stor_scan_dwork()
913 scsi_scan_host(us_to_host(us)); in usb_stor_scan_dwork()
1016 us_to_host(us)->this_id = 7; in usb_stor_probe2()
1020 us_to_host(us)->max_id = 1; in usb_stor_probe2()
1027 us_to_host(us)->no_scsi2_lun_in_cdb = 1; in usb_stor_probe2()
1053 result = scsi_add_host(us_to_host(us), dev); in usb_stor_probe2()
Dusb.h154 static inline struct Scsi_Host *us_to_host(struct us_data *us) { in us_to_host() function
Dtransport.c897 scsi_lock(us_to_host(us)); in usb_stor_invoke_transport()
900 scsi_unlock(us_to_host(us)); in usb_stor_invoke_transport()
911 scsi_lock(us_to_host(us)); in usb_stor_invoke_transport()
913 scsi_unlock(us_to_host(us)); in usb_stor_invoke_transport()