Home
last modified time | relevance | path

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

/drivers/usb/host/
Dehci.h65 struct ehci_hcd { /* one per controller */ struct
158 static inline struct ehci_hcd *hcd_to_ehci (struct usb_hcd *hcd) in hcd_to_ehci() argument
160 return (struct ehci_hcd *) (hcd->hcd_priv); in hcd_to_ehci()
162 static inline struct usb_hcd *ehci_to_hcd (struct ehci_hcd *ehci) in ehci_to_hcd()
169 iaa_watchdog_start(struct ehci_hcd *ehci) in iaa_watchdog_start()
176 static inline void iaa_watchdog_done(struct ehci_hcd *ehci) in iaa_watchdog_done()
188 timer_action_done (struct ehci_hcd *ehci, enum ehci_timer_action action) in timer_action_done()
194 timer_action (struct ehci_hcd *ehci, enum ehci_timer_action action) in timer_action()
227 static void free_cached_itd_list(struct ehci_hcd *ehci);
361 struct ehci_hcd *ehci;
[all …]
Dehci-hcd.c130 static int handshake (struct ehci_hcd *ehci, void __iomem *ptr, in handshake()
149 static int ehci_halt (struct ehci_hcd *ehci) in ehci_halt()
166 static int handshake_on_error_set_halt(struct ehci_hcd *ehci, void __iomem *ptr, in handshake_on_error_set_halt()
183 static void tdi_reset (struct ehci_hcd *ehci) in tdi_reset()
201 static int ehci_reset (struct ehci_hcd *ehci) in ehci_reset()
224 static void ehci_quiesce (struct ehci_hcd *ehci) in ehci_quiesce()
252 static void end_unlink_async(struct ehci_hcd *ehci);
253 static void ehci_work(struct ehci_hcd *ehci);
264 struct ehci_hcd *ehci = (struct ehci_hcd *) param; in ehci_iaa_watchdog()
312 struct ehci_hcd *ehci = (struct ehci_hcd *) param; in ehci_watchdog()
[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()
81 static struct ehci_qh *ehci_qh_alloc (struct ehci_hcd *ehci, gfp_t flags) in ehci_qh_alloc()
129 static void ehci_mem_cleanup (struct ehci_hcd *ehci) in ehci_mem_cleanup()
166 static int ehci_mem_init (struct ehci_hcd *ehci, gfp_t flags) in ehci_mem_init()
Dehci-sched.c47 periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, in periodic_next_shadow()
64 static void periodic_unlink (struct ehci_hcd *ehci, unsigned frame, void *ptr) in periodic_unlink()
91 periodic_usecs (struct ehci_hcd *ehci, unsigned frame, unsigned uframe) in periodic_usecs()
182 static inline unsigned char tt_start_uframe(struct ehci_hcd *ehci, __hc32 mask) in tt_start_uframe()
220 struct ehci_hcd *ehci, in periodic_tt_usecs()
292 struct ehci_hcd *ehci, in tt_available()
361 struct ehci_hcd *ehci, in tt_no_collision()
435 static int enable_periodic (struct ehci_hcd *ehci) in enable_periodic()
462 static int disable_periodic (struct ehci_hcd *ehci) in disable_periodic()
494 static int qh_link_periodic (struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_link_periodic()
[all …]
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()
143 struct ehci_hcd *ehci, in qtd_copy_status()
226 ehci_urb_done(struct ehci_hcd *ehci, struct urb *urb, int status) in ehci_urb_done()
268 static void start_unlink_async (struct ehci_hcd *ehci, struct ehci_qh *qh);
269 static void unlink_async (struct ehci_hcd *ehci, struct ehci_qh *qh);
271 static void intr_deschedule (struct ehci_hcd *ehci, struct ehci_qh *qh);
272 static int qh_schedule (struct ehci_hcd *ehci, struct ehci_qh *qh);
280 qh_completions (struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_completions()
[all …]
Dehci-hub.c47 static void ehci_handover_companion_ports(struct ehci_hcd *ehci) in ehci_handover_companion_ports()
111 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_suspend()
193 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_resume()
304 struct ehci_hcd *ehci; in show_companion()
325 static void set_owner(struct ehci_hcd *ehci, int portnum, int new_owner) in set_owner()
365 struct ehci_hcd *ehci; in store_companion()
388 static inline void create_companion_file(struct ehci_hcd *ehci) in create_companion_file()
398 static inline void remove_companion_file(struct ehci_hcd *ehci) in remove_companion_file()
410 struct ehci_hcd *ehci, in check_reset_complete()
458 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_hub_status_data()
[all …]
Dehci-dbg.c44 static void dbg_hcs_params (struct ehci_hcd *ehci, char *label) in dbg_hcs_params()
78 static inline void dbg_hcs_params (struct ehci_hcd *ehci, char *label) {} in dbg_hcs_params()
88 static void dbg_hcc_params (struct ehci_hcd *ehci, char *label) in dbg_hcc_params()
112 static inline void dbg_hcc_params (struct ehci_hcd *ehci, char *label) {} in dbg_hcc_params()
119 dbg_qtd (const char *label, struct ehci_hcd *ehci, struct ehci_qtd *qtd) in dbg_qtd()
135 dbg_qh (const char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) in dbg_qh()
144 dbg_itd (const char *label, struct ehci_hcd *ehci, struct ehci_itd *itd) in dbg_itd()
175 dbg_sitd (const char *label, struct ehci_hcd *ehci, struct ehci_sitd *sitd) in dbg_sitd()
277 dbg_qh (char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) in dbg_qh()
321 static inline void create_debug_files (struct ehci_hcd *bus) { } in create_debug_files()
[all …]
Dehci-fsl.c158 static void mpc83xx_setup_phy(struct ehci_hcd *ehci, in mpc83xx_setup_phy()
184 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in mpc83xx_usb_setup()
244 static int ehci_fsl_reinit(struct ehci_hcd *ehci) in ehci_fsl_reinit()
255 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_setup()
290 .hcd_priv_size = sizeof(struct ehci_hcd),
Dehci-pci.c28 static int ehci_pci_reinit(struct ehci_hcd *ehci, struct pci_dev *pdev) in ehci_pci_reinit()
67 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_setup()
273 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_suspend()
314 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_resume()
370 .hcd_priv_size = sizeof(struct ehci_hcd),
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),
110 struct ehci_hcd *ehci = NULL; in ehci_hcd_ppc_of_probe()
213 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_hcd_ppc_of_remove()
Dehci-au1xxx.c75 .hcd_priv_size = sizeof(struct ehci_hcd),
120 struct ehci_hcd *ehci; in ehci_hcd_au1xxx_drv_probe()
203 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_hcd_au1xxx_drv_suspend()
252 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_hcd_au1xxx_drv_resume()
Dehci-orion.c105 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_orion_setup()
130 .hcd_priv_size = sizeof(struct ehci_hcd),
195 struct ehci_hcd *ehci; in ehci_orion_drv_probe()
Dehci-ixp4xx.c18 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ixp4xx_ehci_init()
44 .hcd_priv_size = sizeof(struct ehci_hcd),
Dehci-ps3.c27 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ps3_ehci_hc_reset()
58 .hcd_priv_size = sizeof(struct ehci_hcd),