Lines Matching refs:oxu_to_hcd

56 		dev_dbg(oxu_to_hcd(oxu)->self.controller , fmt , ## args)
58 dev_err(oxu_to_hcd(oxu)->self.controller , fmt , ## args)
60 dev_info(oxu_to_hcd(oxu)->self.controller , fmt , ## args)
66 static inline struct usb_hcd *oxu_to_hcd(struct oxu_hcd *oxu) in oxu_to_hcd() function
378 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in ehci_reset()
397 if (!HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in ehci_quiesce()
406 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in ehci_quiesce()
418 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in ehci_quiesce()
935 oxu_to_hcd(oxu)->self.bandwidth_int_reqs--; in ehci_urb_done()
966 usb_hcd_giveback_urb(oxu_to_hcd(oxu), urb, urb->status); in ehci_urb_done()
1063 HC_IS_RUNNING(oxu_to_hcd(oxu)->state))) { in qh_completions()
1069 if (unlikely(!HC_IS_RUNNING(oxu_to_hcd(oxu)->state))) in qh_completions()
1513 oxu_to_hcd(oxu)->state = HC_STATE_RUNNING; in qh_link_async()
1638 if (unlikely(!HCD_HW_ACCESSIBLE(oxu_to_hcd(oxu)))) { in submit_async()
1683 && HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in end_unlink_async()
1691 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state) in end_unlink_async()
1720 if (oxu_to_hcd(oxu)->state != HC_STATE_HALT in start_unlink_async()
1742 if (unlikely(oxu_to_hcd(oxu)->state == HC_STATE_HALT)) { in start_unlink_async()
1888 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in enable_periodic()
1889 usb_hc_died(oxu_to_hcd(oxu)); in enable_periodic()
1896 oxu_to_hcd(oxu)->state = HC_STATE_RUNNING; in enable_periodic()
1914 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in disable_periodic()
1915 usb_hc_died(oxu_to_hcd(oxu)); in disable_periodic()
1987 oxu_to_hcd(oxu)->self.bandwidth_allocated += qh->period in qh_link_periodic()
2020 oxu_to_hcd(oxu)->self.bandwidth_allocated -= qh->period in qh_unlink_periodic()
2207 if (unlikely(!HCD_HW_ACCESSIBLE(oxu_to_hcd(oxu)))) { in intr_submit()
2230 oxu_to_hcd(oxu)->self.bandwidth_int_reqs++; in intr_submit()
2267 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in scan_periodic()
2300 live = HC_IS_RUNNING(oxu_to_hcd(oxu)->state); in scan_periodic()
2337 if (!HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in scan_periodic()
2374 (void) oxu_hub_control(oxu_to_hcd(oxu), in ehci_port_power()
2406 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state) && in ehci_work()
2417 && HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) { in unlink_async()
2428 } else if (!HC_IS_RUNNING(oxu_to_hcd(oxu)->state) && oxu->reclaim) in unlink_async()
3270 mod_timer(&oxu_to_hcd(oxu)->rh_timer, in oxu_hub_control()