Home
last modified time | relevance | path

Searched refs:ehci_to_hcd (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/drivers/usb/host/
Dehci-mem.c128 dma_free_coherent(ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_cleanup()
145 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init()
155 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init()
169 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init()
179 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init()
189 dma_alloc_coherent(ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init()
Dehci-sched.c570 ehci_to_hcd(ehci)->self.bandwidth_allocated += qh->ps.bw_period in qh_link_periodic()
608 ehci_to_hcd(ehci)->self.bandwidth_allocated -= qh->ps.bw_period in qh_unlink_periodic()
914 if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) { in intr_submit()
918 status = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb); in intr_submit()
949 ehci_to_hcd(ehci)->self.bandwidth_int_reqs++; in intr_submit()
953 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in intr_submit()
1071 ehci_to_hcd(ehci)->self.root_hub)) in iso_stream_init()
1481 ehci_to_hcd(ehci), urb->ep))) { in iso_stream_schedule()
1745 ehci_to_hcd(ehci)->self.bandwidth_allocated in itd_link_urb()
1748 if (ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs == 0) { in itd_link_urb()
[all …]
Dehci.h266 static inline struct usb_hcd *ehci_to_hcd(struct ehci_hcd *ehci) in ehci_to_hcd() function
651 #define ehci_is_TDI(e) (ehci_to_hcd(e)->has_tt)
860 dev_dbg(ehci_to_hcd(ehci)->self.controller, fmt, ## args)
862 dev_err(ehci_to_hcd(ehci)->self.controller, fmt, ## args)
864 dev_info(ehci_to_hcd(ehci)->self.controller, fmt, ## args)
866 dev_warn(ehci_to_hcd(ehci)->self.controller, fmt, ## args)
Dehci-sysfs.c151 struct device *controller = ehci_to_hcd(ehci)->self.controller; in create_sysfs_files()
167 struct device *controller = ehci_to_hcd(ehci)->self.controller; in remove_sysfs_files()
Dehci-q.c175 ehci_to_hcd(ehci)->self.root_hub) { in ehci_clear_tt_buffer()
255 ehci_to_hcd(ehci)->self.bandwidth_int_reqs--; in ehci_urb_done()
277 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in ehci_urb_done()
278 usb_hcd_giveback_urb(ehci_to_hcd(ehci), urb, status); in ehci_urb_done()
902 if (tt && tt->hub != ehci_to_hcd(ehci)->self.root_hub) in qh_make()
1129 if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) { in submit_async()
1133 rc = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb); in submit_async()
1139 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in submit_async()
Dehci-hub.c39 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_handover_companion_ports()
157 if (!ehci_to_hcd(ehci)->self.root_hub->do_remote_wakeup || do_wakeup) in ehci_adjust_port_wakeup_flags()
207 usb_hcd_resume_root_hub(ehci_to_hcd(ehci)); in ehci_adjust_port_wakeup_flags()
1043 mod_timer(&ehci_to_hcd(ehci)->rh_timer, in ehci_hub_control()
1336 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_port_power()
Dehci-fsl.c161 &ehci_to_hcd(ehci)->self); in fsl_ehci_drv_probe()
303 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_fsl_usb_setup()
Dehci-hcd.c204 synchronize_irq(ehci_to_hcd(ehci)->irq); in ehci_halt()
237 if (ehci->debug && !dbgp_reset_prep(ehci_to_hcd(ehci))) in ehci_reset()
260 dbgp_external_startup(ehci_to_hcd(ehci)); in ehci_reset()
Dehci-platform.c170 struct usb_hcd *hcd = ehci_to_hcd(ehci); in quirk_poll_rebind_companion()
Dehci-dbg.c803 pdev = to_pci_dev(ehci_to_hcd(ehci)->self.controller); in fill_registers_buffer()
1028 struct usb_bus *bus = &ehci_to_hcd(ehci)->self; in create_debug_files()