/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ehci-mem.c | 128 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()
|
H A D | ehci-sched.c | 570 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(ehc in itd_link_urb() [all...] |
H A D | ehci.h | 267 static inline struct usb_hcd *ehci_to_hcd(struct ehci_hcd *ehci) in ehci_to_hcd() function 652 #define ehci_is_TDI(e) (ehci_to_hcd(e)->has_tt) 861 dev_dbg(ehci_to_hcd(ehci)->self.controller, fmt, ## args) 863 dev_err(ehci_to_hcd(ehci)->self.controller, fmt, ## args) 865 dev_info(ehci_to_hcd(ehci)->self.controller, fmt, ## args) 867 dev_warn(ehci_to_hcd(ehci)->self.controller, fmt, ## args)
|
H A D | ehci-sysfs.c | 151 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()
|
H A D | ehci-q.c | 175 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()
|
H A D | ehci-hub.c | 39 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() 1046 mod_timer(&ehci_to_hcd(ehci)->rh_timer, in ehci_hub_control() 1339 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_port_power()
|
H A D | ehci-fsl.c | 161 &ehci_to_hcd(ehci)->self); in fsl_ehci_drv_probe() 303 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_fsl_usb_setup()
|
H A D | ehci-hcd.c | 204 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()
|
H A D | ehci-platform.c | 170 struct usb_hcd *hcd = ehci_to_hcd(ehci); in quirk_poll_rebind_companion()
|
H A D | ehci-dbg.c | 803 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()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ehci-mem.c | 127 dma_free_coherent(ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_cleanup() 144 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 154 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 168 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 178 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 188 dma_alloc_coherent(ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init()
|
H A D | ehci-sched.c | 577 ehci_to_hcd(ehci)->self.bandwidth_allocated += qh->ps.bw_period in qh_link_periodic() 615 ehci_to_hcd(ehci)->self.bandwidth_allocated -= qh->ps.bw_period in qh_unlink_periodic() 921 if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) { in intr_submit() 925 status = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb); in intr_submit() 956 ehci_to_hcd(ehci)->self.bandwidth_int_reqs++; in intr_submit() 960 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in intr_submit() 1078 ehci_to_hcd(ehci)->self.root_hub)) in iso_stream_init() 1492 ehci_to_hcd(ehci), urb->ep))) { in iso_stream_schedule() 1756 ehci_to_hcd(ehci)->self.bandwidth_allocated in itd_link_urb() 1759 if (ehci_to_hcd(ehc in itd_link_urb() [all...] |
H A D | ehci.h | 270 static inline struct usb_hcd *ehci_to_hcd(struct ehci_hcd *ehci) in ehci_to_hcd() function 655 #define ehci_is_TDI(e) (ehci_to_hcd(e)->has_tt) 873 dev_dbg(ehci_to_hcd(ehci)->self.controller, fmt, ## args) 875 dev_err(ehci_to_hcd(ehci)->self.controller, fmt, ## args) 877 dev_info(ehci_to_hcd(ehci)->self.controller, fmt, ## args) 879 dev_warn(ehci_to_hcd(ehci)->self.controller, fmt, ## args)
|
H A D | ehci-sysfs.c | 151 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()
|
H A D | ehci-q.c | 176 ehci_to_hcd(ehci)->self.root_hub) { in ehci_clear_tt_buffer() 256 ehci_to_hcd(ehci)->self.bandwidth_int_reqs--; in ehci_urb_done() 278 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in ehci_urb_done() 279 usb_hcd_giveback_urb(ehci_to_hcd(ehci), urb, status); in ehci_urb_done() 903 if (tt && tt->hub != ehci_to_hcd(ehci)->self.root_hub) in qh_make() 1130 if (unlikely(!HCD_HW_ACCESSIBLE(ehci_to_hcd(ehci)))) { in submit_async() 1134 rc = usb_hcd_link_urb_to_ep(ehci_to_hcd(ehci), urb); in submit_async() 1140 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); in submit_async()
|
H A D | ehci-hub.c | 39 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() 916 mod_timer(&ehci_to_hcd(ehci)->rh_timer, in ehci_hub_control() 1209 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_port_power()
|
H A D | ehci-fsl.c | 155 &ehci_to_hcd(ehci)->self); in fsl_ehci_drv_probe() 297 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_fsl_usb_setup()
|
H A D | ehci-hcd.c | 205 synchronize_irq(ehci_to_hcd(ehci)->irq); in ehci_halt() 238 if (ehci->debug && !dbgp_reset_prep(ehci_to_hcd(ehci))) in ehci_reset() 261 dbgp_external_startup(ehci_to_hcd(ehci)); in ehci_reset()
|
H A D | ehci-platform.c | 167 struct usb_hcd *hcd = ehci_to_hcd(ehci); in quirk_poll_rebind_companion()
|
H A D | ehci-dbg.c | 803 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()
|