/linux/drivers/usb/host/ |
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 | 90 void xhci_quiesce(struct xhci_hcd *xhci) in xhci_quiesce() 114 int xhci_halt(struct xhci_hcd *xhci) in xhci_halt() 138 int xhci_start(struct xhci_hcd *xhci) in xhci_start() 175 int xhci_reset(struct xhci_hcd *xhci, u64 timeout_us) in xhci_reset() 234 static void xhci_zero_64b_regs(struct xhci_hcd *xhci) in xhci_zero_64b_regs() 320 int xhci_disable_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_disable_interrupter() 360 struct xhci_hcd *xhci; in compliance_mode_recovery() local 408 static void compliance_mode_recovery_timer_init(struct xhci_hcd *xhci) in compliance_mode_recovery_timer_init() 448 static int xhci_all_ports_seen_u0(struct xhci_hcd *xhci) in xhci_all_ports_seen_u0() 453 static void xhci_hcd_page_size(struct xhci_hcd *xhci) in xhci_hcd_page_size() [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() local [all …]
|
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() local 271 struct xhci_hcd *xhci; in xhci_endpoint_context_show() local 348 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write() local 386 static void xhci_debugfs_create_files(struct xhci_hcd *xhci, in xhci_debugfs_create_files() 399 static struct dentry *xhci_debugfs_create_ring_dir(struct xhci_hcd *xhci, in xhci_debugfs_create_ring_dir() 413 static void xhci_debugfs_create_context_files(struct xhci_hcd *xhci, in xhci_debugfs_create_context_files() 425 void xhci_debugfs_create_endpoint(struct xhci_hcd *xhci, in xhci_debugfs_create_endpoint() [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() local 226 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_stop() local 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() local 568 struct xhci_hcd *xhci; in xhci_pci_setup() local 612 struct xhci_hcd *xhci; in xhci_pci_common_probe() local 703 struct xhci_hcd *xhci; in xhci_pci_remove() local [all …]
|
H A D | xhci-plat.c | 77 static void xhci_plat_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_plat_quirks() 149 struct xhci_hcd *xhci; in xhci_plat_probe() local 426 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_remove() local 460 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_suspend() local 489 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_resume_common() local 540 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_suspend() local 553 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_resume() local
|
H A D | xhci-debugfs.h | 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() 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()
|
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-histb.c | 193 struct xhci_hcd *xhci; in xhci_histb_probe() local 316 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_remove() local 338 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_suspend() local 353 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_histb_resume() local
|
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() local 711 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_remove() local 743 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_suspend() local 778 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_resume() local 810 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_runtime_suspend() local 826 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_runtime_resume() local
|
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-sch.c | 130 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in get_bw_info() local 887 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init() local 915 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in add_ep_quirk() local 955 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in drop_ep_quirk() local 976 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_check_bandwidth() local 1017 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_reset_bandwidth() local
|
H A D | xhci-sideband.c | 375 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_sideband_register() local 432 struct xhci_hcd *xhci; in xhci_sideband_unregister() local
|
H A D | xhci-tegra.c | 1293 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_set_port_power() local 1346 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_id_work() local 1545 struct xhci_hcd *xhci; in tegra_xusb_probe() local 1931 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_remove() local 1988 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_check_ports() local 2065 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_enable_phy_sleepwalk_wake() local 2170 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_enter_elpg() local 2240 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_exit_elpg() local 2680 static void tegra_xhci_quirks(struct device *dev, struct xhci_hcd *xhci) in tegra_xhci_quirks() 2697 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in tegra_xhci_hub_control() local
|
H A D | xhci.h | 678 struct xhci_hcd *xhci; member 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() local 1733 static inline bool xhci_has_one_roothub(struct xhci_hcd *xhci) in xhci_has_one_roothub() 1739 #define xhci_dbg(xhci, fmt, args...) \ argument 1741 #define xhci_err(xhci, fmt, args...) \ argument 1743 #define xhci_warn(xhci, fmt, args...) \ argument 1745 #define xhci_info(xhci, fmt, args...) \ argument 1757 static inline u64 xhci_read_64(const struct xhci_hcd *xhci, in xhci_read_64() [all …]
|
H A D | xhci-dbgtty.c | 557 int xhci_dbc_tty_probe(struct device *dev, void __iomem *base, struct xhci_hcd *xhci) in xhci_dbc_tty_probe()
|
/linux/drivers/usb/cdns3/ |
H A D | host.c | 34 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_cdns3_plat_start() local 71 struct platform_device *xhci; in __cdns_host_init() local
|
/linux/include/linux/usb/ |
H A D | xhci-sideband.h | 52 struct xhci_hcd *xhci; member
|
/linux/drivers/usb/dwc3/ |
H A D | host.c | 130 struct platform_device *xhci; in dwc3_host_init() local
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm-ns.dtsi | 263 xhci: usb@23000 { label
|
H A D | bcm2711.dtsi | 605 xhci: usb@7e9c0000 { label
|
/linux/arch/arm64/boot/dts/broadcom/bcmbca/ |
H A D | bcm4908.dtsi | 198 xhci: usb@d000 { label
|
/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a7744.dtsi | 1503 xhci: usb@ee000000 { label
|
H A D | r8a7791.dtsi | 1549 xhci: usb@ee000000 { label
|
H A D | r8a7790.dtsi | 1517 xhci: usb@ee000000 { label
|