/drivers/usb/host/ |
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 …]
|
D | xhci.h | 957 struct xhci_hcd *xhci; 1765 struct xhci_hcd { struct 1975 static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd) in hcd_to_xhci() 1984 return (struct xhci_hcd *) (primary_hcd->hcd_priv); in hcd_to_xhci() 1987 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) in xhci_to_hcd() 2012 static inline u64 xhci_read_64(const struct xhci_hcd *xhci, in xhci_read_64() 2017 static inline void xhci_write_64(struct xhci_hcd *xhci, in xhci_write_64() 2023 static inline int xhci_link_trb_quirk(struct xhci_hcd *xhci) in xhci_link_trb_quirk() 2029 char *xhci_get_slot_state(struct xhci_hcd *xhci, 2031 void xhci_dbg_trace(struct xhci_hcd *xhci, void (*trace)(struct va_format *), [all …]
|
D | xhci-dbgcap.h | 123 struct xhci_hcd *xhci; 197 int xhci_create_dbc_dev(struct xhci_hcd *xhci); 198 void xhci_remove_dbc_dev(struct xhci_hcd *xhci); 199 int xhci_dbc_tty_probe(struct device *dev, void __iomem *res, struct xhci_hcd *xhci); 210 int xhci_dbc_suspend(struct xhci_hcd *xhci); 211 int xhci_dbc_resume(struct xhci_hcd *xhci); 214 static inline int xhci_create_dbc_dev(struct xhci_hcd *xhci) in xhci_create_dbc_dev() 219 static inline void xhci_remove_dbc_dev(struct xhci_hcd *xhci) in xhci_remove_dbc_dev() 223 static inline int xhci_dbc_suspend(struct xhci_hcd *xhci) in xhci_dbc_suspend() 228 static inline int xhci_dbc_resume(struct xhci_hcd *xhci) in xhci_dbc_resume()
|
D | xhci-ring.c | 61 static int queue_command(struct xhci_hcd *xhci, struct xhci_command *cmd, 143 static void next_trb(struct xhci_hcd *xhci, in next_trb() 159 void inc_deq(struct xhci_hcd *xhci, struct xhci_ring *ring) in inc_deq() 217 static void inc_enq(struct xhci_hcd *xhci, struct xhci_ring *ring, in inc_enq() 304 static inline int room_on_ring(struct xhci_hcd *xhci, struct xhci_ring *ring, in room_on_ring() 322 void xhci_ring_cmd_db(struct xhci_hcd *xhci) in xhci_ring_cmd_db() 337 static bool xhci_mod_cmd_timer(struct xhci_hcd *xhci, unsigned long delay) in xhci_mod_cmd_timer() 342 static struct xhci_command *xhci_next_queued_cmd(struct xhci_hcd *xhci) in xhci_next_queued_cmd() 353 static void xhci_handle_stopped_cmd_ring(struct xhci_hcd *xhci, in xhci_handle_stopped_cmd_ring() 389 static int xhci_abort_cmd_ring(struct xhci_hcd *xhci, unsigned long flags) in xhci_abort_cmd_ring() [all …]
|
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() 261 struct xhci_hcd *xhci; in xhci_slot_context_show() 283 struct xhci_hcd *xhci; in xhci_endpoint_context_show() 368 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write() 406 static void xhci_debugfs_create_files(struct xhci_hcd *xhci, in xhci_debugfs_create_files() 418 static struct dentry *xhci_debugfs_create_ring_dir(struct xhci_hcd *xhci, in xhci_debugfs_create_ring_dir() 432 static void xhci_debugfs_create_context_files(struct xhci_hcd *xhci, in xhci_debugfs_create_context_files() 444 void xhci_debugfs_create_endpoint(struct xhci_hcd *xhci, in xhci_debugfs_create_endpoint() [all …]
|
D | xhci.c | 90 void xhci_quiesce(struct xhci_hcd *xhci) in xhci_quiesce() 114 int xhci_halt(struct xhci_hcd *xhci) in xhci_halt() 134 int xhci_start(struct xhci_hcd *xhci) in xhci_start() 169 int xhci_reset(struct xhci_hcd *xhci, u64 timeout_us) in xhci_reset() 227 static void xhci_zero_64b_regs(struct xhci_hcd *xhci) in xhci_zero_64b_regs() 301 static int xhci_setup_msi(struct xhci_hcd *xhci) in xhci_setup_msi() 330 static int xhci_setup_msix(struct xhci_hcd *xhci) in xhci_setup_msix() 373 static void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix() 398 static void __maybe_unused xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs() 413 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_try_enable_msi() [all …]
|
D | xhci-mem.c | 28 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() 322 static int xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, in xhci_alloc_segments_for_ring() 372 struct xhci_ring *xhci_ring_alloc(struct xhci_hcd *xhci, in xhci_ring_alloc() 413 void xhci_free_endpoint_ring(struct xhci_hcd *xhci, in xhci_free_endpoint_ring() 425 int xhci_ring_expansion(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_ring_expansion() 471 struct xhci_container_ctx *xhci_alloc_container_ctx(struct xhci_hcd *xhci, in xhci_alloc_container_ctx() [all …]
|
D | xhci-hub.c | 35 static int xhci_create_usb3x_bos_desc(struct xhci_hcd *xhci, char *buf, in xhci_create_usb3x_bos_desc() 255 static void xhci_common_hub_descriptor(struct xhci_hcd *xhci, in xhci_common_hub_descriptor() 278 static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb2_hub_descriptor() 333 static void xhci_usb3_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_usb3_hub_descriptor() 366 static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_hub_descriptor() 447 int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_find_slot_id_by_port() 475 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() 548 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() 567 static void xhci_disable_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_disable_port() 590 static void xhci_clear_port_change_bit(struct xhci_hcd *xhci, u16 wValue, in xhci_clear_port_change_bit() [all …]
|
D | xhci-pci.c | 88 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev) in xhci_pci_reinit() 104 static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_pci_quirks() 374 struct xhci_hcd *xhci; in xhci_pci_setup() 408 struct xhci_hcd *xhci; in xhci_pci_probe() 487 struct xhci_hcd *xhci; in xhci_pci_remove() 519 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_ssic_port_unused_quirk() 554 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pme_quirk() 575 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_suspend() 611 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_resume() 650 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_shutdown()
|
D | xhci-plat.c | 87 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() 411 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_remove() 440 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_suspend() 468 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_resume() 509 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_suspend() 522 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_resume()
|
D | xhci-histb.c | 167 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()
|
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()
|
D | xhci-mtk.c | 426 static void xhci_mtk_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_mtk_quirks() 499 struct xhci_hcd *xhci; in xhci_mtk_probe() 689 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_remove() 718 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_suspend() 748 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_resume() 777 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_runtime_suspend() 793 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_runtime_resume()
|
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()
|
D | xhci-mvebu.c | 80 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mvebu_a3700_plat_setup() 121 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mvebu_a3700_init_quirk()
|
D | xhci-mtk-sch.c | 127 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in get_bw_info() 653 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init() 681 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in add_ep_quirk() 721 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in drop_ep_quirk() 742 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_check_bandwidth() 783 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_reset_bandwidth()
|
D | xhci-dbgcap.c | 923 struct xhci_hcd *xhci; in dbc_show() 958 struct xhci_hcd *xhci; in dbc_store() 1021 int xhci_create_dbc_dev(struct xhci_hcd *xhci) in xhci_create_dbc_dev() 1045 void xhci_remove_dbc_dev(struct xhci_hcd *xhci) in xhci_remove_dbc_dev() 1059 int xhci_dbc_suspend(struct xhci_hcd *xhci) in xhci_dbc_suspend() 1074 int xhci_dbc_resume(struct xhci_hcd *xhci) in xhci_dbc_resume()
|
D | xhci-tegra.c | 1157 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_set_port_power() 1210 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_id_work() 1407 struct xhci_hcd *xhci; in tegra_xusb_probe() 1776 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_remove() 1831 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_check_ports() 1908 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_enable_phy_sleepwalk_wake() 1977 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_enter_elpg() 2037 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_exit_elpg() 2426 static void tegra_xhci_quirks(struct device *dev, struct xhci_hcd *xhci) in tegra_xhci_quirks()
|
D | xhci-trace.h | 19 #define TRACE_SYSTEM_VAR xhci_hcd 74 TP_PROTO(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, 105 TP_PROTO(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx,
|
D | xhci-dbgtty.c | 471 int xhci_dbc_tty_probe(struct device *dev, void __iomem *base, struct xhci_hcd *xhci) in xhci_dbc_tty_probe()
|
/drivers/usb/cdns3/ |
D | host.c | 28 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_cdns3_plat_start()
|