Lines Matching refs:ehci_to_hcd
601 ehci_to_hcd(ehci)->self.bandwidth_allocated += qh->ps.bw_period in qh_link_periodic()
639 ehci_to_hcd(ehci)->self.bandwidth_allocated -= qh->ps.bw_period in qh_unlink_periodic()
945 if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) { in intr_submit()
949 status = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb); in intr_submit()
979 ehci_to_hcd(ehci)->self.bandwidth_int_reqs++; in intr_submit()
983 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in intr_submit()
1106 ehci_to_hcd(ehci)->self.root_hub)) in iso_stream_init()
1516 ehci_to_hcd(ehci), urb->ep))) { in iso_stream_schedule()
1780 ehci_to_hcd(ehci)->self.bandwidth_allocated in itd_link_urb()
1783 if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) { in itd_link_urb()
1788 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs++; in itd_link_urb()
1911 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--; in itd_complete()
1912 if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) { in itd_complete()
1918 ehci_to_hcd(ehci)->self.bandwidth_allocated in itd_complete()
1978 if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) { in itd_submit()
1982 status = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb); in itd_submit()
1992 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in itd_submit()
2183 ehci_to_hcd(ehci)->self.bandwidth_allocated in sitd_link_urb()
2186 if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) { in sitd_link_urb()
2191 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs++; in sitd_link_urb()
2292 ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--; in sitd_complete()
2293 if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) { in sitd_complete()
2299 ehci_to_hcd(ehci)->self.bandwidth_allocated in sitd_complete()
2356 if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) { in sitd_submit()
2360 status = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb); in sitd_submit()
2370 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in sitd_submit()