Home
last modified time | relevance | path

Searched refs:ehci (Results 1 – 183 of 183) sorted by relevance

/linux-4.4.14/drivers/usb/host/
Dehci-timer.c20 static void ehci_set_command_bit(struct ehci_hcd *ehci, u32 bit) in ehci_set_command_bit() argument
22 ehci->command |= bit; in ehci_set_command_bit()
23 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_set_command_bit()
26 ehci_readl(ehci, &ehci->regs->command); in ehci_set_command_bit()
30 static void ehci_clear_command_bit(struct ehci_hcd *ehci, u32 bit) in ehci_clear_command_bit() argument
32 ehci->command &= ~bit; in ehci_clear_command_bit()
33 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_clear_command_bit()
36 ehci_readl(ehci, &ehci->regs->command); in ehci_clear_command_bit()
84 static void ehci_enable_event(struct ehci_hcd *ehci, unsigned event, in ehci_enable_event() argument
87 ktime_t *timeout = &ehci->hr_timeouts[event]; in ehci_enable_event()
[all …]
Dehci-hcd.c122 static unsigned ehci_moschip_read_frame_index(struct ehci_hcd *ehci) in ehci_moschip_read_frame_index() argument
126 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
128 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
132 static inline unsigned ehci_read_frame_index(struct ehci_hcd *ehci) in ehci_read_frame_index() argument
134 if (ehci->frame_index_bug) in ehci_read_frame_index()
135 return ehci_moschip_read_frame_index(ehci); in ehci_read_frame_index()
136 return ehci_readl(ehci, &ehci->regs->frame_index); in ehci_read_frame_index()
160 int ehci_handshake(struct ehci_hcd *ehci, void __iomem *ptr, in ehci_handshake() argument
166 result = ehci_readl(ehci, ptr); in ehci_handshake()
180 static int tdi_in_host_mode (struct ehci_hcd *ehci) in tdi_in_host_mode() argument
[all …]
Dehci-hub.c45 static void ehci_handover_companion_ports(struct ehci_hcd *ehci) in ehci_handover_companion_ports() argument
51 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_handover_companion_ports()
53 if (!ehci->owned_ports) in ehci_handover_companion_ports()
67 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
69 if (test_bit(port, &ehci->owned_ports)) { in ehci_handover_companion_ports()
70 reg = &ehci->regs->port_status[port]; in ehci_handover_companion_ports()
71 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports()
73 ehci_port_power(ehci, port, true); in ehci_handover_companion_ports()
80 spin_lock_irq(&ehci->lock); in ehci_handover_companion_ports()
81 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
[all …]
Dehci-mem.c38 static inline void ehci_qtd_init(struct ehci_hcd *ehci, struct ehci_qtd *qtd, in ehci_qtd_init() argument
43 qtd->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT); in ehci_qtd_init()
44 qtd->hw_next = EHCI_LIST_END(ehci); in ehci_qtd_init()
45 qtd->hw_alt_next = EHCI_LIST_END(ehci); in ehci_qtd_init()
49 static struct ehci_qtd *ehci_qtd_alloc (struct ehci_hcd *ehci, gfp_t flags) in ehci_qtd_alloc() argument
54 qtd = dma_pool_alloc (ehci->qtd_pool, flags, &dma); in ehci_qtd_alloc()
56 ehci_qtd_init(ehci, qtd, dma); in ehci_qtd_alloc()
61 static inline void ehci_qtd_free (struct ehci_hcd *ehci, struct ehci_qtd *qtd) in ehci_qtd_free() argument
63 dma_pool_free (ehci->qtd_pool, qtd, qtd->qtd_dma); in ehci_qtd_free()
67 static void qh_destroy(struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_destroy() argument
[all …]
Dehci-q.c46 qtd_fill(struct ehci_hcd *ehci, struct ehci_qtd *qtd, dma_addr_t buf, in qtd_fill() argument
53 qtd->hw_buf[0] = cpu_to_hc32(ehci, (u32)addr); in qtd_fill()
54 qtd->hw_buf_hi[0] = cpu_to_hc32(ehci, (u32)(addr >> 32)); in qtd_fill()
65 qtd->hw_buf[i] = cpu_to_hc32(ehci, (u32)addr); in qtd_fill()
66 qtd->hw_buf_hi[i] = cpu_to_hc32(ehci, in qtd_fill()
79 qtd->hw_token = cpu_to_hc32(ehci, (count << 16) | token); in qtd_fill()
88 qh_update (struct ehci_hcd *ehci, struct ehci_qh *qh, struct ehci_qtd *qtd) in qh_update() argument
95 hw->hw_qtd_next = QTD_NEXT(ehci, qtd->qtd_dma); in qh_update()
96 hw->hw_alt_next = EHCI_LIST_END(ehci); in qh_update()
103 if (!(hw->hw_info1 & cpu_to_hc32(ehci, QH_TOGGLE_CTL))) { in qh_update()
[all …]
Dehci-sched.c45 periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, in periodic_next_shadow() argument
48 switch (hc32_to_cpu(ehci, tag)) { in periodic_next_shadow()
62 shadow_next_periodic(struct ehci_hcd *ehci, union ehci_shadow *periodic, in shadow_next_periodic() argument
65 switch (hc32_to_cpu(ehci, tag)) { in shadow_next_periodic()
76 static void periodic_unlink (struct ehci_hcd *ehci, unsigned frame, void *ptr) in periodic_unlink() argument
78 union ehci_shadow *prev_p = &ehci->pshadow[frame]; in periodic_unlink()
79 __hc32 *hw_p = &ehci->periodic[frame]; in periodic_unlink()
84 prev_p = periodic_next_shadow(ehci, prev_p, in periodic_unlink()
85 Q_NEXT_TYPE(ehci, *hw_p)); in periodic_unlink()
86 hw_p = shadow_next_periodic(ehci, &here, in periodic_unlink()
[all …]
Dehci-pci.c73 static int ehci_pci_reinit(struct ehci_hcd *ehci, struct pci_dev *pdev) in ehci_pci_reinit() argument
84 ehci_dbg(ehci, "MWI active\n"); in ehci_pci_reinit()
92 ehci_writel(ehci, INTEL_QUARK_X1000_EHCI_MAX_THRESHOLD, in ehci_pci_reinit()
93 ehci->regs->intel_quark_x1000_insnreg01); in ehci_pci_reinit()
102 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_setup() local
107 ehci->caps = hcd->regs; in ehci_pci_setup()
123 ehci->big_endian_mmio = 1; in ehci_pci_setup()
125 ehci_warn(ehci, in ehci_pci_setup()
142 ehci_warn(ehci, "can't enable NVidia " in ehci_pci_setup()
151 ehci->no_selective_suspend = 1; in ehci_pci_setup()
[all …]
Dehci-dbg.c27 static void dbg_hcs_params (struct ehci_hcd *ehci, char *label) in dbg_hcs_params() argument
29 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params()
31 ehci_dbg (ehci, in dbg_hcs_params()
50 byte = readb (&ehci->caps->portroute[(i>>1)]); in dbg_hcs_params()
55 ehci_dbg (ehci, "%s portroute %s\n", in dbg_hcs_params()
61 static inline void dbg_hcs_params (struct ehci_hcd *ehci, char *label) {} in dbg_hcs_params() argument
71 static void dbg_hcc_params (struct ehci_hcd *ehci, char *label) in dbg_hcc_params() argument
73 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params()
76 ehci_dbg (ehci, in dbg_hcc_params()
83 ehci_dbg (ehci, in dbg_hcc_params()
[all …]
Dehci-fsl.c152 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in fsl_ehci_drv_probe() local
156 hcd, ehci, hcd->usb_phy); in fsl_ehci_drv_probe()
160 &ehci_to_hcd(ehci)->self); in fsl_ehci_drv_probe()
188 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_setup_phy() local
198 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
251 ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
260 static int ehci_fsl_usb_setup(struct ehci_hcd *ehci) in ehci_fsl_usb_setup() argument
262 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_fsl_usb_setup()
283 ehci->has_fsl_hs_errata = 1; in ehci_fsl_usb_setup()
299 ehci->has_fsl_port_bug = 1; in ehci_fsl_usb_setup()
[all …]
Dehci-sysfs.c27 struct ehci_hcd *ehci; in show_companion() local
32 ehci = hcd_to_ehci(dev_get_drvdata(dev)); in show_companion()
33 nports = HCS_N_PORTS(ehci->hcs_params); in show_companion()
36 if (test_bit(index, &ehci->companion_ports)) { in show_companion()
54 struct ehci_hcd *ehci; in store_companion() local
57 ehci = hcd_to_ehci(dev_get_drvdata(dev)); in store_companion()
65 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params)) in store_companion()
69 set_bit(portnum, &ehci->companion_ports); in store_companion()
71 clear_bit(portnum, &ehci->companion_ports); in store_companion()
72 set_owner(ehci, portnum, new_owner); in store_companion()
[all …]
Dehci.h275 static inline struct usb_hcd *ehci_to_hcd (struct ehci_hcd *ehci) in ehci_to_hcd() argument
277 return container_of ((void *) ehci, struct usb_hcd, hcd_priv); in ehci_to_hcd()
286 #define QTD_NEXT(ehci, dma) cpu_to_hc32(ehci, (u32)dma) argument
315 #define ACTIVE_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_ACTIVE) argument
316 #define HALT_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_HALT) argument
317 #define STATUS_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_STS) argument
330 #define QTD_MASK(ehci) cpu_to_hc32 (ehci, ~0x1f) argument
337 #define Q_NEXT_TYPE(ehci,dma) ((dma) & cpu_to_hc32(ehci, 3 << 1)) argument
353 #define QH_NEXT(ehci,dma) (cpu_to_hc32(ehci, (((u32)dma)&~0x01f)|Q_TYPE_QH)) argument
356 #define EHCI_LIST_END(ehci) cpu_to_hc32(ehci, 1) /* "null pointer" to hw */ argument
[all …]
Dehci-tegra.c120 struct ehci_hcd *ehci, in tegra_ehci_internal_port_reset() argument
130 spin_lock_irqsave(&ehci->lock, flags); in tegra_ehci_internal_port_reset()
131 saved_usbintr = ehci_readl(ehci, &ehci->regs->intr_enable); in tegra_ehci_internal_port_reset()
133 ehci_writel(ehci, 0, &ehci->regs->intr_enable); in tegra_ehci_internal_port_reset()
134 spin_unlock_irqrestore(&ehci->lock, flags); in tegra_ehci_internal_port_reset()
141 temp = ehci_readl(ehci, portsc_reg); in tegra_ehci_internal_port_reset()
143 ehci_writel(ehci, temp, portsc_reg); in tegra_ehci_internal_port_reset()
146 ehci_writel(ehci, temp, portsc_reg); in tegra_ehci_internal_port_reset()
157 temp = ehci_readl(ehci, portsc_reg); in tegra_ehci_internal_port_reset()
170 ehci_writel(ehci, PORT_CSC, portsc_reg); in tegra_ehci_internal_port_reset()
[all …]
Dehci-ppc-of.c97 struct ehci_hcd *ehci = NULL; in ehci_hcd_ppc_of_probe() local
134 ehci = hcd_to_ehci(hcd); in ehci_hcd_ppc_of_probe()
139 ehci->ohci_hcctrl_reg = in ehci_hcd_ppc_of_probe()
145 if (!ehci->ohci_hcctrl_reg) { in ehci_hcd_ppc_of_probe()
148 ehci->has_amcc_usb23 = 1; in ehci_hcd_ppc_of_probe()
153 ehci->big_endian_mmio = 1; in ehci_hcd_ppc_of_probe()
154 ehci->big_endian_desc = 1; in ehci_hcd_ppc_of_probe()
157 ehci->big_endian_mmio = 1; in ehci_hcd_ppc_of_probe()
159 ehci->big_endian_desc = 1; in ehci_hcd_ppc_of_probe()
161 ehci->caps = hcd->regs; in ehci_hcd_ppc_of_probe()
[all …]
Dehci-w90x900.c40 struct ehci_hcd *ehci; in usb_w90x900_probe() local
60 ehci = hcd_to_ehci(hcd); in usb_w90x900_probe()
61 ehci->caps = hcd->regs; in usb_w90x900_probe()
62 ehci->regs = hcd->regs + in usb_w90x900_probe()
63 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in usb_w90x900_probe()
69 val = __raw_readl(ehci->regs+PHY0_CTR); in usb_w90x900_probe()
71 __raw_writel(val, ehci->regs+PHY0_CTR); in usb_w90x900_probe()
73 val = __raw_readl(ehci->regs+PHY1_CTR); in usb_w90x900_probe()
75 __raw_writel(val, ehci->regs+PHY1_CTR); in usb_w90x900_probe()
Dehci-pmcmsp.c43 static void usb_hcd_tdi_set_mode(struct ehci_hcd *ehci) in usb_hcd_tdi_set_mode() argument
49 struct ehci_regs *reg_base = ehci->regs; in usb_hcd_tdi_set_mode()
57 val = ehci_readl(ehci, (u32 *)base); in usb_hcd_tdi_set_mode()
58 ehci_writel(ehci, (val | USB_CTRL_MODE_STREAM_DISABLE), in usb_hcd_tdi_set_mode()
62 val = ehci_readl(ehci, (u32 *)statreg); in usb_hcd_tdi_set_mode()
64 ehci_writel(ehci, val, (u32 *)statreg); in usb_hcd_tdi_set_mode()
67 ehci_writel(ehci, USB_CTRL_FIFO_THRESH, (u32 *)fiforeg); in usb_hcd_tdi_set_mode()
76 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_msp_setup() local
79 ehci->big_endian_mmio = 1; in ehci_msp_setup()
80 ehci->big_endian_desc = 1; in ehci_msp_setup()
[all …]
DMakefile31 obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
32 obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
33 obj-$(CONFIG_USB_EHCI_HCD_PLATFORM) += ehci-platform.o
34 obj-$(CONFIG_USB_EHCI_MXC) += ehci-mxc.o
35 obj-$(CONFIG_USB_EHCI_HCD_OMAP) += ehci-omap.o
36 obj-$(CONFIG_USB_EHCI_HCD_ORION) += ehci-orion.o
37 obj-$(CONFIG_USB_EHCI_HCD_SPEAR) += ehci-spear.o
38 obj-$(CONFIG_USB_EHCI_HCD_STI) += ehci-st.o
39 obj-$(CONFIG_USB_EHCI_EXYNOS) += ehci-exynos.o
40 obj-$(CONFIG_USB_EHCI_HCD_AT91) += ehci-atmel.o
[all …]
Dehci-mxc.c58 struct ehci_hcd *ehci; in ehci_mxc_drv_probe() local
81 ehci = hcd_to_ehci(hcd); in ehci_mxc_drv_probe()
82 priv = (struct ehci_mxc_priv *) ehci->priv; in ehci_mxc_drv_probe()
119 ehci->caps = hcd->regs + 0x100; in ehci_mxc_drv_probe()
120 ehci->regs = hcd->regs + 0x100 + in ehci_mxc_drv_probe()
121 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_mxc_drv_probe()
124 ehci_writel(ehci, pdata->portsc, &ehci->regs->port_status[0]); in ehci_mxc_drv_probe()
173 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_mxc_drv_remove() local
174 struct ehci_mxc_priv *priv = (struct ehci_mxc_priv *) ehci->priv; in ehci_mxc_drv_remove()
Dehci-grlib.c89 struct ehci_hcd *ehci = NULL; in ehci_hcd_grlib_probe() local
128 ehci = hcd_to_ehci(hcd); in ehci_hcd_grlib_probe()
130 ehci->caps = hcd->regs; in ehci_hcd_grlib_probe()
133 hc_capbase = ehci_readl(ehci, &ehci->caps->hc_capbase); in ehci_hcd_grlib_probe()
134 if (HC_VERSION(ehci, hc_capbase) != GRUSBHC_HCIVERSION) { in ehci_hcd_grlib_probe()
135 ehci->big_endian_mmio = 1; in ehci_hcd_grlib_probe()
136 ehci->big_endian_desc = 1; in ehci_hcd_grlib_probe()
137 ehci->big_endian_capbase = 1; in ehci_hcd_grlib_probe()
Dehci-tilegx.c103 struct ehci_hcd *ehci; in ehci_hcd_tilegx_drv_probe() local
137 ehci = hcd_to_ehci(hcd); in ehci_hcd_tilegx_drv_probe()
138 ehci->caps = hcd->regs; in ehci_hcd_tilegx_drv_probe()
139 ehci->regs = in ehci_hcd_tilegx_drv_probe()
140 hcd->regs + HC_LENGTH(ehci, readl(&ehci->caps->hc_capbase)); in ehci_hcd_tilegx_drv_probe()
142 ehci->hcs_params = readl(&ehci->caps->hcs_params); in ehci_hcd_tilegx_drv_probe()
Dehci-sead3.c28 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_sead3_setup() local
30 ehci->caps = hcd->regs + 0x100; in ehci_sead3_setup()
33 ehci->big_endian_mmio = 1; in ehci_sead3_setup()
34 ehci->big_endian_desc = 1; in ehci_sead3_setup()
41 ehci->need_io_watchdog = 0; in ehci_sead3_setup()
44 ehci_writel(ehci, 0x1010, &ehci->regs->reserved1[1]); in ehci_sead3_setup()
Dehci-xilinx-of.c134 struct ehci_hcd *ehci; in ehci_hcd_xilinx_of_probe() local
171 ehci = hcd_to_ehci(hcd); in ehci_hcd_xilinx_of_probe()
176 ehci->big_endian_mmio = 1; in ehci_hcd_xilinx_of_probe()
177 ehci->big_endian_desc = 1; in ehci_hcd_xilinx_of_probe()
183 ehci_dbg(ehci, "USB host controller supports FS devices\n"); in ehci_hcd_xilinx_of_probe()
186 ehci_dbg(ehci, in ehci_hcd_xilinx_of_probe()
193 ehci->caps = hcd->regs + 0x100; in ehci_hcd_xilinx_of_probe()
Dehci-platform.c58 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_platform_reset() local
61 ehci->has_synopsys_hc_bug = pdata->has_synopsys_hc_bug; in ehci_platform_reset()
69 ehci->caps = hcd->regs + pdata->caps_offset; in ehci_platform_reset()
75 ehci->need_io_watchdog = 0; in ehci_platform_reset()
151 struct ehci_hcd *ehci; in ehci_platform_probe() local
185 ehci = hcd_to_ehci(hcd); in ehci_platform_probe()
189 ehci->big_endian_mmio = 1; in ehci_platform_probe()
192 ehci->big_endian_desc = 1; in ehci_platform_probe()
195 ehci->big_endian_mmio = ehci->big_endian_desc = 1; in ehci_platform_probe()
250 ehci->big_endian_desc = 1; in ehci_platform_probe()
[all …]
Dehci-ps3.c24 static void ps3_ehci_setup_insnreg(struct ehci_hcd *ehci) in ps3_ehci_setup_insnreg() argument
43 writel_be(0x01000020, (void __iomem *)ehci->regs + in ps3_ehci_setup_insnreg()
48 writel_be(0x00000001, (void __iomem *)ehci->regs + in ps3_ehci_setup_insnreg()
55 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ps3_ehci_hc_reset() local
57 ehci->big_endian_mmio = 1; in ps3_ehci_hc_reset()
58 ehci->caps = hcd->regs; in ps3_ehci_hc_reset()
64 ps3_ehci_setup_insnreg(ehci); in ps3_ehci_hc_reset()
Dehci-atmel.c94 struct ehci_hcd *ehci; in ehci_atmel_drv_probe() local
152 ehci = hcd_to_ehci(hcd); in ehci_atmel_drv_probe()
154 ehci->caps = hcd->regs; in ehci_atmel_drv_probe()
Dehci-st.c56 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in st_ehci_platform_reset() local
63 ehci->caps = hcd->regs + pdata->caps_offset; in st_ehci_platform_reset()
157 struct ehci_hcd *ehci; in st_ehci_platform_probe() local
182 ehci = hcd_to_ehci(hcd); in st_ehci_platform_probe()
Dehci-orion.c164 struct ehci_hcd *ehci; in ehci_orion_drv_probe() local
211 ehci = hcd_to_ehci(hcd); in ehci_orion_drv_probe()
212 ehci->caps = hcd->regs + 0x100; in ehci_orion_drv_probe()
Dehci-mv.c136 struct ehci_hcd *ehci; in mv_ehci_probe() local
206 ehci = hcd_to_ehci(hcd); in mv_ehci_probe()
207 ehci->caps = (struct ehci_caps *) ehci_mv->cap_regs; in mv_ehci_probe()
Dehci-msm.c48 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_msm_reset() local
51 ehci->caps = USB_CAPLENGTH; in ehci_msm_reset()
Dehci-exynos.c143 struct ehci_hcd *ehci; in exynos_ehci_probe() local
212 ehci = hcd_to_ehci(hcd); in exynos_ehci_probe()
213 ehci->caps = hcd->regs; in exynos_ehci_probe()
Dehci-sh.c23 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_sh_reset() local
25 ehci->caps = hcd->regs; in ehci_sh_reset()
DKconfig78 You may want to read <file:Documentation/usb/ehci.txt>.
81 module will be called ehci-hcd.
756 for ehci and ohci.
768 for ehci and ohci.
/linux-4.4.14/drivers/usb/chipidea/
Dhost.c44 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ci_portpower() local
45 struct ehci_ci_priv *priv = (struct ehci_ci_priv *)ehci->priv; in ehci_ci_portpower()
49 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower()
109 struct ehci_hcd *ehci; in host_start() local
133 ehci = hcd_to_ehci(hcd); in host_start()
134 ehci->caps = ci->hw_bank.cap; in host_start()
135 ehci->has_hostpc = ci->hw_bank.lpm; in host_start()
136 ehci->has_tdi_phy_lpm = ci->hw_bank.lpm; in host_start()
137 ehci->imx28_write_fix = ci->imx28_write_fix; in host_start()
139 priv = (struct ehci_ci_priv *)ehci->priv; in host_start()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Domap-usb-host.txt18 "ehci-phy",
19 "ehci-tll",
20 "ehci-hsic",
67 See Documentation/devicetree/bindings/usb/omap-ehci.txt and
87 usbhsehci: ehci@4a064c00 {
88 compatible = "ti,ehci-omap", "usb-ehci";
96 port1-mode = "ehci-phy";
97 port2-mode = "ehci-tll";
98 port3-mode = "ehci-phy";
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dusb-ehci.txt4 - compatible : should be "generic-ehci".
24 ehci@e0000300 {
25 compatible = "ibm,usb-ehci-440epx", "usb-ehci";
34 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
Dspear-usb.txt8 - compatible: "st,spear600-ehci"
15 ehci@e1800000 {
16 compatible = "st,spear600-ehci", "usb-ehci";
Dehci-orion.txt4 - compatible: must be "marvell,orion-ehci"
16 ehci@50000 {
17 compatible = "marvell,orion-ehci";
Dehci-omap.txt8 - compatible: should be "ti,ehci-omap"
23 usbhsehci: ehci@4a064c00 {
24 compatible = "ti,ehci-omap";
Dnvidia,tegra20-ehci.txt9 - compatible : For Tegra20, must contain "nvidia,tegra20-ehci".
10 For Tegra30, must contain "nvidia,tegra30-ehci". Otherwise, must contain
11 "nvidia,<chip>-ehci" plus at least one of the above, where <chip> is
Datmel-usb.txt9 - interrupts: Should contain ehci interrupt
33 - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers
36 - interrupts: Should contain ehci interrupt
42 usb1: ehci@00800000 {
43 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
Dbrcm,bcm3384-usb.txt4 - compatible: "brcm,bcm3384-ohci", "brcm,bcm3384-ehci"
6 These currently use the generic-ohci and generic-ehci drivers. On some
Dmsm-hsusb.txt6 - compatible: Should contain "qcom,ehci-host"
12 ehci: ehci@f9a55000 {
13 compatible = "qcom,ehci-host";
Dehci-st.txt4 - compatible : must be "st,st-ehci-300x"
26 compatible = "st,st-ehci-300x";
Dexynos-usb.txt8 - compatible: should be "samsung,exynos4210-ehci" for USB 2.0
30 compatible = "samsung,exynos4210-ehci";
/linux-4.4.14/arch/mips/boot/dts/brcm/
Dbcm7435.dtsi164 compatible = "brcm,bcm7435-ehci", "generic-ehci";
183 compatible = "brcm,bcm7435-ehci", "generic-ehci";
202 compatible = "brcm,bcm7435-ehci", "generic-ehci";
221 compatible = "brcm,bcm7435-ehci", "generic-ehci";
Dbcm7425.dtsi150 compatible = "brcm,bcm7425-ehci", "generic-ehci";
169 compatible = "brcm,bcm7425-ehci", "generic-ehci";
188 compatible = "brcm,bcm7425-ehci", "generic-ehci";
207 compatible = "brcm,bcm7425-ehci", "generic-ehci";
Dbcm7346.dtsi243 compatible = "brcm,bcm7346-ehci", "generic-ehci";
262 compatible = "brcm,bcm7346-ehci", "generic-ehci";
281 compatible = "brcm,bcm7346-ehci", "generic-ehci";
300 compatible = "brcm,bcm7346-ehci", "generic-ehci";
Dbcm7420.dtsi149 compatible = "brcm,bcm7420-ehci", "generic-ehci";
167 compatible = "brcm,bcm7420-ehci", "generic-ehci";
Dbcm6368.dtsi75 compatible = "brcm,bcm6368-ehci", "generic-ehci";
Dbcm3384_viper.dtsi90 compatible = "brcm,bcm3384-ehci", "generic-ehci";
Dbcm3384_zephyr.dtsi108 compatible = "brcm,bcm3384-ehci", "generic-ehci";
Dbcm7125.dtsi122 compatible = "brcm,bcm7125-ehci", "generic-ehci";
Dbcm7358.dtsi227 compatible = "brcm,bcm7358-ehci", "generic-ehci";
Dbcm7360.dtsi227 compatible = "brcm,bcm7360-ehci", "generic-ehci";
Dbcm7362.dtsi223 compatible = "brcm,bcm7362-ehci", "generic-ehci";
/linux-4.4.14/include/linux/usb/
Dehci_def.h35 #define HC_LENGTH(ehci, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \ argument
36 (ehci_big_endian_capbase(ehci) ? 24 : 0)))
37 #define HC_VERSION(ehci, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \ argument
38 (ehci_big_endian_capbase(ehci) ? 0 : 16)))
/linux-4.4.14/arch/arm/boot/dts/
Dspear600.dtsi100 ehci@e1800000 {
101 compatible = "st,spear600-ehci", "usb-ehci";
108 ehci@e2000000 {
109 compatible = "st,spear600-ehci", "usb-ehci";
Duniphier-ph1-sld3.dtsi225 compatible = "socionext,uniphier-ehci", "generic-ehci";
232 compatible = "socionext,uniphier-ehci", "generic-ehci";
239 compatible = "socionext,uniphier-ehci", "generic-ehci";
246 compatible = "socionext,uniphier-ehci", "generic-ehci";
Dspear13xx.dtsi181 ehci@e4800000 {
182 compatible = "st,spear600-ehci", "usb-ehci";
189 ehci@e5800000 {
190 compatible = "st,spear600-ehci", "usb-ehci";
Duniphier-ph1-sld8.dtsi209 compatible = "socionext,uniphier-ehci", "generic-ehci";
218 compatible = "socionext,uniphier-ehci", "generic-ehci";
227 compatible = "socionext,uniphier-ehci", "generic-ehci";
Duniphier-ph1-ld4.dtsi209 compatible = "socionext,uniphier-ehci", "generic-ehci";
218 compatible = "socionext,uniphier-ehci", "generic-ehci";
227 compatible = "socionext,uniphier-ehci", "generic-ehci";
Dspear3xx.dtsi82 ehci@e1800000 {
83 compatible = "st,spear600-ehci", "usb-ehci";
Dorion5x.dtsi153 ehci0: ehci@50000 {
154 compatible = "marvell,orion-ehci";
225 ehci1: ehci@a0000 {
226 compatible = "marvell,orion-ehci";
Dspear600-evb.dts35 ehci@e1800000 {
39 ehci@e2000000 {
Dlpc18xx.dtsi122 usb0: ehci@40006100 {
123 compatible = "nxp,lpc1850-ehci", "generic-ehci";
134 usb1: ehci@40007100 {
135 compatible = "nxp,lpc1850-ehci", "generic-ehci";
Duniphier-ph1-pro4.dtsi241 compatible = "socionext,uniphier-ehci", "generic-ehci";
250 compatible = "socionext,uniphier-ehci", "generic-ehci";
Dstih418.dtsi64 compatible = "st,st-ehci-300x";
90 compatible = "st,st-ehci-300x";
Dvt8500.dtsi108 ehci@d8007900 {
109 compatible = "via,vt8500-ehci";
Dat91-ariettag25.dts66 usb1: ehci@00700000 {
Dwm8650.dtsi178 ehci@d8007900 {
179 compatible = "via,vt8500-ehci";
Dtegra124.dtsi834 compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci", "usb-ehci";
871 compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci", "usb-ehci";
907 compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci", "usb-ehci";
Dat91-cosino_mega2560.dts74 usb1: ehci@00700000 {
Dstih410.dtsi55 compatible = "st,st-ehci-300x";
85 compatible = "st,st-ehci-300x";
Dtegra20.dtsi639 compatible = "nvidia,tegra20-ehci", "usb-ehci";
676 compatible = "nvidia,tegra20-ehci", "usb-ehci";
701 compatible = "nvidia,tegra20-ehci", "usb-ehci";
Dstih416.dtsi351 compatible = "st,st-ehci-300x";
382 compatible = "st,st-ehci-300x";
412 compatible = "st,st-ehci-300x";
442 compatible = "st,st-ehci-300x";
Dkirkwood-db.dtsi45 ehci@50000 {
Dsun9i-a80.dtsi366 compatible = "allwinner,sun9i-a80-ehci", "generic-ehci";
399 compatible = "allwinner,sun9i-a80-ehci", "generic-ehci";
424 compatible = "allwinner,sun9i-a80-ehci", "generic-ehci";
Dwm8505.dtsi206 ehci@d8007100 {
207 compatible = "via,vt8500-ehci";
Dwm8850.dtsi237 ehci@d8007900 {
238 compatible = "via,vt8500-ehci";
Dtegra30.dtsi799 compatible = "nvidia,tegra30-ehci", "usb-ehci";
837 compatible = "nvidia,tegra30-ehci", "usb-ehci";
873 compatible = "nvidia,tegra30-ehci", "usb-ehci";
Dexynos4412-odroidx.dts66 &ehci {
Dat91-kizboxmini.dts67 usb1: ehci@00700000 {
Dwm8750.dtsi250 ehci@d8007900 {
251 compatible = "via,vt8500-ehci";
Dexynos4412-odroidu3.dts86 &ehci {
Dspear1310-evb.dts214 ehci@e4800000 {
218 ehci@e5800000 {
Dexynos5440.dtsi274 ehci@221000 {
275 compatible = "samsung,exynos5440-ehci";
Dpm9g45.dts135 usb1: ehci@00800000 {
Domap3-cm-t3x.dtsi202 port1-mode = "ehci-phy";
203 port2-mode = "ehci-phy";
Dkirkwood-mv88f6281gtw-ge.dts79 ehci@50000 {
Dqcom-apq8064.dtsi508 compatible = "qcom,ehci-host";
516 compatible = "qcom,ehci-host";
524 compatible = "qcom,ehci-host";
Dtegra114.dtsi675 compatible = "nvidia,tegra30-ehci", "usb-ehci";
711 compatible = "nvidia,tegra30-ehci", "usb-ehci";
Dspear320-evb.dts151 ehci@e1800000 {
Dspear310-evb.dts142 ehci@e1800000 {
Dat91-ariag25.dts164 usb1: ehci@00700000 {
Darmada-370-xp.dtsi257 compatible = "marvell,orion-ehci";
264 compatible = "marvell,orion-ehci";
Dkirkwood.dtsi264 usb0: ehci@50000 {
265 compatible = "marvell,orion-ehci";
Dspear1340-evb.dts212 ehci@e4800000 {
230 ehci@e5800000 {
Dspear300-evb.dts128 ehci@e1800000 {
Dat91-kizbox2.dts140 usb2: ehci@00700000 {
Dat91sam9x5ek.dtsi179 usb1: ehci@00700000 {
Ds5pv210.dtsi443 ehci: ehci@ec200000 { label
444 compatible = "samsung,exynos4210-ehci";
Dexynos4415.dtsi329 ehci: ehci@12580000 { label
330 compatible = "samsung,exynos4210-ehci";
Dsama5d3xmb.dtsi197 usb2: ehci@00700000 {
Dhisi-x5hd2.dtsi454 usb0: ehci@1890000 {
455 compatible = "generic-ehci";
Dsun4i-a10.dtsi693 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
743 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
Dsun6i-a31.dtsi585 compatible = "allwinner,sun6i-a31-ehci", "generic-ehci";
607 compatible = "allwinner,sun6i-a31-ehci", "generic-ehci";
Dkirkwood-dir665.dts144 ehci@50000 {
Dspear320-hmi.dts101 ehci@e1800000 {
Dat91sam9m10g45ek.dts277 usb1: ehci@00800000 {
Dat91-sama5d3_xplained.dts295 usb2: ehci@00700000 {
Domap5-board-common.dtsi623 port2-mode = "ehci-hsic";
624 port3-mode = "ehci-hsic";
Dexynos4.dtsi348 ehci: ehci@12580000 { label
349 compatible = "samsung,exynos4210-ehci";
Dsama5d2.dtsi249 usb2: ehci@00500000 {
250 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
Domap4-duovero.dtsi254 port1-mode = "ehci-phy";
Dat91-sama5d4_xplained.dts181 usb2: ehci@00600000 {
Domap3-igep0020-common.dtsi231 port1-mode = "ehci-phy";
Domap5-cm-t54.dts625 port2-mode = "ehci-hsic";
626 port3-mode = "ehci-hsic";
Domap4-var-som-om44.dtsi336 port1-mode = "ehci-phy";
Domap3-overo-base.dtsi209 port2-mode = "ehci-phy";
Ddove.dtsi277 compatible = "marvell,orion-ehci";
285 compatible = "marvell,orion-ehci";
Darmada-375.dtsi449 compatible = "marvell,orion-ehci";
459 compatible = "marvell,orion-ehci";
Dsun7i-a20.dtsi777 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
827 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
Drk3288-evb.dtsi111 /* This turns on USB vbus for both host0 (ehci) and host1 (dwc2) */
Dat91-sama5d2_xplained.dts82 usb2: ehci@00500000 {
Domap3-beagle-xm.dts346 port2-mode = "ehci-phy";
Dat91sam9x5.dtsi1235 usb1: ehci@00700000 {
1236 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
Domap3.dtsi707 usbhsehci: ehci@48064800 {
708 compatible = "ti,ehci-omap";
Dsun8i-a23-a33.dtsi326 compatible = "allwinner,sun8i-a23-ehci", "generic-ehci";
Dsun5i.dtsi464 compatible = "allwinner,sun5i-a13-ehci", "generic-ehci";
Dat91-sama5d4ek.dts255 usb2: ehci@00600000 {
Domap3-tao3530.dtsi247 port2-mode = "ehci-phy";
Dexynos5250-smdk5250.dts111 &ehci {
Dat91sam9g45.dtsi1313 usb1: ehci@00800000 {
1314 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
Domap3-beagle.dts299 port2-mode = "ehci-phy";
Dr8a7793.dtsi351 "ehci", "hsusb", "hscif2", "scif5", "scif4",
Darmada-xp.dtsi209 compatible = "marvell,orion-ehci";
Dexynos4412-odroid-common.dtsi140 &ehci {
Dsama5d3.dtsi1452 usb2: ehci@00700000 {
1453 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
Domap4-panda-common.dtsi511 port1-mode = "ehci-phy";
Domap3-lilly-a83x.dtsi342 port1-mode = "ehci-phy";
Dexynos4210-universal_c210.dts243 &ehci {
Domap3-gta04.dtsi381 port2-mode = "ehci-phy";
Dexynos5250.dtsi616 ehci: usb@12110000 { label
617 compatible = "samsung,exynos4210-ehci";
Domap4.dtsi851 usbhsehci: ehci@4a064c00 {
852 compatible = "ti,ehci-omap";
Dexynos5250-spring.dts85 &ehci {
Domap5.dtsi950 usbhsehci: ehci@4a064c00 {
951 compatible = "ti,ehci-omap";
Dsama5d4.dtsi266 usb2: ehci@00600000 {
267 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
Dexynos5250-snow-common.dtsi255 &ehci {
Darmada-38x.dtsi449 compatible = "marvell,orion-ehci";
Domap3-pandora-common.dtsi538 port2-mode = "ehci-phy";
Drk3288.dtsi484 compatible = "generic-ehci";
527 compatible = "generic-ehci";
Dexynos5420.dtsi912 compatible = "samsung,exynos4210-ehci";
Dr8a7794.dtsi1038 "ehci", "hsusb",
Dr8a7791.dtsi1334 "ehci", "hsusb", "hscif2", "scif5", "scif4", "hscif1", "hscif0",
Dr8a7790.dtsi1320 "ehci", "hsusb", "hscif1", "hscif0", "scif1",
/linux-4.4.14/Documentation/devicetree/bindings/mips/cavium/
Ductl.txt34 ehci@16f0000000000 {
35 compatible = "cavium,octeon-6335-ehci","usb-ehci";
/linux-4.4.14/drivers/phy/
Dphy-exynos5250-usb2.c205 u32 ehci; in exynos5250_power_on() local
306 ehci = readl(drv->reg_phy + EXYNOS_5250_HOSTEHCICTRL); in exynos5250_power_on()
307 ehci |= EXYNOS_5250_HOSTEHCICTRL_ENAINCRXALIGN | in exynos5250_power_on()
311 writel(ehci, drv->reg_phy + EXYNOS_5250_HOSTEHCICTRL); in exynos5250_power_on()
DKconfig75 The PHY driver will be used by Marvell ehci driver.
86 The PHY driver will be used by Marvell udc/ehci/otg driver.
/linux-4.4.14/Documentation/devicetree/bindings/
Dresource-names.txt51 reg-names = "config", "ohci", "ehci";
53 interrupt-names = "ohci", "ehci";
/linux-4.4.14/arch/arm/mach-imx/
DMakefile9 obj-$(CONFIG_SOC_IMX27) += mm-imx27.o ehci-imx27.o
11 obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o iomux-imx31.o ehci-imx31.o pm-imx3.o
12 obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o ehci-imx35.o pm-imx3.o
/linux-4.4.14/drivers/usb/early/
DMakefile5 obj-$(CONFIG_EARLY_PRINTK_DBGP) += ehci-dbgp.o
/linux-4.4.14/arch/arc/boot/dts/
Dvdk_axs10x_mb.dtsi41 ehci@0x40000 {
42 compatible = "generic-ehci";
Daxs10x_mb.dtsi52 ehci@0x40000 {
53 compatible = "generic-ehci";
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/cs5536/
Dcs5536_vsm.h29 DECLARE_CS5536_MODULE(ehci)
/linux-4.4.14/arch/arm64/boot/dts/arm/
Djuno-base.dtsi162 ehci@7ffc0000 {
163 compatible = "generic-ehci";
/linux-4.4.14/arch/powerpc/boot/dts/
Dwii.dts120 compatible = "nintendo,hollywood-usb-ehci",
121 "usb-ehci";
Dsequoia.dts155 USB0: ehci@e0000300 {
156 compatible = "ibm,usb-ehci-440epx", "usb-ehci";
Dakebono.dts129 EHCI0: ehci@30010000000 {
130 compatible = "ibm,476gtr-ehci", "generic-ehci";
Dcanyonlands.dts166 USB0: ehci@bffd0400 {
167 compatible = "ibm,usb-ehci-460ex", "usb-ehci";
/linux-4.4.14/arch/arm/mach-imx/devices/
DMakefile20 obj-$(CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI) += platform-mxc-ehci.o
/linux-4.4.14/drivers/mfd/
Domap-usb-host.c226 struct platform_device *ehci; in omap_usbhs_alloc_children() local
248 ehci = omap_usbhs_alloc_child(OMAP_EHCI_DEVICE, resources, 2, pdata, in omap_usbhs_alloc_children()
251 if (!ehci) { in omap_usbhs_alloc_children()
284 platform_device_unregister(ehci); in omap_usbhs_alloc_children()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/nintendo/
Dwii.txt116 - compatible : should be "nintendo,hollywood-usb-ehci","usb-ehci"
/linux-4.4.14/Documentation/ia64/
Dxen.txt48 --builtin ehci-hcd
153 --builtin ohci-hcd --builtin ehci-hcd
/linux-4.4.14/arch/mips/boot/dts/cavium-octeon/
Docteon_68xx.dts595 ehci@16f0000000000 {
596 compatible = "cavium,octeon-6335-ehci","usb-ehci";
Docteon_3xxx.dts540 ehci@16f0000000000 {
541 compatible = "cavium,octeon-6335-ehci","usb-ehci";
/linux-4.4.14/Documentation/usb/
Dehci.txt91 # modprobe ehci-hcd
95 # rmmod ehci-hcd
181 default ehci-hcd driver uses the minimum latency, which means that if
Dacm.txt59 uhci-hcd.ko ohci-hcd.ko or ehci-hcd.ko
Dpower-management.txt639 Distinct from 'companion ports', or 'ehci/xhci shared switchover ports'
/linux-4.4.14/arch/arm64/boot/dts/qcom/
Dmsm8916.dtsi320 usb_host: ehci@78d9000 {
321 compatible = "qcom,ehci-host";
/linux-4.4.14/Documentation/x86/
Dearlyprintk.txt32 Kernel modules: ehci-hcd
/linux-4.4.14/Documentation/
Dphy.txt91 the phy cannot be found.Some generic drivers, such as ehci, may use multiple
Dkernel-parameters.txt1713 The controller # is the number of the ehci usb debug
/linux-4.4.14/arch/arm64/boot/dts/rockchip/
Drk3368.dtsi425 compatible = "generic-ehci";
/linux-4.4.14/
DMAINTAINERS1578 F: drivers/usb/host/ehci-st.c
1619 F: drivers/usb/host/ehci-w90x900.c
1715 F: drivers/usb/host/ehci-platform.c
11106 F: Documentation/usb/ehci.txt
11107 F: drivers/usb/host/ehci*