Searched refs:us_to_host (Results 1 – 4 of 4) sorted by relevance
409 scsi_lock(us_to_host(us)); in DEF_SCSI_QCMD()413 scsi_unlock(us_to_host(us)); in DEF_SCSI_QCMD()420 scsi_unlock(us_to_host(us)); in DEF_SCSI_QCMD()437 scsi_unlock(us_to_host(us)); in DEF_SCSI_QCMD()494 struct Scsi_Host *host = us_to_host(us); in usb_stor_report_device_reset()510 struct Scsi_Host *host = us_to_host(us); in usb_stor_report_bus_reset()
383 struct Scsi_Host *host = us_to_host(us); in usb_stor_control_thread()927 struct Scsi_Host *host = us_to_host(us); in quiesce_and_remove_host()971 scsi_host_put(us_to_host(us)); in release_everything()995 us_to_host(us)->max_lun = us->max_lun+1; in usb_stor_scan_dwork()998 scsi_scan_host(us_to_host(us)); in usb_stor_scan_dwork()1110 us_to_host(us)->this_id = 7; in usb_stor_probe2()1114 us_to_host(us)->max_id = 1; in usb_stor_probe2()1121 us_to_host(us)->no_scsi2_lun_in_cdb = 1; in usb_stor_probe2()1147 result = scsi_add_host(us_to_host(us), dev); in usb_stor_probe2()
154 static inline struct Scsi_Host *us_to_host(struct us_data *us) { in us_to_host() function
909 scsi_lock(us_to_host(us)); in usb_stor_invoke_transport()912 scsi_unlock(us_to_host(us)); in usb_stor_invoke_transport()923 scsi_lock(us_to_host(us)); in usb_stor_invoke_transport()925 scsi_unlock(us_to_host(us)); in usb_stor_invoke_transport()