Lines Matching refs:ohci_to_hcd
52 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--;
53 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) {
61 ohci_to_hcd(ohci)->self.bandwidth_int_reqs--;
70 usb_hcd_unlink_urb_from_ep(ohci_to_hcd(ohci), urb);
72 usb_hcd_giveback_urb(ohci_to_hcd(ohci), urb, status);
76 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0
77 && ohci_to_hcd(ohci)->self.bandwidth_int_reqs == 0) {
160 ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval;
273 ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval;
614 periodic = ohci_to_hcd(ohci)->self.bandwidth_int_reqs++ == 0
615 && ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0;
682 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) {
688 periodic = ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs++ == 0
689 && ohci_to_hcd(ohci)->self.bandwidth_int_reqs == 0;
910 if (likely (HC_IS_RUNNING(ohci_to_hcd(ohci)->state))) {
1010 if (HC_IS_RUNNING(ohci_to_hcd(ohci)->state))
1019 if (HC_IS_RUNNING(ohci_to_hcd(ohci)->state)
1020 && ohci_to_hcd(ohci)->state != HC_STATE_QUIESCING