| /linux/drivers/usb/host/ |
| H A D | xhci-debugfs.h | 107 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 …]
|
| H A D | xhci.h | 678 struct xhci_hcd *xhci; 1501 struct xhci_hcd { struct 1698 static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd) in hcd_to_xhci() 1707 return (struct xhci_hcd *) (primary_hcd->hcd_priv); in hcd_to_xhci() 1710 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) in xhci_to_hcd() 1715 static inline struct usb_hcd *xhci_get_usb3_hcd(struct xhci_hcd *xhci) in xhci_get_usb3_hcd() 1728 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_hcd_is_usb3() 1733 static inline bool xhci_has_one_roothub(struct xhci_hcd *xhci) in xhci_has_one_roothub() 1757 static inline u64 xhci_read_64(const struct xhci_hcd *xhci, in xhci_read_64() 1762 static inline void xhci_write_64(struct xhci_hcd *xhci, in xhci_write_64() [all …]
|
| H A D | xhci-dbgcap.h | 128 struct xhci_hcd *xhci; 209 int xhci_create_dbc_dev(struct xhci_hcd *xhci); 210 void xhci_remove_dbc_dev(struct xhci_hcd *xhci); 215 int xhci_dbc_tty_probe(struct device *dev, void __iomem *res, struct xhci_hcd *xhci); 226 int xhci_dbc_suspend(struct xhci_hcd *xhci); 227 int xhci_dbc_resume(struct xhci_hcd *xhci); 230 static inline int xhci_create_dbc_dev(struct xhci_hcd *xhci) in xhci_create_dbc_dev() 235 static inline void xhci_remove_dbc_dev(struct xhci_hcd *xhci) in xhci_remove_dbc_dev() 245 static inline int xhci_dbc_suspend(struct xhci_hcd *xhci) in xhci_dbc_suspend() 250 static inline int xhci_dbc_resume(struct xhci_hcd *xhci) in xhci_dbc_resume()
|
| H A D | xhci-debugfs.c | 86 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() 141 static void xhci_debugfs_extcap_regset(struct xhci_hcd *xhci, int cap_id, in xhci_debugfs_extcap_regset() 249 struct xhci_hcd *xhci; in xhci_slot_context_show() 271 struct xhci_hcd *xhci; in xhci_endpoint_context_show() 348 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write() 389 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_portli_show() 419 static void xhci_debugfs_create_files(struct xhci_hcd *xhci, in xhci_debugfs_create_files() 432 static struct dentry *xhci_debugfs_create_ring_dir(struct xhci_hcd *xhci, in xhci_debugfs_create_ring_dir() 446 static void xhci_debugfs_create_context_files(struct xhci_hcd *xhci, in xhci_debugfs_create_context_files() [all …]
|
| H A D | xhci-ring.c | 63 static int queue_command(struct xhci_hcd *xhci, struct xhci_command *cmd, 186 void inc_deq(struct xhci_hcd *xhci, struct xhci_ring *ring) in inc_deq() 232 static void inc_enq_past_link(struct xhci_hcd *xhci, struct xhci_ring *ring, u32 chain) in inc_enq_past_link() 283 static void inc_enq(struct xhci_hcd *xhci, struct xhci_ring *ring, in inc_enq() 379 static unsigned int xhci_ring_expansion_needed(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_ring_expansion_needed() 422 void xhci_ring_cmd_db(struct xhci_hcd *xhci) in xhci_ring_cmd_db() 436 static bool xhci_mod_cmd_timer(struct xhci_hcd *xhci) in xhci_mod_cmd_timer() 442 static struct xhci_command *xhci_next_queued_cmd(struct xhci_hcd *xhci) in xhci_next_queued_cmd() 453 static void xhci_handle_stopped_cmd_ring(struct xhci_hcd *xhci, in xhci_handle_stopped_cmd_ring() 490 static int xhci_abort_cmd_ring(struct xhci_hcd *xhci, unsigned long flags) in xhci_abort_cmd_ring() [all …]
|
| H A D | xhci-mem.c | 29 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci, in xhci_segment_alloc() 64 static void xhci_segment_free(struct xhci_hcd *xhci, struct xhci_segment *seg) in xhci_segment_free() 74 static void xhci_ring_segments_free(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_ring_segments_free() 116 static void xhci_initialize_ring_segments(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_initialize_ring_segments() 136 static void xhci_link_rings(struct xhci_hcd *xhci, struct xhci_ring *src, struct xhci_ring *dst) in xhci_link_rings() 289 void xhci_ring_free(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_ring_free() 330 static int xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, struct xhci_ring *ring, gfp_t flags) in xhci_alloc_segments_for_ring() 370 struct xhci_ring *xhci_ring_alloc(struct xhci_hcd *xhci, unsigned int num_segs, in xhci_ring_alloc() 402 void xhci_free_endpoint_ring(struct xhci_hcd *xhci, in xhci_free_endpoint_ring() 414 int xhci_ring_expansion(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_ring_expansion() [all …]
|
| H A D | xhci.c | 103 void xhci_quiesce(struct xhci_hcd *xhci) in xhci_quiesce() 127 int xhci_halt(struct xhci_hcd *xhci) in xhci_halt() 151 int xhci_start(struct xhci_hcd *xhci) in xhci_start() 188 int xhci_reset(struct xhci_hcd *xhci, u64 timeout_us) in xhci_reset() 247 static void xhci_zero_64b_regs(struct xhci_hcd *xhci) in xhci_zero_64b_regs() 330 int xhci_disable_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_disable_interrupter() 371 struct xhci_hcd *xhci; in compliance_mode_recovery() 419 static void compliance_mode_recovery_timer_init(struct xhci_hcd *xhci) in compliance_mode_recovery_timer_init() 459 static int xhci_all_ports_seen_u0(struct xhci_hcd *xhci) in xhci_all_ports_seen_u0() 464 static void xhci_hcd_page_size(struct xhci_hcd *xhci) in xhci_hcd_page_size() [all …]
|
| H A D | xhci-pci.c | 116 static void xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs() 129 static void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix() 146 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_try_enable_msi() 226 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_stop() 235 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev) in xhci_pci_reinit() 251 static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_pci_quirks() 534 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_find_lpm_incapable_ports() 568 struct xhci_hcd *xhci; in xhci_pci_setup() 614 struct xhci_hcd *xhci; in xhci_pci_common_probe() 710 struct xhci_hcd *xhci; in xhci_pci_remove() [all …]
|
| H A D | xhci-hub.c | 36 static int xhci_create_usb3x_bos_desc(struct xhci_hcd *xhci, char *buf, in xhci_create_usb3x_bos_desc() 256 static void xhci_common_hub_descriptor(struct xhci_hcd *xhci, in xhci_common_hub_descriptor() 279 static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb2_hub_descriptor() 334 static void xhci_usb3_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb3_hub_descriptor() 367 static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_hub_descriptor() 458 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() 531 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() 550 static void xhci_disable_port(struct xhci_hcd *xhci, struct xhci_port *port) in xhci_disable_port() 580 static void xhci_clear_port_change_bit(struct xhci_hcd *xhci, u16 wValue, in xhci_clear_port_change_bit() 633 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_get_rhub() [all …]
|
| H A D | xhci-dbg.c | 13 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()
|
| H A D | xhci-dbgcap.c | 1043 struct xhci_hcd *xhci; in dbc_show() 1058 struct xhci_hcd *xhci; in dbc_store() 1079 struct xhci_hcd *xhci; in dbc_idVendor_show() 1092 struct xhci_hcd *xhci; in dbc_idVendor_store() 1121 struct xhci_hcd *xhci; in dbc_idProduct_show() 1134 struct xhci_hcd *xhci; in dbc_idProduct_store() 1162 struct xhci_hcd *xhci; in dbc_bcdDevice_show() 1175 struct xhci_hcd *xhci; in dbc_bcdDevice_store() 1204 struct xhci_hcd *xhci; in dbc_bInterfaceProtocol_show() 1217 struct xhci_hcd *xhci; in dbc_bInterfaceProtocol_store() [all …]
|
| H A D | xhci-ext-caps.c | 28 static int xhci_create_intel_xhci_sw_pdev(struct xhci_hcd *xhci, u32 cap_offset) in xhci_create_intel_xhci_sw_pdev() 84 int xhci_ext_cap_init(struct xhci_hcd *xhci) in xhci_ext_cap_init()
|
| H A D | xhci-mtk.c | 451 static void xhci_mtk_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_mtk_quirks() 515 struct xhci_hcd *xhci; in xhci_mtk_probe() 710 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_remove() 742 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_suspend() 777 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_resume() 809 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_runtime_suspend() 825 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_runtime_resume()
|
| H A D | xhci-mtk-sch.c | 130 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in get_bw_info() 887 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init() 915 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in add_ep_quirk() 955 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in drop_ep_quirk() 976 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_check_bandwidth() 1017 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_reset_bandwidth()
|
| H A D | xhci-sideband.c | 417 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_sideband_register() 475 struct xhci_hcd *xhci; in xhci_sideband_unregister()
|
| H A D | xhci-tegra.c | 1298 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_set_port_power() 1351 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_id_work() 1601 struct xhci_hcd *xhci; in tegra_xusb_probe() 1995 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_remove() 2054 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_check_ports() 2131 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_enable_phy_sleepwalk_wake() 2236 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_enter_elpg() 2306 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_exit_elpg() 2757 static void tegra_xhci_quirks(struct device *dev, struct xhci_hcd *xhci) in tegra_xhci_quirks() 2774 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in tegra_xhci_hub_control()
|
| H A D | xhci-trace.h | 19 #define TRACE_SYSTEM_VAR xhci_hcd 74 TP_PROTO(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx), 96 TP_PROTO(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx),
|
| H A D | xhci-dbgtty.c | 578 int xhci_dbc_tty_probe(struct device *dev, void __iomem *base, struct xhci_hcd *xhci) in xhci_dbc_tty_probe()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-pci-drivers-xhci_hcd | 1 What: /sys/bus/pci/drivers/xhci_hcd/.../dbc 27 What: /sys/bus/pci/drivers/xhci_hcd/.../dbc_idVendor 40 What: /sys/bus/pci/drivers/xhci_hcd/.../dbc_idProduct 52 What: /sys/bus/pci/drivers/xhci_hcd/.../dbc_bcdDevice 65 What: /sys/bus/pci/drivers/xhci_hcd/.../dbc_bInterfaceProtocol 79 What: /sys/bus/pci/drivers/xhci_hcd/.../dbc_poll_interval_ms
|
| /linux/Documentation/driver-api/usb/ |
| H A D | usb3-debug-port.rst | 75 [ 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
|