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()
1391 usb_hcd_giveback_urb(oxu_to_hcd(oxu), urb, urb->status); in ehci_urb_done()
1486 HC_IS_RUNNING(oxu_to_hcd(oxu)->state))) { in qh_completions()
1492 if (unlikely(!HC_IS_RUNNING(oxu_to_hcd(oxu)->state))) in qh_completions()
1933 oxu_to_hcd(oxu)->state = HC_STATE_RUNNING; in qh_link_async()
2057 if (unlikely(!HCD_HW_ACCESSIBLE(oxu_to_hcd(oxu)))) { in submit_async()
2102 && HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in end_unlink_async()
2110 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state) in end_unlink_async()
2138 if (oxu_to_hcd(oxu)->state != HC_STATE_HALT in start_unlink_async()
2160 if (unlikely(oxu_to_hcd(oxu)->state == HC_STATE_HALT)) { in start_unlink_async()
2306 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in enable_periodic()
2307 usb_hc_died(oxu_to_hcd(oxu)); in enable_periodic()
2314 oxu_to_hcd(oxu)->state = HC_STATE_RUNNING; in enable_periodic()
2332 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in disable_periodic()
2333 usb_hc_died(oxu_to_hcd(oxu)); in disable_periodic()
2405 oxu_to_hcd(oxu)->self.bandwidth_allocated += qh->period in qh_link_periodic()
2438 oxu_to_hcd(oxu)->self.bandwidth_allocated -= qh->period in qh_unlink_periodic()
2625 if (unlikely(!HCD_HW_ACCESSIBLE(oxu_to_hcd(oxu)))) { in intr_submit()
2648 oxu_to_hcd(oxu)->self.bandwidth_int_reqs++; in intr_submit()
2685 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in scan_periodic()
2749 if (!HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in scan_periodic()
2787 oxu_hub_control(oxu_to_hcd(oxu), SetPortFeature, in ehci_port_power()
2790 oxu_hub_control(oxu_to_hcd(oxu), ClearPortFeature, in ehci_port_power()
2822 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state) && in ehci_work()
2833 && HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) { in unlink_async()
2844 } else if (!HC_IS_RUNNING(oxu_to_hcd(oxu)->state) && oxu->reclaim) in unlink_async()
3681 mod_timer(&oxu_to_hcd(oxu)->rh_timer, in oxu_hub_control()