Lines Matching refs:oxu_to_hcd

458 		dev_dbg(oxu_to_hcd(oxu)->self.controller , fmt , ## args)
460 dev_err(oxu_to_hcd(oxu)->self.controller , fmt , ## args)
462 dev_info(oxu_to_hcd(oxu)->self.controller , fmt , ## args)
468 static inline struct usb_hcd *oxu_to_hcd(struct oxu_hcd *oxu) in oxu_to_hcd() function
778 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in ehci_reset()
797 BUG_ON(!HC_IS_RUNNING(oxu_to_hcd(oxu)->state)); in ehci_quiesce()
805 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in ehci_quiesce()
817 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in ehci_quiesce()
1334 oxu_to_hcd(oxu)->self.bandwidth_int_reqs--; in ehci_urb_done()
1366 usb_hcd_giveback_urb(oxu_to_hcd(oxu), urb, urb->status); in ehci_urb_done()
1461 HC_IS_RUNNING(oxu_to_hcd(oxu)->state))) { in qh_completions()
1467 if (unlikely(!HC_IS_RUNNING(oxu_to_hcd(oxu)->state))) in qh_completions()
1908 oxu_to_hcd(oxu)->state = HC_STATE_RUNNING; in qh_link_async()
2032 if (unlikely(!HCD_HW_ACCESSIBLE(oxu_to_hcd(oxu)))) { in submit_async()
2077 && HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in end_unlink_async()
2085 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state) in end_unlink_async()
2113 if (oxu_to_hcd(oxu)->state != HC_STATE_HALT in start_unlink_async()
2135 if (unlikely(oxu_to_hcd(oxu)->state == HC_STATE_HALT)) { in start_unlink_async()
2281 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in enable_periodic()
2282 usb_hc_died(oxu_to_hcd(oxu)); in enable_periodic()
2289 oxu_to_hcd(oxu)->state = HC_STATE_RUNNING; in enable_periodic()
2307 oxu_to_hcd(oxu)->state = HC_STATE_HALT; in disable_periodic()
2308 usb_hc_died(oxu_to_hcd(oxu)); in disable_periodic()
2380 oxu_to_hcd(oxu)->self.bandwidth_allocated += qh->period in qh_link_periodic()
2413 oxu_to_hcd(oxu)->self.bandwidth_allocated -= qh->period in qh_unlink_periodic()
2600 if (unlikely(!HCD_HW_ACCESSIBLE(oxu_to_hcd(oxu)))) { in intr_submit()
2623 oxu_to_hcd(oxu)->self.bandwidth_int_reqs++; in intr_submit()
2660 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in scan_periodic()
2724 if (!HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) in scan_periodic()
2762 oxu_hub_control(oxu_to_hcd(oxu), SetPortFeature, in ehci_port_power()
2765 oxu_hub_control(oxu_to_hcd(oxu), ClearPortFeature, in ehci_port_power()
2797 if (HC_IS_RUNNING(oxu_to_hcd(oxu)->state) && in ehci_work()
2808 && HC_IS_RUNNING(oxu_to_hcd(oxu)->state)) { in unlink_async()
2819 } else if (!HC_IS_RUNNING(oxu_to_hcd(oxu)->state) && oxu->reclaim) in unlink_async()
3656 mod_timer(&oxu_to_hcd(oxu)->rh_timer, in oxu_hub_control()