Home
last modified time | relevance | path

Searched defs:ehci (Results 1 – 25 of 71) sorted by relevance

123

/openbmc/linux/drivers/usb/host/
H A Dehci-timer.c11 static void ehci_set_command_bit(struct ehci_hcd *ehci, u32 bit) in ehci_set_command_bit()
21 static void ehci_clear_command_bit(struct ehci_hcd *ehci, u32 bit) in ehci_clear_command_bit()
95 static void ehci_poll_ASS(struct ehci_hcd *ehci) in ehci_poll_ASS()
134 static void ehci_disable_ASE(struct ehci_hcd *ehci) in ehci_disable_ASE()
141 static void ehci_poll_PSS(struct ehci_hcd *ehci) in ehci_poll_PSS()
180 static void ehci_disable_PSE(struct ehci_hcd *ehci) in ehci_disable_PSE()
243 static void ehci_handle_intr_unlinks(struct ehci_hcd *ehci) in ehci_handle_intr_unlinks()
276 static void start_free_itds(struct ehci_hcd *ehci) in start_free_itds()
290 static void end_free_itds(struct ehci_hcd *ehci) in end_free_itds()
320 static void ehci_iaa_watchdog(struct ehci_hcd *ehci) in ehci_iaa_watchdog()
[all …]
H A Dehci-hcd.c181 static int ehci_halt (struct ehci_hcd *ehci) in ehci_halt()
212 static void tdi_reset (struct ehci_hcd *ehci) in tdi_reset()
231 int ehci_reset(struct ehci_hcd *ehci) in ehci_reset()
358 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_shutdown() local
422 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_stop() local
456 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_init() local
575 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_run() local
681 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_setup() local
1050 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_endpoint_reset() local
1099 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_remove_device() local
[all …]
H A Dehci-q.c144 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_clear_tt_buffer_complete() local
189 struct ehci_hcd *ehci, in qtd_copy_status()
557 struct ehci_hcd *ehci, in qtd_list_free()
577 struct ehci_hcd *ehci, in qh_urb_transaction()
762 struct ehci_hcd *ehci, in qh_make()
954 static void enable_async(struct ehci_hcd *ehci) in enable_async()
967 static void disable_async(struct ehci_hcd *ehci) in disable_async()
1022 struct ehci_hcd *ehci, in qh_append_tds()
1104 struct ehci_hcd *ehci, in submit_async()
1174 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_submit_single_step_set_feature() local
[all …]
H A Dehci-sched.c137 struct ehci_hcd *ehci = in find_tt() local
354 struct ehci_hcd *ehci, in tt_available()
414 struct ehci_hcd *ehci, in tt_no_collision()
743 struct ehci_hcd *ehci, in check_period()
769 struct ehci_hcd *ehci, in check_intr_schedule()
905 struct ehci_hcd *ehci, in intr_submit()
1018 struct ehci_hcd *ehci, in iso_stream_init()
1179 struct ehci_hcd *ehci, in itd_sched_init()
1235 struct ehci_hcd *ehci, in itd_urb_transaction()
1365 struct ehci_hcd *ehci, in itd_slot_ok()
[all …]
H A Dehci-mem.c25 static inline void ehci_qtd_init(struct ehci_hcd *ehci, struct ehci_qtd *qtd, in ehci_qtd_init()
36 static struct ehci_qtd *ehci_qtd_alloc (struct ehci_hcd *ehci, gfp_t flags) in ehci_qtd_alloc()
48 static inline void ehci_qtd_free (struct ehci_hcd *ehci, struct ehci_qtd *qtd) in ehci_qtd_free()
54 static void qh_destroy(struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_destroy()
67 static struct ehci_qh *ehci_qh_alloc (struct ehci_hcd *ehci, gfp_t flags) in ehci_qh_alloc()
106 static void ehci_mem_cleanup (struct ehci_hcd *ehci) in ehci_mem_cleanup()
138 static int ehci_mem_init (struct ehci_hcd *ehci, gfp_t flags) in ehci_mem_init()
H A Dehci-hub.c125 static int ehci_port_change(struct ehci_hcd *ehci) in ehci_port_change()
146 void ehci_adjust_port_wakeup_flags(struct ehci_hcd *ehci, in ehci_adjust_port_wakeup_flags()
215 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_suspend() local
378 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_resume() local
519 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_get_resuming_ports() local
571 struct ehci_hcd *ehci, in check_reset_complete()
620 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_hub_status_data() local
699 struct ehci_hcd *ehci, in ehci_hub_descriptor()
740 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_hub_control() local
1189 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_relinquish_port() local
[all …]
H A Dehci-dbg.c15 static void dbg_hcs_params(struct ehci_hcd *ehci, char *label) in dbg_hcs_params()
51 static void dbg_hcc_params(struct ehci_hcd *ehci, char *label) in dbg_hcc_params()
270 dbg_cmd(struct ehci_hcd *ehci, const char *label, u32 command) in dbg_cmd()
473 struct ehci_hcd *ehci; in fill_async_buffer() local
512 struct ehci_hcd *ehci; in fill_bandwidth_buffer() local
624 struct ehci_hcd *ehci; in fill_periodic_buffer() local
740 static const char *rh_state_string(struct ehci_hcd *ehci) in rh_state_string()
758 struct ehci_hcd *ehci; in fill_registers_buffer() local
1026 static inline void create_debug_files(struct ehci_hcd *ehci) in create_debug_files()
1042 static inline void remove_debug_files(struct ehci_hcd *ehci) in remove_debug_files()
[all …]
H A Dehci-fsl.c147 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in fsl_ehci_drv_probe() local
196 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_setup_phy() local
295 static int ehci_fsl_usb_setup(struct ehci_hcd *ehci) in ehci_fsl_usb_setup()
360 static int ehci_fsl_reinit(struct ehci_hcd *ehci) in ehci_fsl_reinit()
371 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_setup() local
414 struct ehci_hcd ehci; member
428 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_suspend() local
497 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_resume() local
571 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in hcd_to_ehci_fsl() local
600 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_drv_resume() local
[all …]
H A Dehci-sysfs.c14 struct ehci_hcd *ehci; in companion_show() local
41 struct ehci_hcd *ehci; in companion_store() local
72 struct ehci_hcd *ehci; in uframe_periodic_max_show() local
85 struct ehci_hcd *ehci; in uframe_periodic_max_store() local
149 static inline int create_sysfs_files(struct ehci_hcd *ehci) in create_sysfs_files()
165 static inline void remove_sysfs_files(struct ehci_hcd *ehci) in remove_sysfs_files()
H A Dehci-platform.c60 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_platform_reset() local
142 static bool quirk_poll_check_port_status(struct ehci_hcd *ehci) in quirk_poll_check_port_status()
164 static void quirk_poll_rebind_companion(struct ehci_hcd *ehci) in quirk_poll_rebind_companion()
185 struct ehci_hcd *ehci = container_of((void *)priv, struct ehci_hcd, in quirk_poll_work() local
202 struct ehci_hcd *ehci = container_of((void *)priv, struct ehci_hcd, in quirk_poll_timer() local
242 struct ehci_hcd *ehci; in ehci_platform_probe() local
H A Dehci.h281 #define QTD_NEXT(ehci, dma) cpu_to_hc32(ehci, (u32)dma) argument
310 #define ACTIVE_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_ACTIVE) argument
311 #define HALT_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_HALT) argument
312 #define STATUS_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_STS) argument
325 #define QTD_MASK(ehci) cpu_to_hc32(ehci, ~0x1f) argument
348 #define QH_NEXT(ehci, dma) \ argument
641 #define ehci_prepare_ports_for_controller_resume(ehci) \ argument
872 #define ehci_dbg(ehci, fmt, args...) \ argument
874 #define ehci_err(ehci, fmt, args...) \ argument
876 #define ehci_info(ehci, fmt, args...) \ argument
[all …]
H A Dehci-brcm.c27 static inline void ehci_brcm_wait_for_sof(struct ehci_hcd *ehci, u32 delay) in ehci_brcm_wait_for_sof()
60 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_hub_control() local
99 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_reset() local
218 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_resume() local
H A Dehci-pci.c63 static int ehci_pci_reinit(struct ehci_hcd *ehci, struct pci_dev *pdev) in ehci_pci_reinit()
92 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_setup() local
359 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_resume() local
H A Dehci-ppc-of.c98 struct ehci_hcd *ehci = NULL; in ehci_hcd_ppc_of_probe() local
190 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_hcd_ppc_of_remove() local
H A Dehci-ps3.c12 static void ps3_ehci_setup_insnreg(struct ehci_hcd *ehci) in ps3_ehci_setup_insnreg()
43 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ps3_ehci_hc_reset() local
H A Dehci-mv.c70 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in mv_ehci_reset() local
107 struct ehci_hcd *ehci; in mv_ehci_probe() local
/openbmc/u-boot/drivers/usb/host/
H A Dehci-fsl.c30 struct ehci_ctrl ehci; member
46 static int usb_phy_clk_valid(struct usb_ehci *ehci) in usb_phy_clk_valid()
75 struct usb_ehci *ehci = NULL; in ehci_fsl_init_after_reset() local
93 struct usb_ehci *ehci = NULL; in ehci_fsl_probe() local
153 struct usb_ehci *ehci = NULL; in ehci_hcd_init() local
187 static int ehci_fsl_init(struct ehci_fsl_priv *priv, struct usb_ehci *ehci, in ehci_fsl_init()
296 static void set_txfifothresh(struct usb_ehci *ehci, u32 txfifo_thresh) in set_txfifothresh()
H A Dehci-msm.c26 struct usb_ehci *ehci; /* Start of IP core*/ member
34 struct usb_ehci *ehci = p->ehci; in msm_init_after_reset() local
51 struct usb_ehci *ehci = p->ehci; in ehci_usb_probe() local
76 struct usb_ehci *ehci = p->ehci; in ehci_usb_remove() local
H A Dehci-vf.c84 static void usb_phy_enable(int index, struct usb_ehci *ehci) in usb_phy_enable()
139 int ehci_vf_common_init(struct usb_ehci *ehci, int index) in ehci_vf_common_init()
160 struct usb_ehci *ehci; in ehci_hcd_init() local
209 struct usb_ehci *ehci; member
272 struct usb_ehci *ehci = priv->ehci; in vf_init_after_reset() local
315 struct usb_ehci *ehci = priv->ehci; in ehci_usb_probe() local
H A Dehci-mx6.c128 static int usb_phy_enable(int index, struct usb_ehci *ehci) in usb_phy_enable()
315 int ehci_mx6_common_init(struct usb_ehci *ehci, int index) in ehci_mx6_common_init()
348 struct usb_ehci *ehci = (struct usb_ehci *)(USB_BASE_ADDR + in ehci_hcd_init() local
390 struct usb_ehci *ehci; member
400 struct usb_ehci *ehci = priv->ehci; in mx6_init_after_reset() local
508 struct usb_ehci *ehci = (struct usb_ehci *)devfdt_get_addr(dev); in ehci_usb_probe() local
H A Dehci-mx5.c216 void __weak board_ehci_hcd_postinit(struct usb_ehci *ehci, int port) in board_ehci_hcd_postinit()
233 struct usb_ehci *ehci; in ehci_hcd_init() local
H A Dehci-spear.c39 u32 ehci = 0; in ehci_hcd_init() local
/openbmc/qemu/hw/usb/
H A Dhcd-ehci.c373 static inline int get_dwords(EHCIState *ehci, uint32_t addr, in get_dwords()
395 static inline int put_dwords(EHCIState *ehci, uint32_t addr, in put_dwords()
679 static void ehci_queues_rip_all(EHCIState *ehci, int async) in ehci_queues_rip_all()
1403 static int ehci_process_itd(EHCIState *ehci, in ehci_process_itd()
1704 static int ehci_state_fetchitd(EHCIState *ehci, int async) in ehci_state_fetchitd()
2133 static void ehci_advance_async_state(EHCIState *ehci) in ehci_advance_async_state()
2188 static void ehci_advance_periodic_state(EHCIState *ehci) in ehci_advance_periodic_state()
2266 EHCIState *ehci = opaque; in ehci_work_bh() local
2365 EHCIState *ehci = opaque; in ehci_work_timer() local
2414 EHCIState *ehci = opaque; in usb_ehci_pre_save() local
[all …]
/openbmc/linux/drivers/usb/chipidea/
H A Dhost.c39 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ci_portpower() local
87 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ci_reset() local
122 struct ehci_hcd *ehci; in host_start() local
249 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ci_ehci_hub_control() local
331 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ci_ehci_bus_suspend() local
H A Dci_hdrc_tegra.c156 struct ehci_hcd *ehci; in tegra_usb_notify_event() local
172 static int tegra_usb_internal_port_reset(struct ehci_hcd *ehci, in tegra_usb_internal_port_reset()
240 struct ehci_hcd *ehci = hcd_to_ehci(ci->hcd); in tegra_ehci_hub_control() local

123