Home
last modified time | relevance | path

Searched refs:ehci_hcd (Results 1 – 25 of 35) sorted by relevance

12

/drivers/usb/host/
Dehci.h71 struct ehci_hcd { /* one per controller */ struct
185 static inline struct ehci_hcd *hcd_to_ehci (struct usb_hcd *hcd) in hcd_to_ehci() argument
187 return (struct ehci_hcd *) (hcd->hcd_priv); in hcd_to_ehci()
189 static inline struct usb_hcd *ehci_to_hcd (struct ehci_hcd *ehci) in ehci_to_hcd()
196 iaa_watchdog_start(struct ehci_hcd *ehci) in iaa_watchdog_start()
203 static inline void iaa_watchdog_done(struct ehci_hcd *ehci) in iaa_watchdog_done()
215 timer_action_done (struct ehci_hcd *ehci, enum ehci_timer_action action) in timer_action_done()
220 static void free_cached_lists(struct ehci_hcd *ehci);
357 struct ehci_hcd *ehci;
582 ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc) in ehci_port_speed()
[all …]
Dehci-hcd.c134 timer_action(struct ehci_hcd *ehci, enum ehci_timer_action action) in timer_action()
185 static int handshake (struct ehci_hcd *ehci, void __iomem *ptr, in handshake()
204 static int tdi_in_host_mode (struct ehci_hcd *ehci) in tdi_in_host_mode()
215 static int ehci_halt (struct ehci_hcd *ehci) in ehci_halt()
247 static int handshake_for_broken_root_hub(struct ehci_hcd *ehci, in handshake_for_broken_root_hub()
269 static int handshake_for_broken_root_hub(struct ehci_hcd *ehci, in handshake_for_broken_root_hub()
278 static int handshake_on_error_set_halt(struct ehci_hcd *ehci, void __iomem *ptr, in handshake_on_error_set_halt()
299 static void tdi_reset (struct ehci_hcd *ehci) in tdi_reset()
317 static int ehci_reset (struct ehci_hcd *ehci) in ehci_reset()
356 static void ehci_quiesce (struct ehci_hcd *ehci) in ehci_quiesce()
[all …]
Dehci-sysfs.c27 struct ehci_hcd *ehci; in show_companion()
54 struct ehci_hcd *ehci; in store_companion()
85 struct ehci_hcd *ehci; in show_uframe_periodic_max()
98 struct ehci_hcd *ehci; in store_uframe_periodic_max()
165 static inline int create_sysfs_files(struct ehci_hcd *ehci) in create_sysfs_files()
181 static inline void remove_sysfs_files(struct ehci_hcd *ehci) in remove_sysfs_files()
Dehci-sched.c41 static unsigned ehci_read_frame_index(struct ehci_hcd *ehci) in ehci_read_frame_index()
68 periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, in periodic_next_shadow()
85 shadow_next_periodic(struct ehci_hcd *ehci, union ehci_shadow *periodic, in shadow_next_periodic()
99 static void periodic_unlink (struct ehci_hcd *ehci, unsigned frame, void *ptr) in periodic_unlink()
134 periodic_usecs (struct ehci_hcd *ehci, unsigned frame, unsigned uframe) in periodic_usecs()
227 static inline unsigned char tt_start_uframe(struct ehci_hcd *ehci, __hc32 mask) in tt_start_uframe()
265 struct ehci_hcd *ehci, in periodic_tt_usecs()
337 struct ehci_hcd *ehci, in tt_available()
406 struct ehci_hcd *ehci, in tt_no_collision()
482 static int enable_periodic (struct ehci_hcd *ehci) in enable_periodic()
[all …]
Dehci-mem.c38 static inline void ehci_qtd_init(struct ehci_hcd *ehci, struct ehci_qtd *qtd, in ehci_qtd_init()
49 static struct ehci_qtd *ehci_qtd_alloc (struct ehci_hcd *ehci, gfp_t flags) in ehci_qtd_alloc()
61 static inline void ehci_qtd_free (struct ehci_hcd *ehci, struct ehci_qtd *qtd) in ehci_qtd_free()
69 struct ehci_hcd *ehci = qh->ehci; in qh_destroy()
82 static struct ehci_qh *ehci_qh_alloc (struct ehci_hcd *ehci, gfp_t flags) in ehci_qh_alloc()
137 static void ehci_mem_cleanup (struct ehci_hcd *ehci) in ehci_mem_cleanup()
178 static int ehci_mem_init (struct ehci_hcd *ehci, gfp_t flags) in ehci_mem_init()
Dehci-q.c46 qtd_fill(struct ehci_hcd *ehci, struct ehci_qtd *qtd, dma_addr_t buf, in qtd_fill()
88 qh_update (struct ehci_hcd *ehci, struct ehci_qh *qh, struct ehci_qtd *qtd) in qh_update()
122 qh_refresh (struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_refresh()
150 static void qh_link_async(struct ehci_hcd *ehci, struct ehci_qh *qh);
155 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_clear_tt_buffer_complete()
167 static void ehci_clear_tt_buffer(struct ehci_hcd *ehci, struct ehci_qh *qh, in ehci_clear_tt_buffer()
200 struct ehci_hcd *ehci, in qtd_copy_status()
263 ehci_urb_done(struct ehci_hcd *ehci, struct urb *urb, int status) in ehci_urb_done()
305 static void start_unlink_async (struct ehci_hcd *ehci, struct ehci_qh *qh);
306 static void unlink_async (struct ehci_hcd *ehci, struct ehci_qh *qh);
[all …]
Dehci-dbg.c33 static inline void ehci_vdbg(struct ehci_hcd *ehci, ...) {} in ehci_vdbg()
42 static void dbg_hcs_params (struct ehci_hcd *ehci, char *label) in dbg_hcs_params()
76 static inline void dbg_hcs_params (struct ehci_hcd *ehci, char *label) {} in dbg_hcs_params()
86 static void dbg_hcc_params (struct ehci_hcd *ehci, char *label) in dbg_hcc_params()
115 static inline void dbg_hcc_params (struct ehci_hcd *ehci, char *label) {} in dbg_hcc_params()
122 dbg_qtd (const char *label, struct ehci_hcd *ehci, struct ehci_qtd *qtd) in dbg_qtd()
138 dbg_qh (const char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) in dbg_qh()
148 dbg_itd (const char *label, struct ehci_hcd *ehci, struct ehci_itd *itd) in dbg_itd()
179 dbg_sitd (const char *label, struct ehci_hcd *ehci, struct ehci_sitd *sitd) in dbg_sitd()
300 dbg_qh (char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) in dbg_qh()
[all …]
Dehci-fsl.c143 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in usb_hcd_fsl_probe()
194 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in usb_hcd_fsl_remove()
214 static void ehci_fsl_setup_phy(struct ehci_hcd *ehci, in ehci_fsl_setup_phy()
251 static void ehci_fsl_usb_setup(struct ehci_hcd *ehci) in ehci_fsl_usb_setup()
311 static int ehci_fsl_reinit(struct ehci_hcd *ehci) in ehci_fsl_reinit()
322 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_setup()
372 struct ehci_hcd ehci;
386 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_suspend()
455 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_resume()
529 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in hcd_to_ehci_fsl()
[all …]
Dehci-au1xxx.c22 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in au1xxx_ehci_setup()
33 .hcd_priv_size = sizeof(struct ehci_hcd),
81 struct ehci_hcd *ehci; in ehci_hcd_au1xxx_drv_probe()
161 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_hcd_au1xxx_drv_suspend()
191 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_hcd_au1xxx_drv_resume()
Dehci-pci.c31 static int ehci_pci_reinit(struct ehci_hcd *ehci, struct pci_dev *pdev) in ehci_pci_reinit()
50 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_setup()
334 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_suspend()
384 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_resume()
460 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_update_device()
477 .hcd_priv_size = sizeof(struct ehci_hcd),
Dehci-pmcmsp.c43 static void usb_hcd_tdi_set_mode(struct ehci_hcd *ehci) in usb_hcd_tdi_set_mode()
79 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_msp_setup()
184 struct ehci_hcd *ehci ; in usb_hcd_msp_probe()
275 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_msp_irq()
293 .hcd_priv_size = sizeof(struct ehci_hcd),
Dehci-hub.c48 static void ehci_handover_companion_ports(struct ehci_hcd *ehci) in ehci_handover_companion_ports()
110 static int __maybe_unused ehci_port_change(struct ehci_hcd *ehci) in ehci_port_change()
131 static __maybe_unused void ehci_adjust_port_wakeup_flags(struct ehci_hcd *ehci, in ehci_adjust_port_wakeup_flags()
206 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_suspend()
335 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_resume()
469 static void set_owner(struct ehci_hcd *ehci, int portnum, int new_owner) in set_owner()
503 struct ehci_hcd *ehci, in check_reset_complete()
551 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_hub_status_data()
628 struct ehci_hcd *ehci, in ehci_hub_descriptor()
669 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_hub_control()
[all …]
Dehci-ppc-of.c23 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ppc_of_setup()
42 .hcd_priv_size = sizeof(struct ehci_hcd),
112 struct ehci_hcd *ehci = NULL; in ehci_hcd_ppc_of_probe()
217 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_hcd_ppc_of_remove()
Dehci-vt8500.c23 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_update_device()
40 .hcd_priv_size = sizeof(struct ehci_hcd),
90 struct ehci_hcd *ehci; in vt8500_ehci_drv_probe()
Dehci-spear.c20 struct ehci_hcd ehci;
38 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_spear_setup()
99 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_spear_drv_suspend()
123 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_spear_drv_resume()
Dehci-xilinx-of.c42 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_xilinx_of_setup()
99 .hcd_priv_size = sizeof(struct ehci_hcd),
156 struct ehci_hcd *ehci; in ehci_hcd_xilinx_of_probe()
Dehci-grlib.c40 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_grlib_setup()
61 .hcd_priv_size = sizeof(struct ehci_hcd),
110 struct ehci_hcd *ehci = NULL; in ehci_hcd_grlib_probe()
Dehci-tegra.c35 struct ehci_hcd *ehci;
66 struct ehci_hcd *ehci, in tegra_ehci_internal_port_reset()
139 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in tegra_ehci_hub_control()
256 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in tegra_ehci_restart()
289 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in tegra_ehci_setup()
411 .hcd_priv_size = sizeof(struct ehci_hcd),
471 struct ehci_hcd *ehci = tegra->ehci; in controller_suspend()
495 struct ehci_hcd *ehci = tegra->ehci; in controller_resume()
Dehci-s5p.c38 .hcd_priv_size = sizeof(struct ehci_hcd),
71 struct ehci_hcd *ehci; in s5p_ehci_probe()
210 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in s5p_ehci_suspend()
242 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in s5p_ehci_resume()
Dehci-lpm.c20 static int __maybe_unused ehci_lpm_set_da(struct ehci_hcd *ehci, in ehci_lpm_set_da()
41 static int __maybe_unused ehci_lpm_check(struct ehci_hcd *ehci, int port) in ehci_lpm_check()
Dehci-orion.c105 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_orion_setup()
131 .hcd_priv_size = sizeof(struct ehci_hcd),
200 struct ehci_hcd *ehci; in ehci_orion_drv_probe()
Dehci-ps3.c24 static void ps3_ehci_setup_insnreg(struct ehci_hcd *ehci) in ps3_ehci_setup_insnreg()
55 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ps3_ehci_hc_reset()
88 .hcd_priv_size = sizeof(struct ehci_hcd),
Dehci-ls1x.c16 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ls1x_reset()
33 .hcd_priv_size = sizeof(struct ehci_hcd),
Dehci-mxc.c42 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_mxc_setup()
73 .hcd_priv_size = sizeof(struct ehci_hcd),
124 struct ehci_hcd *ehci; in ehci_mxc_drv_probe()
Dehci-xls.c18 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_xls_setup()
108 .hcd_priv_size = sizeof(struct ehci_hcd),

12