Home
last modified time | relevance | path

Searched refs:xhci_hcd (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.10/drivers/usb/host/
Dxhci-debugfs.h107 void xhci_debugfs_init(struct xhci_hcd *xhci);
108 void xhci_debugfs_exit(struct xhci_hcd *xhci);
111 void xhci_debugfs_create_slot(struct xhci_hcd *xhci, int slot_id);
112 void xhci_debugfs_remove_slot(struct xhci_hcd *xhci, int slot_id);
113 void xhci_debugfs_create_endpoint(struct xhci_hcd *xhci,
116 void xhci_debugfs_remove_endpoint(struct xhci_hcd *xhci,
119 void xhci_debugfs_create_stream_files(struct xhci_hcd *xhci,
123 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()
127 static inline void xhci_debugfs_create_slot(struct xhci_hcd *x, int s) { } in xhci_debugfs_create_slot()
[all …]
Dxhci.h945 struct xhci_hcd *xhci;
1734 struct xhci_hcd { struct
1923 static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd) in hcd_to_xhci() argument
1932 return (struct xhci_hcd *) (primary_hcd->hcd_priv); in hcd_to_xhci()
1935 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) in xhci_to_hcd()
1960 static inline u64 xhci_read_64(const struct xhci_hcd *xhci, in xhci_read_64()
1965 static inline void xhci_write_64(struct xhci_hcd *xhci, in xhci_write_64()
1971 static inline int xhci_link_trb_quirk(struct xhci_hcd *xhci) in xhci_link_trb_quirk()
1977 char *xhci_get_slot_state(struct xhci_hcd *xhci,
1979 void xhci_dbg_trace(struct xhci_hcd *xhci, void (*trace)(struct va_format *),
[all …]
Dxhci-dbgcap.h123 struct xhci_hcd *xhci;
197 int xhci_dbc_init(struct xhci_hcd *xhci);
198 void xhci_dbc_exit(struct xhci_hcd *xhci);
199 int xhci_dbc_tty_probe(struct xhci_hcd *xhci);
207 int xhci_dbc_suspend(struct xhci_hcd *xhci);
208 int xhci_dbc_resume(struct xhci_hcd *xhci);
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-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()
389 void xhci_ring_ep_doorbell(struct xhci_hcd *xhci, in xhci_ring_ep_doorbell()
[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()
259 struct xhci_hcd *xhci; in xhci_slot_context_show()
279 struct xhci_hcd *xhci; in xhci_endpoint_context_show()
361 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
399 static void xhci_debugfs_create_files(struct xhci_hcd *xhci, in xhci_debugfs_create_files()
411 static struct dentry *xhci_debugfs_create_ring_dir(struct xhci_hcd *xhci, in xhci_debugfs_create_ring_dir()
425 static void xhci_debugfs_create_context_files(struct xhci_hcd *xhci, in xhci_debugfs_create_context_files()
437 void xhci_debugfs_create_endpoint(struct xhci_hcd *xhci, in xhci_debugfs_create_endpoint()
[all …]
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()
166 int xhci_reset(struct xhci_hcd *xhci) in xhci_reset()
226 static void xhci_zero_64b_regs(struct xhci_hcd *xhci) in xhci_zero_64b_regs()
293 static int xhci_setup_msi(struct xhci_hcd *xhci) in xhci_setup_msi()
322 static int xhci_setup_msix(struct xhci_hcd *xhci) in xhci_setup_msix()
365 static void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix()
390 static void __maybe_unused xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs()
405 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_try_enable_msi()
[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()
193 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()
279 static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_hub_descriptor()
360 int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_find_slot_id_by_port()
388 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device()
461 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device()
480 static void xhci_disable_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_disable_port()
503 static void xhci_clear_port_change_bit(struct xhci_hcd *xhci, u16 wValue, in xhci_clear_port_change_bit()
[all …]
Dxhci-pci.c79 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev) in xhci_pci_reinit()
95 static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_pci_quirks()
318 struct xhci_hcd *xhci; in xhci_pci_setup()
352 struct xhci_hcd *xhci; in xhci_pci_probe()
427 struct xhci_hcd *xhci; in xhci_pci_remove()
461 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_ssic_port_unused_quirk()
496 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pme_quirk()
517 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_suspend()
546 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_resume()
585 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_shutdown()
Dxhci-plat.c77 static void xhci_plat_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_plat_quirks()
181 struct xhci_hcd *xhci; in xhci_plat_probe()
387 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_remove()
416 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_suspend()
432 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_resume()
453 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_suspend()
466 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_resume()
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-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()
326 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_remove()
350 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_suspend()
365 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_resume()
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.c379 static void xhci_mtk_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_mtk_quirks()
431 struct xhci_hcd *xhci; in xhci_mtk_probe()
587 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_remove()
618 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_suspend()
636 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_resume()
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()
1011 struct xhci_hcd *xhci; in dbc_store()
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-mvebu.c79 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mvebu_a3700_init_quirk()
Dxhci-mtk-sch.c52 static int get_bw_index(struct xhci_hcd *xhci, struct usb_device *udev, in get_bw_index()
569 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init()
600 struct xhci_hcd *xhci; in xhci_mtk_add_ep_quirk()
673 struct xhci_hcd *xhci; in xhci_mtk_drop_ep_quirk()
Dxhci-tegra.c1100 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_set_port_power()
1153 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_id_work()
1302 struct xhci_hcd *xhci; in tegra_xusb_probe()
1644 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_remove()
1699 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_check_ports()
1750 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_enter_elpg()
1774 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_exit_elpg()
2055 static void tegra_xhci_quirks(struct device *dev, struct xhci_hcd *xhci) in tegra_xhci_quirks()
Dxhci-trace.h19 #define TRACE_SYSTEM_VAR xhci_hcd
76 TP_PROTO(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx,
111 TP_PROTO(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx,
Dxhci-dbgtty.c473 int xhci_dbc_tty_probe(struct xhci_hcd *xhci) in xhci_dbc_tty_probe()
/Linux-v5.10/Documentation/driver-api/usb/
Dusb3-debug-port.rst75 [ 1815.983374] usb 4-3: new SuperSpeed USB device number 4 using xhci_hcd
130 [ 182.730103] xhci_hcd 0000:00:14.0: DbC connected
131 [ 191.169420] xhci_hcd 0000:00:14.0: DbC configured
132 [ 191.169597] xhci_hcd 0000:00:14.0: DbC now attached to /dev/ttyDBC0
143 [ 79.454780] usb 2-2.1: new SuperSpeed USB device number 3 using xhci_hcd
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-bus-pci-drivers-xhci_hcd1 What: /sys/bus/pci/drivers/xhci_hcd/.../dbc