Home
last modified time | relevance | path

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

/linux-4.1.27/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.c131 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in usb_hcd_fsl_probe() local
135 hcd, ehci, hcd->usb_phy); in usb_hcd_fsl_probe()
139 &ehci_to_hcd(ehci)->self); in usb_hcd_fsl_probe()
199 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_setup_phy() local
209 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
257 ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
265 static int ehci_fsl_usb_setup(struct ehci_hcd *ehci) in ehci_fsl_usb_setup() argument
267 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_fsl_usb_setup()
300 ehci->has_fsl_port_bug = 1; in ehci_fsl_usb_setup()
326 static int ehci_fsl_reinit(struct ehci_hcd *ehci) in ehci_fsl_reinit() argument
[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.h274 static inline struct usb_hcd *ehci_to_hcd (struct ehci_hcd *ehci) in ehci_to_hcd() argument
276 return container_of ((void *) ehci, struct usb_hcd, hcd_priv); in ehci_to_hcd()
285 #define QTD_NEXT(ehci, dma) cpu_to_hc32(ehci, (u32)dma) argument
314 #define ACTIVE_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_ACTIVE) argument
315 #define HALT_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_HALT) argument
316 #define STATUS_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_STS) argument
329 #define QTD_MASK(ehci) cpu_to_hc32 (ehci, ~0x1f) argument
336 #define Q_NEXT_TYPE(ehci,dma) ((dma) & cpu_to_hc32(ehci, 3 << 1)) argument
352 #define QH_NEXT(ehci,dma) (cpu_to_hc32(ehci, (((u32)dma)&~0x01f)|Q_TYPE_QH)) argument
355 #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 …]
DMakefile29 obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
30 obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
31 obj-$(CONFIG_USB_EHCI_HCD_PLATFORM) += ehci-platform.o
32 obj-$(CONFIG_USB_EHCI_MXC) += ehci-mxc.o
33 obj-$(CONFIG_USB_EHCI_HCD_OMAP) += ehci-omap.o
34 obj-$(CONFIG_USB_EHCI_HCD_ORION) += ehci-orion.o
35 obj-$(CONFIG_USB_EHCI_HCD_SPEAR) += ehci-spear.o
36 obj-$(CONFIG_USB_EHCI_HCD_STI) += ehci-st.o
37 obj-$(CONFIG_USB_EHCI_EXYNOS) += ehci-exynos.o
38 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.c56 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_platform_reset() local
60 ehci->has_synopsys_hc_bug = pdata->has_synopsys_hc_bug; in ehci_platform_reset()
68 ehci->caps = hcd->regs + pdata->caps_offset; in ehci_platform_reset()
74 ehci->need_io_watchdog = 0; in ehci_platform_reset()
156 struct ehci_hcd *ehci; in ehci_platform_probe() local
189 ehci = hcd_to_ehci(hcd); in ehci_platform_probe()
193 ehci->big_endian_mmio = 1; in ehci_platform_probe()
196 ehci->big_endian_desc = 1; in ehci_platform_probe()
199 ehci->big_endian_mmio = ehci->big_endian_desc = 1; in ehci_platform_probe()
264 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
64 ehci->caps = hcd->regs + pdata->caps_offset; in st_ehci_platform_reset()
162 struct ehci_hcd *ehci; in st_ehci_platform_probe() local
187 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()
DKconfig71 You may want to read <file:Documentation/usb/ehci.txt>.
74 module will be called ehci-hcd.
759 for ehci and ohci.
771 for ehci and ohci.
/linux-4.1.27/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()
48 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower()
83 struct ehci_hcd *ehci; in host_start() local
107 ehci = hcd_to_ehci(hcd); in host_start()
108 ehci->caps = ci->hw_bank.cap; in host_start()
109 ehci->has_hostpc = ci->hw_bank.lpm; in host_start()
110 ehci->has_tdi_phy_lpm = ci->hw_bank.lpm; in host_start()
111 ehci->imx28_write_fix = ci->imx28_write_fix; in host_start()
113 priv = (struct ehci_ci_priv *)ehci->priv; in host_start()
[all …]
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/usb/
Dusb-ehci.txt4 - compatible : should be "generic-ehci".
22 ehci@e0000300 {
23 compatible = "ibm,usb-ehci-440epx", "usb-ehci";
32 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
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";
Datmel-usb.txt24 - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers
27 usb1: ehci@00800000 {
28 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
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";
Dsamsung-usbphy.txt6 usb 2.0 phy for s3c-hsotg as well as ehci-s5p and ohci-exynos
/linux-4.1.27/arch/mips/boot/dts/brcm/
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.dtsi149 compatible = "brcm,bcm7346-ehci", "generic-ehci";
168 compatible = "brcm,bcm7346-ehci", "generic-ehci";
187 compatible = "brcm,bcm7346-ehci", "generic-ehci";
206 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";
Dbcm7360.dtsi143 compatible = "brcm,bcm7360-ehci", "generic-ehci";
Dbcm7358.dtsi143 compatible = "brcm,bcm7358-ehci", "generic-ehci";
Dbcm7362.dtsi149 compatible = "brcm,bcm7362-ehci", "generic-ehci";
/linux-4.1.27/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.1.27/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";
Dspear13xx.dtsi181 ehci@e4800000 {
182 compatible = "st,spear600-ehci", "usb-ehci";
189 ehci@e5800000 {
190 compatible = "st,spear600-ehci", "usb-ehci";
Dorion5x.dtsi153 ehci0: ehci@50000 {
154 compatible = "marvell,orion-ehci";
215 ehci1: ehci@a0000 {
216 compatible = "marvell,orion-ehci";
Dspear3xx.dtsi82 ehci@e1800000 {
83 compatible = "st,spear600-ehci", "usb-ehci";
Dspear600-evb.dts35 ehci@e1800000 {
39 ehci@e2000000 {
Dstih418.dtsi60 compatible = "st,st-ehci-300x";
86 compatible = "st,st-ehci-300x";
Dvt8500.dtsi108 ehci@d8007900 {
109 compatible = "via,vt8500-ehci";
Dwm8650.dtsi178 ehci@d8007900 {
179 compatible = "via,vt8500-ehci";
Dtegra124.dtsi809 compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci", "usb-ehci";
846 compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci", "usb-ehci";
882 compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci", "usb-ehci";
Dstih416.dtsi329 compatible = "st,st-ehci-300x";
360 compatible = "st,st-ehci-300x";
390 compatible = "st,st-ehci-300x";
420 compatible = "st,st-ehci-300x";
Dat91-cosino_mega2560.dts74 usb1: ehci@00700000 {
Dstih410.dtsi45 compatible = "st,st-ehci-300x";
71 compatible = "st,st-ehci-300x";
Dtegra20.dtsi636 compatible = "nvidia,tegra20-ehci", "usb-ehci";
673 compatible = "nvidia,tegra20-ehci", "usb-ehci";
698 compatible = "nvidia,tegra20-ehci", "usb-ehci";
Dexynos4412-odroidu3.dts42 &ehci {
Dkirkwood-db.dtsi45 ehci@50000 {
Dwm8505.dtsi206 ehci@d8007100 {
207 compatible = "via,vt8500-ehci";
Dwm8850.dtsi237 ehci@d8007900 {
238 compatible = "via,vt8500-ehci";
Dtegra30.dtsi781 compatible = "nvidia,tegra30-ehci", "usb-ehci";
819 compatible = "nvidia,tegra30-ehci", "usb-ehci";
855 compatible = "nvidia,tegra30-ehci", "usb-ehci";
Dexynos4412-odroidx.dts74 &ehci {
Dwm8750.dtsi250 ehci@d8007900 {
251 compatible = "via,vt8500-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 {
Dkirkwood.dtsi255 usb0: ehci@50000 {
256 compatible = "marvell,orion-ehci";
Dtegra114.dtsi672 compatible = "nvidia,tegra30-ehci", "usb-ehci";
708 compatible = "nvidia,tegra30-ehci", "usb-ehci";
Dat91-ariag25.dts164 usb1: ehci@00700000 {
Dat91sam9x5ek.dtsi170 usb1: ehci@00700000 {
Dspear310-evb.dts142 ehci@e1800000 {
Dspear320-evb.dts151 ehci@e1800000 {
Darmada-370-xp.dtsi259 compatible = "marvell,orion-ehci";
266 compatible = "marvell,orion-ehci";
Dspear1340-evb.dts212 ehci@e4800000 {
230 ehci@e5800000 {
Dspear300-evb.dts128 ehci@e1800000 {
Ds5pv210.dtsi443 ehci: ehci@ec200000 { label
444 compatible = "samsung,exynos4210-ehci";
Dexynos4415.dtsi318 ehci: ehci@12580000 { label
319 compatible = "samsung,exynos4210-ehci";
Dsun4i-a10.dtsi548 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
590 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
Dexynos4412-odroid-common.dtsi436 ehci: ehci@12580000 { label
Dsama5d3xmb.dtsi195 usb2: ehci@00700000 {
Dsun6i-a31.dtsi483 compatible = "allwinner,sun6i-a31-ehci", "generic-ehci";
505 compatible = "allwinner,sun6i-a31-ehci", "generic-ehci";
Dat91-sama5d3_xplained.dts282 usb2: ehci@00700000 {
Drk3288-evb.dtsi82 /* This turns on USB vbus for both host0 (ehci) and host1 (dwc2) */
Dhisi-x5hd2.dtsi454 usb0: ehci@1890000 {
455 compatible = "generic-ehci";
Dspear320-hmi.dts101 ehci@e1800000 {
Dkirkwood-dir665.dts144 ehci@50000 {
Dat91sam9m10g45ek.dts236 usb1: ehci@00800000 {
Dat91-sama5d4_xplained.dts168 usb2: ehci@00600000 {
Domap3-igep0020-common.dtsi225 port1-mode = "ehci-phy";
Domap3-overo-base.dtsi209 port2-mode = "ehci-phy";
Domap5-uevm.dts616 port2-mode = "ehci-hsic";
617 port3-mode = "ehci-hsic";
Domap4-duovero.dtsi254 port1-mode = "ehci-phy";
Darmada-375.dtsi443 compatible = "marvell,orion-ehci";
453 compatible = "marvell,orion-ehci";
Dsun5i-a13.dtsi439 compatible = "allwinner,sun5i-a13-ehci", "generic-ehci";
Ddove.dtsi240 compatible = "marvell,orion-ehci";
248 compatible = "marvell,orion-ehci";
Domap5-cm-t54.dts625 port2-mode = "ehci-hsic";
626 port3-mode = "ehci-hsic";
Dsun7i-a20.dtsi663 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
705 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
Domap4-var-som-om44.dtsi336 port1-mode = "ehci-phy";
Dsun5i-a10s.dtsi432 compatible = "allwinner,sun5i-a10s-ehci", "generic-ehci";
Dat91-sama5d4ek.dts228 usb2: ehci@00600000 {
Domap3-beagle-xm.dts346 port2-mode = "ehci-phy";
Dat91sam9x5.dtsi1184 usb1: ehci@00700000 {
1185 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
Domap3.dtsi706 usbhsehci: ehci@48064800 {
707 compatible = "ti,ehci-omap";
Domap3-tao3530.dtsi247 port2-mode = "ehci-phy";
Darmada-xp.dtsi196 compatible = "marvell,orion-ehci";
Dexynos5250-smdk5250.dts90 &ehci {
Dexynos4.dtsi345 ehci@12580000 {
346 compatible = "samsung,exynos4210-ehci";
Dexynos5250.dtsi615 ehci: usb@12110000 { label
616 compatible = "samsung,exynos4210-ehci";
Dat91sam9g45.dtsi1299 usb1: ehci@00800000 {
1300 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
Domap3-beagle.dts299 port2-mode = "ehci-phy";
Dsama5d3.dtsi1448 usb2: ehci@00700000 {
1449 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
Domap4-panda-common.dtsi511 port1-mode = "ehci-phy";
Dexynos4210-universal_c210.dts98 ehci@12580000 {
Domap3-gta04.dtsi353 port2-mode = "ehci-phy";
Domap3-lilly-a83x.dtsi342 port1-mode = "ehci-phy";
Domap4.dtsi848 usbhsehci: ehci@4a064c00 {
849 compatible = "ti,ehci-omap";
Dsama5d4.dtsi263 usb2: ehci@00600000 {
264 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
Dexynos5250-spring.dts81 &ehci {
Drk3288.dtsi418 compatible = "generic-ehci";
455 compatible = "generic-ehci";
Domap5.dtsi942 usbhsehci: ehci@4a064c00 {
943 compatible = "ti,ehci-omap";
Domap3-pandora-common.dtsi496 port2-mode = "ehci-phy";
Darmada-38x.dtsi443 compatible = "marvell,orion-ehci";
Dexynos5250-snow.dts283 &ehci {
Dr8a7794.dtsi643 "ehci", "hsusb",
Dexynos5420.dtsi927 compatible = "samsung,exynos4210-ehci";
Dr8a7790.dtsi1189 "ehci", "hsusb", "hscif1", "hscif0", "scif1",
Dr8a7791.dtsi1192 "ehci", "hsusb", "hscif2", "scif5", "scif4", "hscif1", "hscif0",
/linux-4.1.27/Documentation/devicetree/bindings/mips/cavium/
Ductl.txt34 ehci@16f0000000000 {
35 compatible = "cavium,octeon-6335-ehci","usb-ehci";
/linux-4.1.27/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()
/linux-4.1.27/Documentation/devicetree/bindings/
Dresource-names.txt51 reg-names = "config", "ohci", "ehci";
53 interrupt-names = "ohci", "ehci";
/linux-4.1.27/drivers/usb/early/
DMakefile5 obj-$(CONFIG_EARLY_PRINTK_DBGP) += ehci-dbgp.o
/linux-4.1.27/arch/arm/mach-imx/
DMakefile9 obj-$(CONFIG_SOC_IMX27) += clk-imx27.o mm-imx27.o ehci-imx27.o
11 obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o clk-imx31.o iomux-imx31.o ehci-imx31.o pm-imx3.o
12 obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o clk-imx35.o ehci-imx35.o pm-imx3.o
/linux-4.1.27/arch/mips/include/asm/mach-loongson/cs5536/
Dcs5536_vsm.h29 DECLARE_CS5536_MODULE(ehci)
/linux-4.1.27/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.1.27/arch/arm/mach-imx/devices/
DMakefile20 obj-$(CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI) += platform-mxc-ehci.o
/linux-4.1.27/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.1.27/arch/arm64/boot/dts/arm/
Djuno.dts193 ehci@7ffc0000 {
194 compatible = "generic-ehci";
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/nintendo/
Dwii.txt116 - compatible : should be "nintendo,hollywood-usb-ehci","usb-ehci"
/linux-4.1.27/Documentation/ia64/
Dxen.txt48 --builtin ehci-hcd
153 --builtin ohci-hcd --builtin ehci-hcd
/linux-4.1.27/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.1.27/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.txt627 Distinct from 'companion ports', or 'ehci/xhci shared switchover ports'
/linux-4.1.27/arch/arm/mach-shmobile/
Dsetup-r8a7778.c199 USB_PLATFORM_INFO(ehci);
/linux-4.1.27/Documentation/x86/
Dearlyprintk.txt32 Kernel modules: ehci-hcd
/linux-4.1.27/
DMAINTAINERS1493 F: drivers/usb/host/ehci-st.c
1525 F: drivers/usb/host/ehci-w90x900.c
1607 F: drivers/usb/host/ehci-platform.c
10299 F: Documentation/usb/ehci.txt
10300 F: drivers/usb/host/ehci*
/linux-4.1.27/Documentation/
Dkernel-parameters.txt1648 The controller # is the number of the ehci usb debug