Searched refs:us_to_host (Results 1 – 4 of 4) sorted by relevance
422 scsi_lock(us_to_host(us)); in DEF_SCSI_QCMD()426 scsi_unlock(us_to_host(us)); in DEF_SCSI_QCMD()433 scsi_unlock(us_to_host(us)); in DEF_SCSI_QCMD()450 scsi_unlock(us_to_host(us)); in DEF_SCSI_QCMD()507 struct Scsi_Host *host = us_to_host(us); in usb_stor_report_device_reset()523 struct Scsi_Host *host = us_to_host(us); in usb_stor_report_bus_reset()
301 struct Scsi_Host *host = us_to_host(us); in usb_stor_control_thread()845 struct Scsi_Host *host = us_to_host(us); in quiesce_and_remove_host()889 scsi_host_put(us_to_host(us)); in release_everything()913 us_to_host(us)->max_lun = us->max_lun+1; in usb_stor_scan_dwork()916 scsi_scan_host(us_to_host(us)); in usb_stor_scan_dwork()1019 us_to_host(us)->this_id = 7; in usb_stor_probe2()1023 us_to_host(us)->max_id = 1; in usb_stor_probe2()1030 us_to_host(us)->no_scsi2_lun_in_cdb = 1; in usb_stor_probe2()1056 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()