Home
last modified time | relevance | path

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

12

/linux-6.8/drivers/usb/host/
Dxhci.c89 int xhci_handshake_check_state(struct xhci_hcd *xhci, void __iomem *ptr, in xhci_handshake_check_state()
110 void xhci_quiesce(struct xhci_hcd *xhci) in xhci_quiesce()
134 int xhci_halt(struct xhci_hcd *xhci) in xhci_halt()
157 int xhci_start(struct xhci_hcd *xhci) in xhci_start()
194 int xhci_reset(struct xhci_hcd *xhci, u64 timeout_us) in xhci_reset()
253 static void xhci_zero_64b_regs(struct xhci_hcd *xhci) in xhci_zero_64b_regs()
351 struct xhci_hcd *xhci; in compliance_mode_recovery() local
399 static void compliance_mode_recovery_timer_init(struct xhci_hcd *xhci) in compliance_mode_recovery_timer_init()
439 static int xhci_all_ports_seen_u0(struct xhci_hcd *xhci) in xhci_all_ports_seen_u0()
454 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_init() local
[all …]
Dxhci-ring.c142 static void next_trb(struct xhci_hcd *xhci, in next_trb()
158 void inc_deq(struct xhci_hcd *xhci, struct xhci_ring *ring) in inc_deq()
214 static void inc_enq(struct xhci_hcd *xhci, struct xhci_ring *ring, in inc_enq()
280 static unsigned int xhci_num_trbs_free(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_num_trbs_free()
316 static unsigned int xhci_ring_expansion_needed(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_ring_expansion_needed()
361 void xhci_ring_cmd_db(struct xhci_hcd *xhci) in xhci_ring_cmd_db()
375 static bool xhci_mod_cmd_timer(struct xhci_hcd *xhci) in xhci_mod_cmd_timer()
381 static struct xhci_command *xhci_next_queued_cmd(struct xhci_hcd *xhci) in xhci_next_queued_cmd()
392 static void xhci_handle_stopped_cmd_ring(struct xhci_hcd *xhci, in xhci_handle_stopped_cmd_ring()
428 static int xhci_abort_cmd_ring(struct xhci_hcd *xhci, unsigned long flags) in xhci_abort_cmd_ring()
[all …]
Dxhci-mem.c29 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci, in xhci_segment_alloc()
71 static void xhci_segment_free(struct xhci_hcd *xhci, struct xhci_segment *seg) in xhci_segment_free()
81 static void xhci_free_segments_for_ring(struct xhci_hcd *xhci, in xhci_free_segments_for_ring()
129 static void xhci_link_rings(struct xhci_hcd *xhci, struct xhci_ring *ring, in xhci_link_rings()
287 void xhci_ring_free(struct xhci_hcd *xhci, struct xhci_ring *ring) in xhci_ring_free()
329 static int xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, in xhci_alloc_segments_for_ring()
381 struct xhci_ring *xhci_ring_alloc(struct xhci_hcd *xhci, in xhci_ring_alloc()
421 void xhci_free_endpoint_ring(struct xhci_hcd *xhci, in xhci_free_endpoint_ring()
433 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 …]
Dxhci-hub.c35 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()
460 int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, in xhci_find_slot_id_by_port()
489 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device()
562 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device()
581 static void xhci_disable_port(struct xhci_hcd *xhci, struct xhci_port *port) in xhci_disable_port()
611 static void xhci_clear_port_change_bit(struct xhci_hcd *xhci, u16 wValue, in xhci_clear_port_change_bit()
[all …]
Dxhci-pci.c92 static void xhci_msix_sync_irqs(struct xhci_hcd *xhci) in xhci_msix_sync_irqs()
105 static void xhci_cleanup_msix(struct xhci_hcd *xhci) in xhci_cleanup_msix()
123 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_try_enable_msi() local
206 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_pci_stop() local
215 static int xhci_pci_reinit(struct xhci_hcd *xhci, struct pci_dev *pdev) in xhci_pci_reinit()
231 static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) in xhci_pci_quirks()
497 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_find_lpm_incapable_ports() local
531 struct xhci_hcd *xhci; in xhci_pci_setup() local
575 struct xhci_hcd *xhci; in xhci_pci_probe() local
654 struct xhci_hcd *xhci; in xhci_pci_remove() local
[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()
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() local
283 struct xhci_hcd *xhci; in xhci_endpoint_context_show() local
368 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write() local
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 …]
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
411 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_remove() local
445 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_suspend() local
473 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_resume_common() local
524 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_suspend() local
537 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_plat_runtime_resume() local
Dxhci-dbgcap.c942 struct xhci_hcd *xhci; in dbc_show() local
957 struct xhci_hcd *xhci; in dbc_store() local
978 struct xhci_hcd *xhci; in dbc_idVendor_show() local
991 struct xhci_hcd *xhci; in dbc_idVendor_store() local
1020 struct xhci_hcd *xhci; in dbc_idProduct_show() local
1033 struct xhci_hcd *xhci; in dbc_idProduct_store() local
1061 struct xhci_hcd *xhci; in dbc_bcdDevice_show() local
1074 struct xhci_hcd *xhci; in dbc_bcdDevice_store() local
1103 struct xhci_hcd *xhci; in dbc_bInterfaceProtocol_show() local
1116 struct xhci_hcd *xhci; in dbc_bInterfaceProtocol_store() local
[all …]
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()
Dxhci-histb.c193 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
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-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
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()
Dxhci-mtk-sch.c134 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in get_bw_info() local
891 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init() local
919 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in add_ep_quirk() local
959 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in drop_ep_quirk() local
980 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_check_bandwidth() local
1021 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_mtk_reset_bandwidth() local
Dxhci-dbgcap.h125 struct xhci_hcd *xhci; member
224 static inline int xhci_create_dbc_dev(struct xhci_hcd *xhci) in xhci_create_dbc_dev()
229 static inline void xhci_remove_dbc_dev(struct xhci_hcd *xhci) in xhci_remove_dbc_dev()
239 static inline int xhci_dbc_suspend(struct xhci_hcd *xhci) in xhci_dbc_suspend()
244 static inline 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() local
Dxhci-tegra.c1292 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_set_port_power() local
1345 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_id_work() local
1541 struct xhci_hcd *xhci; in tegra_xusb_probe() local
1927 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_remove() local
1984 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_check_ports() local
2061 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_enable_phy_sleepwalk_wake() local
2166 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_enter_elpg() local
2236 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_exit_elpg() local
2676 static void tegra_xhci_quirks(struct device *dev, struct xhci_hcd *xhci) in tegra_xhci_quirks()
2693 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in tegra_xhci_hub_control() local
Dxhci.h930 struct xhci_hcd *xhci; member
1951 static inline struct usb_hcd *xhci_to_hcd(struct xhci_hcd *xhci) in xhci_to_hcd()
1956 static inline struct usb_hcd *xhci_get_usb3_hcd(struct xhci_hcd *xhci) in xhci_get_usb3_hcd()
1969 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_hcd_is_usb3() local
1974 static inline bool xhci_has_one_roothub(struct xhci_hcd *xhci) in xhci_has_one_roothub()
1980 #define xhci_dbg(xhci, fmt, args...) \ argument
1982 #define xhci_err(xhci, fmt, args...) \ argument
1984 #define xhci_warn(xhci, fmt, args...) \ argument
1986 #define xhci_warn_ratelimited(xhci, fmt, args...) \ argument
1988 #define xhci_info(xhci, fmt, args...) \ argument
[all …]
Dxhci-dbgtty.c492 int xhci_dbc_tty_probe(struct device *dev, void __iomem *base, struct xhci_hcd *xhci) in xhci_dbc_tty_probe()
/linux-6.8/drivers/usb/cdns3/
Dhost.c34 struct xhci_hcd *xhci = hcd_to_xhci(hcd); in xhci_cdns3_plat_start() local
69 struct platform_device *xhci; in __cdns_host_init() local
/linux-6.8/drivers/usb/dwc3/
Dhost.c65 struct platform_device *xhci; in dwc3_host_init() local
/linux-6.8/arch/arm/boot/dts/broadcom/
Dbcm-ns.dtsi263 xhci: usb@23000 { label
Dbcm-nsp.dtsi317 xhci: usb@29000 { label
Dbcm2711.dtsi607 xhci: usb@7e9c0000 { label
/linux-6.8/arch/arm64/boot/dts/broadcom/bcmbca/
Dbcm4908.dtsi188 xhci: usb@d000 { label

12