Lines Matching refs:ehci_to_hcd
590 ehci_to_hcd(ehci)->self.bandwidth_allocated += qh->ps.bw_period in qh_link_periodic()
628 ehci_to_hcd(ehci)->self.bandwidth_allocated -= qh->ps.bw_period in qh_unlink_periodic()
934 if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) { in intr_submit()
938 status = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb); in intr_submit()
969 ehci_to_hcd(ehci)->self.bandwidth_int_reqs++; in intr_submit()
973 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in intr_submit()
1091 ehci_to_hcd(ehci)->self.root_hub)) in iso_stream_init()
1501 ehci_to_hcd(ehci), urb->ep))) { in iso_stream_schedule()
1765 ehci_to_hcd(ehci)->self.bandwidth_allocated in itd_link_urb()
1768 if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) { in itd_link_urb()
1773 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs++; in itd_link_urb()
1895 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--; in itd_complete()
1896 if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) { in itd_complete()
1902 ehci_to_hcd(ehci)->self.bandwidth_allocated in itd_complete()
1962 if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) { in itd_submit()
1966 status = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb); in itd_submit()
1976 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in itd_submit()
2167 ehci_to_hcd(ehci)->self.bandwidth_allocated in sitd_link_urb()
2170 if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) { in sitd_link_urb()
2175 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs++; in sitd_link_urb()
2275 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--; in sitd_complete()
2276 if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) { in sitd_complete()
2282 ehci_to_hcd(ehci)->self.bandwidth_allocated in sitd_complete()
2339 if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) { in sitd_submit()
2343 status = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb); in sitd_submit()
2353 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in sitd_submit()