/linux-4.4.14/drivers/usb/host/ |
D | ehci-timer.c | 20 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 …]
|
D | ehci-hcd.c | 122 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 …]
|
D | ehci-hub.c | 45 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 …]
|
D | ehci-mem.c | 38 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 …]
|
D | ehci-q.c | 46 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 …]
|
D | ehci-sched.c | 45 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 …]
|
D | ehci-pci.c | 73 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 …]
|
D | ehci-dbg.c | 27 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 …]
|
D | ehci-fsl.c | 152 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 …]
|
D | ehci-sysfs.c | 27 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 …]
|
D | ehci.h | 275 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 …]
|
D | ehci-tegra.c | 120 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 …]
|
D | ehci-ppc-of.c | 97 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 …]
|
D | ehci-w90x900.c | 40 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()
|
D | ehci-pmcmsp.c | 43 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 …]
|
D | Makefile | 31 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 …]
|
D | ehci-mxc.c | 58 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()
|
D | ehci-grlib.c | 89 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()
|
D | ehci-tilegx.c | 103 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()
|
D | ehci-sead3.c | 28 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()
|
D | ehci-xilinx-of.c | 134 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()
|
D | ehci-platform.c | 58 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 …]
|
D | ehci-ps3.c | 24 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()
|
D | ehci-atmel.c | 94 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()
|
D | ehci-st.c | 56 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()
|
D | ehci-orion.c | 164 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()
|
D | ehci-mv.c | 136 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()
|
D | ehci-msm.c | 48 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_msm_reset() local 51 ehci->caps = USB_CAPLENGTH; in ehci_msm_reset()
|
D | ehci-exynos.c | 143 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()
|
D | ehci-sh.c | 23 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_sh_reset() local 25 ehci->caps = hcd->regs; in ehci_sh_reset()
|
D | Kconfig | 78 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/ |
D | host.c | 44 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/ |
D | omap-usb-host.txt | 18 "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/ |
D | usb-ehci.txt | 4 - compatible : should be "generic-ehci". 24 ehci@e0000300 { 25 compatible = "ibm,usb-ehci-440epx", "usb-ehci"; 34 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
|
D | spear-usb.txt | 8 - compatible: "st,spear600-ehci" 15 ehci@e1800000 { 16 compatible = "st,spear600-ehci", "usb-ehci";
|
D | ehci-orion.txt | 4 - compatible: must be "marvell,orion-ehci" 16 ehci@50000 { 17 compatible = "marvell,orion-ehci";
|
D | ehci-omap.txt | 8 - compatible: should be "ti,ehci-omap" 23 usbhsehci: ehci@4a064c00 { 24 compatible = "ti,ehci-omap";
|
D | nvidia,tegra20-ehci.txt | 9 - 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
|
D | atmel-usb.txt | 9 - 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";
|
D | brcm,bcm3384-usb.txt | 4 - compatible: "brcm,bcm3384-ohci", "brcm,bcm3384-ehci" 6 These currently use the generic-ohci and generic-ehci drivers. On some
|
D | msm-hsusb.txt | 6 - compatible: Should contain "qcom,ehci-host" 12 ehci: ehci@f9a55000 { 13 compatible = "qcom,ehci-host";
|
D | ehci-st.txt | 4 - compatible : must be "st,st-ehci-300x" 26 compatible = "st,st-ehci-300x";
|
D | exynos-usb.txt | 8 - compatible: should be "samsung,exynos4210-ehci" for USB 2.0 30 compatible = "samsung,exynos4210-ehci";
|
/linux-4.4.14/arch/mips/boot/dts/brcm/ |
D | bcm7435.dtsi | 164 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";
|
D | bcm7425.dtsi | 150 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";
|
D | bcm7346.dtsi | 243 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";
|
D | bcm7420.dtsi | 149 compatible = "brcm,bcm7420-ehci", "generic-ehci"; 167 compatible = "brcm,bcm7420-ehci", "generic-ehci";
|
D | bcm6368.dtsi | 75 compatible = "brcm,bcm6368-ehci", "generic-ehci";
|
D | bcm3384_viper.dtsi | 90 compatible = "brcm,bcm3384-ehci", "generic-ehci";
|
D | bcm3384_zephyr.dtsi | 108 compatible = "brcm,bcm3384-ehci", "generic-ehci";
|
D | bcm7125.dtsi | 122 compatible = "brcm,bcm7125-ehci", "generic-ehci";
|
D | bcm7358.dtsi | 227 compatible = "brcm,bcm7358-ehci", "generic-ehci";
|
D | bcm7360.dtsi | 227 compatible = "brcm,bcm7360-ehci", "generic-ehci";
|
D | bcm7362.dtsi | 223 compatible = "brcm,bcm7362-ehci", "generic-ehci";
|
/linux-4.4.14/include/linux/usb/ |
D | ehci_def.h | 35 #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/ |
D | spear600.dtsi | 100 ehci@e1800000 { 101 compatible = "st,spear600-ehci", "usb-ehci"; 108 ehci@e2000000 { 109 compatible = "st,spear600-ehci", "usb-ehci";
|
D | uniphier-ph1-sld3.dtsi | 225 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";
|
D | spear13xx.dtsi | 181 ehci@e4800000 { 182 compatible = "st,spear600-ehci", "usb-ehci"; 189 ehci@e5800000 { 190 compatible = "st,spear600-ehci", "usb-ehci";
|
D | uniphier-ph1-sld8.dtsi | 209 compatible = "socionext,uniphier-ehci", "generic-ehci"; 218 compatible = "socionext,uniphier-ehci", "generic-ehci"; 227 compatible = "socionext,uniphier-ehci", "generic-ehci";
|
D | uniphier-ph1-ld4.dtsi | 209 compatible = "socionext,uniphier-ehci", "generic-ehci"; 218 compatible = "socionext,uniphier-ehci", "generic-ehci"; 227 compatible = "socionext,uniphier-ehci", "generic-ehci";
|
D | spear3xx.dtsi | 82 ehci@e1800000 { 83 compatible = "st,spear600-ehci", "usb-ehci";
|
D | orion5x.dtsi | 153 ehci0: ehci@50000 { 154 compatible = "marvell,orion-ehci"; 225 ehci1: ehci@a0000 { 226 compatible = "marvell,orion-ehci";
|
D | spear600-evb.dts | 35 ehci@e1800000 { 39 ehci@e2000000 {
|
D | lpc18xx.dtsi | 122 usb0: ehci@40006100 { 123 compatible = "nxp,lpc1850-ehci", "generic-ehci"; 134 usb1: ehci@40007100 { 135 compatible = "nxp,lpc1850-ehci", "generic-ehci";
|
D | uniphier-ph1-pro4.dtsi | 241 compatible = "socionext,uniphier-ehci", "generic-ehci"; 250 compatible = "socionext,uniphier-ehci", "generic-ehci";
|
D | stih418.dtsi | 64 compatible = "st,st-ehci-300x"; 90 compatible = "st,st-ehci-300x";
|
D | vt8500.dtsi | 108 ehci@d8007900 { 109 compatible = "via,vt8500-ehci";
|
D | at91-ariettag25.dts | 66 usb1: ehci@00700000 {
|
D | wm8650.dtsi | 178 ehci@d8007900 { 179 compatible = "via,vt8500-ehci";
|
D | tegra124.dtsi | 834 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";
|
D | at91-cosino_mega2560.dts | 74 usb1: ehci@00700000 {
|
D | stih410.dtsi | 55 compatible = "st,st-ehci-300x"; 85 compatible = "st,st-ehci-300x";
|
D | tegra20.dtsi | 639 compatible = "nvidia,tegra20-ehci", "usb-ehci"; 676 compatible = "nvidia,tegra20-ehci", "usb-ehci"; 701 compatible = "nvidia,tegra20-ehci", "usb-ehci";
|
D | stih416.dtsi | 351 compatible = "st,st-ehci-300x"; 382 compatible = "st,st-ehci-300x"; 412 compatible = "st,st-ehci-300x"; 442 compatible = "st,st-ehci-300x";
|
D | kirkwood-db.dtsi | 45 ehci@50000 {
|
D | sun9i-a80.dtsi | 366 compatible = "allwinner,sun9i-a80-ehci", "generic-ehci"; 399 compatible = "allwinner,sun9i-a80-ehci", "generic-ehci"; 424 compatible = "allwinner,sun9i-a80-ehci", "generic-ehci";
|
D | wm8505.dtsi | 206 ehci@d8007100 { 207 compatible = "via,vt8500-ehci";
|
D | wm8850.dtsi | 237 ehci@d8007900 { 238 compatible = "via,vt8500-ehci";
|
D | tegra30.dtsi | 799 compatible = "nvidia,tegra30-ehci", "usb-ehci"; 837 compatible = "nvidia,tegra30-ehci", "usb-ehci"; 873 compatible = "nvidia,tegra30-ehci", "usb-ehci";
|
D | exynos4412-odroidx.dts | 66 &ehci {
|
D | at91-kizboxmini.dts | 67 usb1: ehci@00700000 {
|
D | wm8750.dtsi | 250 ehci@d8007900 { 251 compatible = "via,vt8500-ehci";
|
D | exynos4412-odroidu3.dts | 86 &ehci {
|
D | spear1310-evb.dts | 214 ehci@e4800000 { 218 ehci@e5800000 {
|
D | exynos5440.dtsi | 274 ehci@221000 { 275 compatible = "samsung,exynos5440-ehci";
|
D | pm9g45.dts | 135 usb1: ehci@00800000 {
|
D | omap3-cm-t3x.dtsi | 202 port1-mode = "ehci-phy"; 203 port2-mode = "ehci-phy";
|
D | kirkwood-mv88f6281gtw-ge.dts | 79 ehci@50000 {
|
D | qcom-apq8064.dtsi | 508 compatible = "qcom,ehci-host"; 516 compatible = "qcom,ehci-host"; 524 compatible = "qcom,ehci-host";
|
D | tegra114.dtsi | 675 compatible = "nvidia,tegra30-ehci", "usb-ehci"; 711 compatible = "nvidia,tegra30-ehci", "usb-ehci";
|
D | spear320-evb.dts | 151 ehci@e1800000 {
|
D | spear310-evb.dts | 142 ehci@e1800000 {
|
D | at91-ariag25.dts | 164 usb1: ehci@00700000 {
|
D | armada-370-xp.dtsi | 257 compatible = "marvell,orion-ehci"; 264 compatible = "marvell,orion-ehci";
|
D | kirkwood.dtsi | 264 usb0: ehci@50000 { 265 compatible = "marvell,orion-ehci";
|
D | spear1340-evb.dts | 212 ehci@e4800000 { 230 ehci@e5800000 {
|
D | spear300-evb.dts | 128 ehci@e1800000 {
|
D | at91-kizbox2.dts | 140 usb2: ehci@00700000 {
|
D | at91sam9x5ek.dtsi | 179 usb1: ehci@00700000 {
|
D | s5pv210.dtsi | 443 ehci: ehci@ec200000 { label 444 compatible = "samsung,exynos4210-ehci";
|
D | exynos4415.dtsi | 329 ehci: ehci@12580000 { label 330 compatible = "samsung,exynos4210-ehci";
|
D | sama5d3xmb.dtsi | 197 usb2: ehci@00700000 {
|
D | hisi-x5hd2.dtsi | 454 usb0: ehci@1890000 { 455 compatible = "generic-ehci";
|
D | sun4i-a10.dtsi | 693 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci"; 743 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
|
D | sun6i-a31.dtsi | 585 compatible = "allwinner,sun6i-a31-ehci", "generic-ehci"; 607 compatible = "allwinner,sun6i-a31-ehci", "generic-ehci";
|
D | kirkwood-dir665.dts | 144 ehci@50000 {
|
D | spear320-hmi.dts | 101 ehci@e1800000 {
|
D | at91sam9m10g45ek.dts | 277 usb1: ehci@00800000 {
|
D | at91-sama5d3_xplained.dts | 295 usb2: ehci@00700000 {
|
D | omap5-board-common.dtsi | 623 port2-mode = "ehci-hsic"; 624 port3-mode = "ehci-hsic";
|
D | exynos4.dtsi | 348 ehci: ehci@12580000 { label 349 compatible = "samsung,exynos4210-ehci";
|
D | sama5d2.dtsi | 249 usb2: ehci@00500000 { 250 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
|
D | omap4-duovero.dtsi | 254 port1-mode = "ehci-phy";
|
D | at91-sama5d4_xplained.dts | 181 usb2: ehci@00600000 {
|
D | omap3-igep0020-common.dtsi | 231 port1-mode = "ehci-phy";
|
D | omap5-cm-t54.dts | 625 port2-mode = "ehci-hsic"; 626 port3-mode = "ehci-hsic";
|
D | omap4-var-som-om44.dtsi | 336 port1-mode = "ehci-phy";
|
D | omap3-overo-base.dtsi | 209 port2-mode = "ehci-phy";
|
D | dove.dtsi | 277 compatible = "marvell,orion-ehci"; 285 compatible = "marvell,orion-ehci";
|
D | armada-375.dtsi | 449 compatible = "marvell,orion-ehci"; 459 compatible = "marvell,orion-ehci";
|
D | sun7i-a20.dtsi | 777 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci"; 827 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
|
D | rk3288-evb.dtsi | 111 /* This turns on USB vbus for both host0 (ehci) and host1 (dwc2) */
|
D | at91-sama5d2_xplained.dts | 82 usb2: ehci@00500000 {
|
D | omap3-beagle-xm.dts | 346 port2-mode = "ehci-phy";
|
D | at91sam9x5.dtsi | 1235 usb1: ehci@00700000 { 1236 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
|
D | omap3.dtsi | 707 usbhsehci: ehci@48064800 { 708 compatible = "ti,ehci-omap";
|
D | sun8i-a23-a33.dtsi | 326 compatible = "allwinner,sun8i-a23-ehci", "generic-ehci";
|
D | sun5i.dtsi | 464 compatible = "allwinner,sun5i-a13-ehci", "generic-ehci";
|
D | at91-sama5d4ek.dts | 255 usb2: ehci@00600000 {
|
D | omap3-tao3530.dtsi | 247 port2-mode = "ehci-phy";
|
D | exynos5250-smdk5250.dts | 111 &ehci {
|
D | at91sam9g45.dtsi | 1313 usb1: ehci@00800000 { 1314 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
|
D | omap3-beagle.dts | 299 port2-mode = "ehci-phy";
|
D | r8a7793.dtsi | 351 "ehci", "hsusb", "hscif2", "scif5", "scif4",
|
D | armada-xp.dtsi | 209 compatible = "marvell,orion-ehci";
|
D | exynos4412-odroid-common.dtsi | 140 &ehci {
|
D | sama5d3.dtsi | 1452 usb2: ehci@00700000 { 1453 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
|
D | omap4-panda-common.dtsi | 511 port1-mode = "ehci-phy";
|
D | omap3-lilly-a83x.dtsi | 342 port1-mode = "ehci-phy";
|
D | exynos4210-universal_c210.dts | 243 &ehci {
|
D | omap3-gta04.dtsi | 381 port2-mode = "ehci-phy";
|
D | exynos5250.dtsi | 616 ehci: usb@12110000 { label 617 compatible = "samsung,exynos4210-ehci";
|
D | omap4.dtsi | 851 usbhsehci: ehci@4a064c00 { 852 compatible = "ti,ehci-omap";
|
D | exynos5250-spring.dts | 85 &ehci {
|
D | omap5.dtsi | 950 usbhsehci: ehci@4a064c00 { 951 compatible = "ti,ehci-omap";
|
D | sama5d4.dtsi | 266 usb2: ehci@00600000 { 267 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
|
D | exynos5250-snow-common.dtsi | 255 &ehci {
|
D | armada-38x.dtsi | 449 compatible = "marvell,orion-ehci";
|
D | omap3-pandora-common.dtsi | 538 port2-mode = "ehci-phy";
|
D | rk3288.dtsi | 484 compatible = "generic-ehci"; 527 compatible = "generic-ehci";
|
D | exynos5420.dtsi | 912 compatible = "samsung,exynos4210-ehci";
|
D | r8a7794.dtsi | 1038 "ehci", "hsusb",
|
D | r8a7791.dtsi | 1334 "ehci", "hsusb", "hscif2", "scif5", "scif4", "hscif1", "hscif0",
|
D | r8a7790.dtsi | 1320 "ehci", "hsusb", "hscif1", "hscif0", "scif1",
|
/linux-4.4.14/Documentation/devicetree/bindings/mips/cavium/ |
D | uctl.txt | 34 ehci@16f0000000000 { 35 compatible = "cavium,octeon-6335-ehci","usb-ehci";
|
/linux-4.4.14/drivers/phy/ |
D | phy-exynos5250-usb2.c | 205 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()
|
D | Kconfig | 75 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/ |
D | resource-names.txt | 51 reg-names = "config", "ohci", "ehci"; 53 interrupt-names = "ohci", "ehci";
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | Makefile | 9 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/ |
D | Makefile | 5 obj-$(CONFIG_EARLY_PRINTK_DBGP) += ehci-dbgp.o
|
/linux-4.4.14/arch/arc/boot/dts/ |
D | vdk_axs10x_mb.dtsi | 41 ehci@0x40000 { 42 compatible = "generic-ehci";
|
D | axs10x_mb.dtsi | 52 ehci@0x40000 { 53 compatible = "generic-ehci";
|
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/cs5536/ |
D | cs5536_vsm.h | 29 DECLARE_CS5536_MODULE(ehci)
|
/linux-4.4.14/arch/arm64/boot/dts/arm/ |
D | juno-base.dtsi | 162 ehci@7ffc0000 { 163 compatible = "generic-ehci";
|
/linux-4.4.14/arch/powerpc/boot/dts/ |
D | wii.dts | 120 compatible = "nintendo,hollywood-usb-ehci", 121 "usb-ehci";
|
D | sequoia.dts | 155 USB0: ehci@e0000300 { 156 compatible = "ibm,usb-ehci-440epx", "usb-ehci";
|
D | akebono.dts | 129 EHCI0: ehci@30010000000 { 130 compatible = "ibm,476gtr-ehci", "generic-ehci";
|
D | canyonlands.dts | 166 USB0: ehci@bffd0400 { 167 compatible = "ibm,usb-ehci-460ex", "usb-ehci";
|
/linux-4.4.14/arch/arm/mach-imx/devices/ |
D | Makefile | 20 obj-$(CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI) += platform-mxc-ehci.o
|
/linux-4.4.14/drivers/mfd/ |
D | omap-usb-host.c | 226 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/ |
D | wii.txt | 116 - compatible : should be "nintendo,hollywood-usb-ehci","usb-ehci"
|
/linux-4.4.14/Documentation/ia64/ |
D | xen.txt | 48 --builtin ehci-hcd 153 --builtin ohci-hcd --builtin ehci-hcd
|
/linux-4.4.14/arch/mips/boot/dts/cavium-octeon/ |
D | octeon_68xx.dts | 595 ehci@16f0000000000 { 596 compatible = "cavium,octeon-6335-ehci","usb-ehci";
|
D | octeon_3xxx.dts | 540 ehci@16f0000000000 { 541 compatible = "cavium,octeon-6335-ehci","usb-ehci";
|
/linux-4.4.14/Documentation/usb/ |
D | ehci.txt | 91 # modprobe ehci-hcd 95 # rmmod ehci-hcd 181 default ehci-hcd driver uses the minimum latency, which means that if
|
D | acm.txt | 59 uhci-hcd.ko ohci-hcd.ko or ehci-hcd.ko
|
D | power-management.txt | 639 Distinct from 'companion ports', or 'ehci/xhci shared switchover ports'
|
/linux-4.4.14/arch/arm64/boot/dts/qcom/ |
D | msm8916.dtsi | 320 usb_host: ehci@78d9000 { 321 compatible = "qcom,ehci-host";
|
/linux-4.4.14/Documentation/x86/ |
D | earlyprintk.txt | 32 Kernel modules: ehci-hcd
|
/linux-4.4.14/Documentation/ |
D | phy.txt | 91 the phy cannot be found.Some generic drivers, such as ehci, may use multiple
|
D | kernel-parameters.txt | 1713 The controller # is the number of the ehci usb debug
|
/linux-4.4.14/arch/arm64/boot/dts/rockchip/ |
D | rk3368.dtsi | 425 compatible = "generic-ehci";
|
/linux-4.4.14/ |
D | MAINTAINERS | 1578 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*
|