Home
last modified time | relevance | path

Searched refs:xhci_to_hcd (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-pci.c94 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_msix_sync_irqs()
108 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_cleanup_msix()
119 free_irq(pci_irq_vector(pdev, i), xhci_to_hcd(xhci)); in xhci_cleanup_msix()
121 free_irq(pci_irq_vector(pdev, 0), xhci_to_hcd(xhci)); in xhci_cleanup_msix()
137 struct pci_dev *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.controller); in xhci_setup_msi()
147 0, "xhci_hcd", xhci_to_hcd(xhci)); in xhci_setup_msi()
163 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_setup_msix()
186 "xhci_hcd", xhci_to_hcd(xhci)); in xhci_setup_msix()
197 free_irq(pci_irq_vector(pdev, i), xhci_to_hcd(xhci)); in xhci_setup_msix()
208 pdev = to_pci_dev(xhci_to_hcd(xhc in xhci_try_enable_msi()
[all...]
H A Dxhci-mem.c37 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_segment_alloc()
377 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_ring_alloc()
464 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_container_ctx()
534 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_free_stream_ctx()
559 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx()
599 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info()
810 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info()
1626 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc()
1690 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free()
1714 struct device *dev = xhci_to_hcd(xhc in xhci_alloc_command()
[all...]
H A Dxhci-ext-caps.c30 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_create_intel_xhci_sw_pdev()
H A Dxhci.h1976 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) in xhci_to_hcd() function
2006 dev_dbg(xhci_to_hcd(xhci)->self.controller , fmt , ## args)
2008 dev_err(xhci_to_hcd(xhci)->self.controller , fmt , ## args)
2010 dev_warn(xhci_to_hcd(xhci)->self.controller , fmt , ## args)
2012 dev_warn_ratelimited(xhci_to_hcd(xhci)->self.controller , fmt , ## args)
2014 dev_info(xhci_to_hcd(xhci)->self.controller , fmt , ## args)
H A Dxhci-debugfs.c122 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_debugfs_regset()
655 struct device *dev = xhci_to_hcd(xhci)->self.controller; in xhci_debugfs_init()
H A Dxhci-ring.c786 xhci_to_hcd(xhci)->self.bandwidth_isoc_reqs--; in xhci_giveback_urb_in_irq()
787 if (xhci_to_hcd(xhci)->self.bandwidth_isoc_reqs == 0) { in xhci_giveback_urb_in_irq()
801 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_unmap_td_bounce_buffer()
1273 usb_hc_died(xhci_to_hcd(xhci)); in xhci_hc_died()
1842 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_cavium_reset_phy_quirk()
2111 (td->urb->dev->tt->hub != xhci_to_hcd(xhci)->self.root_hub) && in xhci_clear_hub_tt_buffer()
3524 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_align_td()
4202 if (xhci_to_hcd(xhci)->self.bandwidth_isoc_reqs == 0) { in xhci_queue_isoc_tx()
4206 xhci_to_hcd(xhci)->self.bandwidth_isoc_reqs++; in xhci_queue_isoc_tx()
H A Dxhci-mtk.c453 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_mtk_quirks()
H A Dxhci.c209 usb_asmedia_modifyflowcontrol(to_pci_dev(xhci_to_hcd(xhci)->self.controller)); in xhci_reset()
231 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs()
853 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_suspend()
967 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_resume()
3209 ret = xhci_check_args(xhci_to_hcd(xhci), udev, ep, 1, true, __func__); in xhci_check_streams_endpoint()
H A Dxhci-hub.c759 pm_runtime_forbid(xhci_to_hcd(xhci)->self.controller);
782 pm_runtime_allow(xhci_to_hcd(xhci)->self.controller); in xhci_exit_test_mode()
H A Dxhci-dbgcap.c1212 dev = xhci_to_hcd(xhci)->self.controller; in xhci_create_dbc_dev()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-mem.c36 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_segment_alloc()
377 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_ring_alloc()
473 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_container_ctx()
543 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_free_stream_ctx()
571 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx()
631 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info()
854 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info()
1675 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc()
1740 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free()
1764 struct device *dev = xhci_to_hcd(xhc in xhci_alloc_command()
[all...]
H A Dxhci-ext-caps.c30 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_create_intel_xhci_sw_pdev()
H A Dxhci.c207 usb_asmedia_modifyflowcontrol(to_pci_dev(xhci_to_hcd(xhci)->self.controller)); in xhci_reset()
229 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs()
307 struct pci_dev *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.controller); in xhci_setup_msi()
317 0, "xhci_hcd", xhci_to_hcd(xhci)); in xhci_setup_msi()
333 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_setup_msix()
356 "xhci_hcd", xhci_to_hcd(xhci)); in xhci_setup_msix()
367 free_irq(pci_irq_vector(pdev, i), xhci_to_hcd(xhci)); in xhci_setup_msix()
375 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_cleanup_msix()
389 free_irq(pci_irq_vector(pdev, i), xhci_to_hcd(xhci)); in xhci_cleanup_msix()
391 free_irq(pci_irq_vector(pdev, 0), xhci_to_hcd(xhc in xhci_cleanup_msix()
[all...]
H A Dxhci.h1961 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) in xhci_to_hcd() function
1967 dev_dbg(xhci_to_hcd(xhci)->self.controller , fmt , ## args)
1969 dev_err(xhci_to_hcd(xhci)->self.controller , fmt , ## args)
1971 dev_warn(xhci_to_hcd(xhci)->self.controller , fmt , ## args)
1973 dev_warn_ratelimited(xhci_to_hcd(xhci)->self.controller , fmt , ## args)
1975 dev_info(xhci_to_hcd(xhci)->self.controller , fmt , ## args)
H A Dxhci-debugfs.c122 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_debugfs_regset()
655 struct device *dev = xhci_to_hcd(xhci)->self.controller; in xhci_debugfs_init()
H A Dxhci-ring.c730 xhci_to_hcd(xhci)->self.bandwidth_isoc_reqs--; in xhci_giveback_urb_in_irq()
731 if (xhci_to_hcd(xhci)->self.bandwidth_isoc_reqs == 0) { in xhci_giveback_urb_in_irq()
745 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_unmap_td_bounce_buffer()
1115 usb_hc_died(xhci_to_hcd(xhci)); in xhci_hc_died()
1746 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_cavium_reset_phy_quirk()
2013 (td->urb->dev->tt->hub != xhci_to_hcd(xhci)->self.root_hub) && in xhci_clear_hub_tt_buffer()
3374 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_align_td()
4052 if (xhci_to_hcd(xhci)->self.bandwidth_isoc_reqs == 0) { in xhci_queue_isoc_tx()
4056 xhci_to_hcd(xhci)->self.bandwidth_isoc_reqs++; in xhci_queue_isoc_tx()
H A Dxhci-dbgcap.c963 dbc->dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_do_dbc_init()
1032 struct device *dev = xhci_to_hcd(xhci)->self.controller; in xhci_dbc_init()
1058 struct device *dev = xhci_to_hcd(xhci)->self.controller; in xhci_dbc_exit()
H A Dxhci-trace.h91 udev = to_usb_device(xhci_to_hcd(xhci)->self.controller);
H A Dxhci-mtk.c383 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_mtk_quirks()
H A Dxhci-hub.c654 pm_runtime_forbid(xhci_to_hcd(xhci)->self.controller);
677 pm_runtime_allow(xhci_to_hcd(xhci)->self.controller); in xhci_exit_test_mode()

Completed in 47 milliseconds