Home
last modified time | relevance | path

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

12

/linux-3.3/drivers/usb/host/
Dehci-hcd.c135 timer_action(struct ehci_hcd *ehci, enum ehci_timer_action action) in timer_action()
186 static int handshake (struct ehci_hcd *ehci, void __iomem *ptr, in handshake()
205 static int tdi_in_host_mode (struct ehci_hcd *ehci) in tdi_in_host_mode()
216 static int ehci_halt (struct ehci_hcd *ehci) in ehci_halt()
248 static int handshake_for_broken_root_hub(struct ehci_hcd *ehci, in handshake_for_broken_root_hub()
270 static int handshake_for_broken_root_hub(struct ehci_hcd *ehci, in handshake_for_broken_root_hub()
279 static int handshake_on_error_set_halt(struct ehci_hcd *ehci, void __iomem *ptr, in handshake_on_error_set_halt()
300 static void tdi_reset (struct ehci_hcd *ehci) in tdi_reset()
318 static int ehci_reset (struct ehci_hcd *ehci) in ehci_reset()
355 static void ehci_quiesce (struct ehci_hcd *ehci) in ehci_quiesce()
[all …]
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() local
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()
147 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_clear_tt_buffer_complete() local
159 static void ehci_clear_tt_buffer(struct ehci_hcd *ehci, struct ehci_qh *qh, in ehci_clear_tt_buffer()
192 struct ehci_hcd *ehci, in qtd_copy_status()
255 ehci_urb_done(struct ehci_hcd *ehci, struct urb *urb, int status) in ehci_urb_done()
308 qh_completions (struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_completions()
589 struct ehci_hcd *ehci, in qtd_list_free()
609 struct ehci_hcd *ehci, in qh_urb_transaction()
[all …]
Dehci-fsl.c143 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in usb_hcd_fsl_probe() local
194 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in usb_hcd_fsl_remove() local
214 static void ehci_fsl_setup_phy(struct ehci_hcd *ehci, in ehci_fsl_setup_phy()
242 static void ehci_fsl_usb_setup(struct ehci_hcd *ehci) in ehci_fsl_usb_setup()
305 static int ehci_fsl_reinit(struct ehci_hcd *ehci) in ehci_fsl_reinit()
316 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_setup() local
354 struct ehci_hcd ehci; member
368 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_suspend() local
437 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_resume() local
509 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in hcd_to_ehci_fsl() local
[all …]
Dehci-dbg.c21 #define ehci_dbg(ehci, fmt, args...) \ argument
23 #define ehci_err(ehci, fmt, args...) \ argument
25 #define ehci_info(ehci, fmt, args...) \ argument
27 #define ehci_warn(ehci, fmt, args...) \ argument
33 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()
[all …]
Dehci-hub.c48 static void ehci_handover_companion_ports(struct ehci_hcd *ehci) in ehci_handover_companion_ports()
110 static int 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() local
340 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_resume() local
474 static void set_owner(struct ehci_hcd *ehci, int portnum, int new_owner) in set_owner()
508 struct ehci_hcd *ehci, in check_reset_complete()
556 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_hub_status_data() local
628 struct ehci_hcd *ehci, in ehci_hub_descriptor()
669 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_hub_control() local
[all …]
Dehci-sysfs.c27 struct ehci_hcd *ehci; in show_companion() local
54 struct ehci_hcd *ehci; in store_companion() local
85 struct ehci_hcd *ehci; in show_uframe_periodic_max() local
98 struct ehci_hcd *ehci; in store_uframe_periodic_max() local
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-spear.c18 struct ehci_hcd ehci; member
24 static void spear_start_ehci(struct spear_ehci *ehci) in spear_start_ehci()
29 static void spear_stop_ehci(struct spear_ehci *ehci) in spear_stop_ehci()
36 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_spear_setup() local
96 struct spear_ehci *ehci; in spear_ehci_hcd_drv_probe() local
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() local
334 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_suspend() local
381 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_resume() local
457 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_update_device() local
Dehci-au1xxx.c22 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in au1xxx_ehci_setup() local
81 struct ehci_hcd *ehci; in ehci_hcd_au1xxx_drv_probe() local
161 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_hcd_au1xxx_drv_suspend() local
191 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_hcd_au1xxx_drv_resume() local
Dehci.h187 static inline struct usb_hcd *ehci_to_hcd (struct ehci_hcd *ehci) in ehci_to_hcd()
194 iaa_watchdog_start(struct ehci_hcd *ehci) in iaa_watchdog_start()
201 static inline void iaa_watchdog_done(struct ehci_hcd *ehci) in iaa_watchdog_done()
213 timer_action_done (struct ehci_hcd *ehci, enum ehci_timer_action action) in timer_action_done()
226 #define QTD_NEXT(ehci, dma) cpu_to_hc32(ehci, (u32)dma) argument
255 #define ACTIVE_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_ACTIVE) argument
256 #define HALT_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_HALT) argument
257 #define STATUS_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_STS) argument
270 #define QTD_MASK(ehci) cpu_to_hc32 (ehci, ~0x1f) argument
277 #define Q_NEXT_TYPE(ehci,dma) ((dma) & cpu_to_hc32(ehci, 3 << 1)) argument
[all …]
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() local
184 struct ehci_hcd *ehci ; in usb_hcd_msp_probe() local
275 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_msp_irq() local
Dehci-ppc-of.c23 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ppc_of_setup() local
112 struct ehci_hcd *ehci = NULL; in ehci_hcd_ppc_of_probe() local
217 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_hcd_ppc_of_remove() local
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-vt8500.c23 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_update_device() local
90 struct ehci_hcd *ehci; in vt8500_ehci_drv_probe() local
Dehci-s5p.c62 struct ehci_hcd *ehci; in s5p_ehci_probe() local
198 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in s5p_ehci_suspend() local
230 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in s5p_ehci_resume() local
Dehci-tegra.c34 struct ehci_hcd *ehci; member
67 struct ehci_hcd *ehci, in tegra_ehci_internal_port_reset()
140 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in tegra_ehci_hub_control() local
255 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in tegra_ehci_restart() local
295 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in tegra_usb_resume() local
402 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in tegra_ehci_setup() local
Dehci-grlib.c40 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_grlib_setup() local
110 struct ehci_hcd *ehci = NULL; in ehci_hcd_grlib_probe() local
Dehci-xilinx-of.c42 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_xilinx_of_setup() local
156 struct ehci_hcd *ehci; in ehci_hcd_xilinx_of_probe() local
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() local
Dehci-pxa168.c56 struct ehci_hcd ehci; member
64 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pxa168_setup() local
229 struct ehci_hcd *ehci; in ehci_pxa168_drv_probe() local
Dehci-mxc.c42 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_mxc_setup() local
124 struct ehci_hcd *ehci; in ehci_mxc_drv_probe() local
Dehci-orion.c105 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_orion_setup() local
200 struct ehci_hcd *ehci; in ehci_orion_drv_probe() local
Dehci-mv.c79 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in mv_ehci_reset() local
156 struct ehci_hcd *ehci; in mv_ehci_probe() local

12