Home
last modified time | relevance | path

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

12

/linux/drivers/usb/host/
H A Dxhci-mem.c29 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 Dxhci.c92 int xhci_handshake_check_state(struct xhci_hcd *xhci, void __iomem *ptr, in xhci_handshake_check_state()
113 void xhci_quiesce(struct xhci_hcd *xhci) in xhci_quiesce()
137 int xhci_halt(struct xhci_hcd *xhci) in xhci_halt()
160 int xhci_start(struct xhci_hcd *xhci) in xhci_start()
197 int xhci_reset(struct xhci_hcd *xhci, u64 timeout_us) in xhci_reset()
256 static void xhci_zero_64b_regs(struct xhci_hcd *xhci) in xhci_zero_64b_regs()
342 int xhci_disable_interrupter(struct xhci_hcd *xhci, struct xhci_interrupter *ir) in xhci_disable_interrupter()
382 struct xhci_hcd *xhci; in compliance_mode_recovery() local
430 static void compliance_mode_recovery_timer_init(struct xhci_hcd *xhci) in compliance_mode_recovery_timer_init()
470 static int xhci_all_ports_seen_u0(struct xhci_hcd *xhci) in xhci_all_ports_seen_u0()
[all …]
H A Dxhci-ring.c164 void inc_deq(struct xhci_hcd *xhci, struct xhci_ring *ring) in inc_deq()
210 static void inc_enq_past_link(struct xhci_hcd *xhci, struct xhci_ring *ring, u32 chain) in inc_enq_past_link()
261 static void inc_enq(struct xhci_hcd *xhci, struct xhci_ring *ring, in inc_enq()
378 static unsigned int xhci_ring_expansion_needed(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_ring_expansion_needed()
421 void xhci_ring_cmd_db(struct xhci_hcd *xhci) in xhci_ring_cmd_db()
435 static bool xhci_mod_cmd_timer(struct xhci_hcd *xhci) in xhci_mod_cmd_timer()
441 static struct xhci_command *xhci_next_queued_cmd(struct xhci_hcd *xhci) in xhci_next_queued_cmd()
452 static void xhci_handle_stopped_cmd_ring(struct xhci_hcd *xhci, in xhci_handle_stopped_cmd_ring()
489 static int xhci_abort_cmd_ring(struct xhci_hcd *xhci, unsigned long flags) in xhci_abort_cmd_ring()
549 void xhci_ring_ep_doorbell(struct xhci_hcd *xhci, in xhci_ring_ep_doorbell()
[all …]
H A Dxhci-hub.c36 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 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()
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 Dxhci-pci.c106 static void xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs()
119 static void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix()
136 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_try_enable_msi() local
216 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_stop() local
225 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev) in xhci_pci_reinit()
241 static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_pci_quirks()
509 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_find_lpm_incapable_ports() local
543 struct xhci_hcd *xhci; in xhci_pci_setup() local
587 struct xhci_hcd *xhci; in xhci_pci_common_probe() local
678 struct xhci_hcd *xhci; in xhci_pci_remove() local
[all …]
H A Dxhci-plat.c77 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
425 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_remove() local
459 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_suspend() local
488 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_resume_common() local
539 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_suspend() local
552 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_resume() local
H A Dxhci-dbgcap.c997 struct xhci_hcd *xhci; in dbc_show() local
1012 struct xhci_hcd *xhci; in dbc_store() local
1033 struct xhci_hcd *xhci; in dbc_idVendor_show() local
1046 struct xhci_hcd *xhci; in dbc_idVendor_store() local
1075 struct xhci_hcd *xhci; in dbc_idProduct_show() local
1088 struct xhci_hcd *xhci; in dbc_idProduct_store() local
1116 struct xhci_hcd *xhci; in dbc_bcdDevice_show() local
1129 struct xhci_hcd *xhci; in dbc_bcdDevice_store() local
1158 struct xhci_hcd *xhci; in dbc_bInterfaceProtocol_show() local
1171 struct xhci_hcd *xhci; in dbc_bInterfaceProtocol_store() local
[all …]
H A 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()
H A Dxhci-mtk.c451 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 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()
H A 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()
84 int xhci_ext_cap_init(struct xhci_hcd *xhci) in xhci_ext_cap_init()
H A Dxhci-mtk-sch.c130 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 Dxhci-dbgcap.h127 struct xhci_hcd *xhci; member
229 static inline int xhci_create_dbc_dev(struct xhci_hcd *xhci) in xhci_create_dbc_dev()
234 static inline void xhci_remove_dbc_dev(struct xhci_hcd *xhci) in xhci_remove_dbc_dev()
244 static inline int xhci_dbc_suspend(struct xhci_hcd *xhci) in xhci_dbc_suspend()
249 static inline int xhci_dbc_resume(struct xhci_hcd *xhci) in xhci_dbc_resume()
H A Dxhci-sideband.c375 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 Dxhci-tegra.c1293 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 Dxhci.h678 struct xhci_hcd *xhci; member
1709 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) in xhci_to_hcd()
1714 static inline struct usb_hcd *xhci_get_usb3_hcd(struct xhci_hcd *xhci) in xhci_get_usb3_hcd()
1727 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_hcd_is_usb3() local
1732 static inline bool xhci_has_one_roothub(struct xhci_hcd *xhci) in xhci_has_one_roothub()
1738 #define xhci_dbg(xhci, fmt, args...) \ argument
1740 #define xhci_err(xhci, fmt, args...) \ argument
1742 #define xhci_warn(xhci, fmt, args...) \ argument
1744 #define xhci_info(xhci, fmt, args...) \ argument
1756 static inline u64 xhci_read_64(const struct xhci_hcd *xhci, in xhci_read_64()
[all …]
/linux/include/linux/usb/
H A Dxhci-sideband.h52 struct xhci_hcd *xhci; member
/linux/drivers/usb/dwc3/
H A Dhost.c130 struct platform_device *xhci; in dwc3_host_init() local
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm-ns.dtsi263 xhci: usb@23000 { label
H A Dbcm-nsp.dtsi317 xhci: usb@29000 { label
H A Dbcm2711.dtsi605 xhci: usb@7e9c0000 { label
/linux/arch/arm/boot/dts/renesas/
H A Dr8a7791.dtsi1549 xhci: usb@ee000000 { label
H A Dr8a7790.dtsi1517 xhci: usb@ee000000 { label
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8192.dtsi945 xhci: usb@11200000 { label

12