Home
last modified time | relevance | path

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

12

/drivers/usb/host/
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-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-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()
155 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_clear_tt_buffer_complete() local
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()
316 qh_completions (struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_completions()
597 struct ehci_hcd *ehci, in qtd_list_free()
617 struct ehci_hcd *ehci, in qh_urb_transaction()
[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-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()
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() local
372 struct ehci_hcd ehci; member
386 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_suspend() local
455 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_resume() local
529 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in hcd_to_ehci_fsl() local
[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-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() local
335 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_resume() local
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() 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-spear.c20 struct ehci_hcd ehci; member
26 static void spear_start_ehci(struct spear_ehci *ehci) in spear_start_ehci()
31 static void spear_stop_ehci(struct spear_ehci *ehci) in spear_stop_ehci()
38 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_spear_setup() local
99 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_spear_drv_suspend() local
123 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_spear_drv_resume() local
174 struct spear_ehci *ehci; in spear_ehci_hcd_drv_probe() local
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-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
384 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_resume() local
460 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_update_device() local
Dehci.h189 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()
228 #define QTD_NEXT(ehci, dma) cpu_to_hc32(ehci, (u32)dma) argument
257 #define ACTIVE_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_ACTIVE) argument
258 #define HALT_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_HALT) argument
259 #define STATUS_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_STS) argument
272 #define QTD_MASK(ehci) cpu_to_hc32 (ehci, ~0x1f) argument
279 #define Q_NEXT_TYPE(ehci,dma) ((dma) & cpu_to_hc32(ehci, 3 << 1)) argument
[all …]
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-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-tegra.c35 struct ehci_hcd *ehci; member
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() local
256 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in tegra_ehci_restart() local
289 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in tegra_ehci_setup() local
471 struct ehci_hcd *ehci = tegra->ehci; in controller_suspend() local
495 struct ehci_hcd *ehci = tegra->ehci; in controller_resume() 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.c71 struct ehci_hcd *ehci; in s5p_ehci_probe() local
210 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in s5p_ehci_suspend() local
242 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in s5p_ehci_resume() 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-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
Dehci-ls1x.c16 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ls1x_reset() local

12