Home
last modified time | relevance | path

Searched defs:xhci (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci.c87 void xhci_quiesce(struct xhci_hcd *xhci) in xhci_quiesce()
111 int xhci_halt(struct xhci_hcd *xhci) in xhci_halt()
131 int xhci_start(struct xhci_hcd *xhci) in xhci_start()
168 int xhci_reset(struct xhci_hcd *xhci, u64 timeout_us) in xhci_reset()
226 static void xhci_zero_64b_regs(struct xhci_hcd *xhci) in xhci_zero_64b_regs()
297 static int xhci_setup_msi(struct xhci_hcd *xhci) in xhci_setup_msi()
326 static int xhci_setup_msix(struct xhci_hcd *xhci) in xhci_setup_msix()
369 static void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix()
394 static void __maybe_unused xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs()
409 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_try_enable_msi() local
[all …]
Dxhci-ring.c139 static void next_trb(struct xhci_hcd *xhci, in next_trb()
156 void inc_deq(struct xhci_hcd *xhci, struct xhci_ring *ring) in inc_deq()
204 static void inc_enq(struct xhci_hcd *xhci, struct xhci_ring *ring, in inc_enq()
259 static inline int room_on_ring(struct xhci_hcd *xhci, struct xhci_ring *ring, in room_on_ring()
277 void xhci_ring_cmd_db(struct xhci_hcd *xhci) in xhci_ring_cmd_db()
291 static bool xhci_mod_cmd_timer(struct xhci_hcd *xhci, unsigned long delay) in xhci_mod_cmd_timer()
296 static struct xhci_command *xhci_next_queued_cmd(struct xhci_hcd *xhci) in xhci_next_queued_cmd()
307 static void xhci_handle_stopped_cmd_ring(struct xhci_hcd *xhci, in xhci_handle_stopped_cmd_ring()
343 static int xhci_abort_cmd_ring(struct xhci_hcd *xhci, unsigned long flags) in xhci_abort_cmd_ring()
402 void xhci_ring_ep_doorbell(struct xhci_hcd *xhci, in xhci_ring_ep_doorbell()
[all …]
Dxhci-mem.c28 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci, in xhci_segment_alloc()
68 static void xhci_segment_free(struct xhci_hcd *xhci, struct xhci_segment *seg) in xhci_segment_free()
78 static void xhci_free_segments_for_ring(struct xhci_hcd *xhci, in xhci_free_segments_for_ring()
126 static void xhci_link_rings(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_link_rings()
280 void xhci_ring_free(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_ring_free()
321 static int xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, in xhci_alloc_segments_for_ring()
371 struct xhci_ring *xhci_ring_alloc(struct xhci_hcd *xhci, in xhci_ring_alloc()
411 void xhci_free_endpoint_ring(struct xhci_hcd *xhci, in xhci_free_endpoint_ring()
423 int xhci_ring_expansion(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_ring_expansion()
469 struct xhci_container_ctx *xhci_alloc_container_ctx(struct xhci_hcd *xhci, in xhci_alloc_container_ctx()
[all …]
Dxhci-hub.c55 static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf, in xhci_create_usb3_bos_desc()
169 static void xhci_common_hub_descriptor(struct xhci_hcd *xhci, in xhci_common_hub_descriptor()
192 static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb2_hub_descriptor()
247 static void xhci_usb3_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb3_hub_descriptor()
280 static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_hub_descriptor()
361 int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_find_slot_id_by_port()
389 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device()
462 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device()
481 static void xhci_disable_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_disable_port()
504 static void xhci_clear_port_change_bit(struct xhci_hcd *xhci, u16 wValue, in xhci_clear_port_change_bit()
[all …]
Dxhci-debugfs.c86 static struct xhci_regset *xhci_debugfs_alloc_regset(struct xhci_hcd *xhci) in xhci_debugfs_alloc_regset()
114 static void xhci_debugfs_regset(struct xhci_hcd *xhci, u32 base, in xhci_debugfs_regset()
140 static void xhci_debugfs_extcap_regset(struct xhci_hcd *xhci, int cap_id, in xhci_debugfs_extcap_regset()
260 struct xhci_hcd *xhci; in xhci_slot_context_show() local
282 struct xhci_hcd *xhci; in xhci_endpoint_context_show() local
367 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write() local
405 static void xhci_debugfs_create_files(struct xhci_hcd *xhci, in xhci_debugfs_create_files()
417 static struct dentry *xhci_debugfs_create_ring_dir(struct xhci_hcd *xhci, in xhci_debugfs_create_ring_dir()
431 static void xhci_debugfs_create_context_files(struct xhci_hcd *xhci, in xhci_debugfs_create_context_files()
443 void xhci_debugfs_create_endpoint(struct xhci_hcd *xhci, in xhci_debugfs_create_endpoint()
[all …]
Dxhci-pci.c89 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev) in xhci_pci_reinit()
105 static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_pci_quirks()
357 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_find_lpm_incapable_ports() local
391 struct xhci_hcd *xhci; in xhci_pci_setup() local
435 struct xhci_hcd *xhci; in xhci_pci_probe() local
512 struct xhci_hcd *xhci; in xhci_pci_remove() local
546 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_ssic_port_unused_quirk() local
581 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pme_quirk() local
602 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_suspend() local
631 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_resume() local
[all …]
Dxhci-plat.c87 static void xhci_plat_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_plat_quirks()
192 struct xhci_hcd *xhci; in xhci_plat_probe() local
408 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_remove() local
437 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_suspend() local
465 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_resume() local
491 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_suspend() local
504 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_resume() local
Dxhci-histb.c167 static void xhci_histb_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_histb_quirks()
203 struct xhci_hcd *xhci; in xhci_histb_probe() local
326 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_remove() local
350 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_suspend() local
365 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_resume() local
Dxhci-dbg.c13 char *xhci_get_slot_state(struct xhci_hcd *xhci, in xhci_get_slot_state()
22 void xhci_dbg_trace(struct xhci_hcd *xhci, void (*trace)(struct va_format *), in xhci_dbg_trace()
Dxhci-dbgcap.c917 static void xhci_do_dbc_exit(struct xhci_hcd *xhci) in xhci_do_dbc_exit()
927 static int xhci_do_dbc_init(struct xhci_hcd *xhci) in xhci_do_dbc_init()
976 struct xhci_hcd *xhci; in dbc_show() local
1011 struct xhci_hcd *xhci; in dbc_store() local
1029 int xhci_dbc_init(struct xhci_hcd *xhci) in xhci_dbc_init()
1056 void xhci_dbc_exit(struct xhci_hcd *xhci) in xhci_dbc_exit()
1070 int xhci_dbc_suspend(struct xhci_hcd *xhci) in xhci_dbc_suspend()
1085 int xhci_dbc_resume(struct xhci_hcd *xhci) in xhci_dbc_resume()
Dxhci-debugfs.h123 static inline void xhci_debugfs_init(struct xhci_hcd *xhci) { } in xhci_debugfs_init()
124 static inline void xhci_debugfs_exit(struct xhci_hcd *xhci) { } in xhci_debugfs_exit()
130 xhci_debugfs_create_endpoint(struct xhci_hcd *xhci, in xhci_debugfs_create_endpoint()
134 xhci_debugfs_remove_endpoint(struct xhci_hcd *xhci, in xhci_debugfs_remove_endpoint()
138 xhci_debugfs_create_stream_files(struct xhci_hcd *xhci, in xhci_debugfs_create_stream_files()
Dxhci-ext-caps.c28 static int xhci_create_intel_xhci_sw_pdev(struct xhci_hcd *xhci, u32 cap_offset) in xhci_create_intel_xhci_sw_pdev()
83 int xhci_ext_cap_init(struct xhci_hcd *xhci) in xhci_ext_cap_init()
Dxhci-mtk.c381 static void xhci_mtk_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_mtk_quirks()
442 struct xhci_hcd *xhci; in xhci_mtk_probe() local
600 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_remove() local
631 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_suspend() local
649 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_resume() local
Dxhci-mvebu.c80 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mvebu_a3700_plat_setup() local
121 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mvebu_a3700_init_quirk() local
Dxhci-mtk-sch.c77 static int get_bw_index(struct xhci_hcd *xhci, struct usb_device *udev, in get_bw_index()
654 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init() local
687 struct xhci_hcd *xhci; in xhci_mtk_add_ep_quirk() local
733 struct xhci_hcd *xhci; in xhci_mtk_drop_ep_quirk() local
769 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_check_bandwidth() local
818 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_reset_bandwidth() local
Dxhci-dbgcap.h123 struct xhci_hcd *xhci; member
211 static inline int xhci_dbc_init(struct xhci_hcd *xhci) in xhci_dbc_init()
216 static inline void xhci_dbc_exit(struct xhci_hcd *xhci) in xhci_dbc_exit()
220 static inline int xhci_dbc_suspend(struct xhci_hcd *xhci) in xhci_dbc_suspend()
225 static inline int xhci_dbc_resume(struct xhci_hcd *xhci) in xhci_dbc_resume()
Dxhci-tegra.c1107 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_set_port_power() local
1160 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_id_work() local
1309 struct xhci_hcd *xhci; in tegra_xusb_probe() local
1651 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_remove() local
1706 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_check_ports() local
1757 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_enter_elpg() local
1781 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_exit_elpg() local
2062 static void tegra_xhci_quirks(struct device *dev, struct xhci_hcd *xhci) in tegra_xhci_quirks()
Dxhci.h954 struct xhci_hcd *xhci; member
1956 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) in xhci_to_hcd()
1961 #define xhci_dbg(xhci, fmt, args...) \ argument
1963 #define xhci_err(xhci, fmt, args...) \ argument
1965 #define xhci_warn(xhci, fmt, args...) \ argument
1967 #define xhci_warn_ratelimited(xhci, fmt, args...) \ argument
1969 #define xhci_info(xhci, fmt, args...) \ argument
1981 static inline u64 xhci_read_64(const struct xhci_hcd *xhci, in xhci_read_64()
1986 static inline void xhci_write_64(struct xhci_hcd *xhci, in xhci_write_64()
1992 static inline int xhci_link_trb_quirk(struct xhci_hcd *xhci) in xhci_link_trb_quirk()
[all …]
Dxhci-dbgtty.c471 int xhci_dbc_tty_probe(struct xhci_hcd *xhci) in xhci_dbc_tty_probe()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dhost.c33 struct platform_device *xhci; in __cdns3_host_init() local
92 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_cdns3_suspend_quirk() local
/kernel/linux/linux-5.10/drivers/usb/dwc3/
Dhost.c48 struct platform_device *xhci; in dwc3_host_init() local
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dbcm5301x.dtsi323 xhci: xhci@23000 { label
Dbcm-nsp.dtsi315 xhci: usb@29000 { label
Dr8a7790.dtsi1364 xhci: usb@ee000000 { label
/kernel/linux/linux-5.10/drivers/staging/mt7621-dts/
Dmt7621.dtsi348 xhci: xhci@1E1C0000 { label

12