Lines Matching refs:oxu_to_hcd
483 dev_dbg(oxu_to_hcd(oxu)->self.controller , fmt , ## args)
485 dev_err(oxu_to_hcd(oxu)->self.controller , fmt , ## args)
487 dev_info(oxu_to_hcd(oxu)->self.controller , fmt , ## args)
493 static inline struct usb_hcd *oxu_to_hcd(struct oxu_hcd *oxu) in oxu_to_hcd() function
803 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in ehci_reset()
822 BUG_ON(!HC_IS_RUNNING(oxu_to_hcd(oxu)->state)); in ehci_quiesce()
830 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in ehci_quiesce()
842 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in ehci_quiesce()
1359 oxu_to_hcd(oxu)->self.bandwidth_int_reqs--; in ehci_urb_done()
1390 usb_hcd_giveback_urb(oxu_to_hcd(oxu), urb, urb->status); in ehci_urb_done()
1485 HC_IS_RUNNING(oxu_to_hcd(oxu)->state))) { in qh_completions()
1491 if (unlikely(!HC_IS_RUNNING(oxu_to_hcd(oxu)->state))) in qh_completions()
1932 oxu_to_hcd(oxu)->state = HC_STATE_RUNNING; in qh_link_async()
2056 if (unlikely(!HCD_HW_ACCESSIBLE(oxu_to_hcd(oxu)))) { in submit_async()
2101 && HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in end_unlink_async()
2109 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state) in end_unlink_async()
2137 if (oxu_to_hcd(oxu)->state != HC_STATE_HALT in start_unlink_async()
2159 if (unlikely(oxu_to_hcd(oxu)->state == HC_STATE_HALT)) { in start_unlink_async()
2305 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in enable_periodic()
2306 usb_hc_died(oxu_to_hcd(oxu)); in enable_periodic()
2313 oxu_to_hcd(oxu)->state = HC_STATE_RUNNING; in enable_periodic()
2331 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in disable_periodic()
2332 usb_hc_died(oxu_to_hcd(oxu)); in disable_periodic()
2404 oxu_to_hcd(oxu)->self.bandwidth_allocated += qh->period in qh_link_periodic()
2437 oxu_to_hcd(oxu)->self.bandwidth_allocated -= qh->period in qh_unlink_periodic()
2624 if (unlikely(!HCD_HW_ACCESSIBLE(oxu_to_hcd(oxu)))) { in intr_submit()
2647 oxu_to_hcd(oxu)->self.bandwidth_int_reqs++; in intr_submit()
2684 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in scan_periodic()
2748 if (!HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in scan_periodic()
2786 oxu_hub_control(oxu_to_hcd(oxu), SetPortFeature, in ehci_port_power()
2789 oxu_hub_control(oxu_to_hcd(oxu), ClearPortFeature, in ehci_port_power()
2821 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state) && in ehci_work()
2832 && HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) { in unlink_async()
2843 } else if (!HC_IS_RUNNING(oxu_to_hcd(oxu)->state) && oxu->reclaim) in unlink_async()
3680 mod_timer(&oxu_to_hcd(oxu)->rh_timer, in oxu_hub_control()