/linux-4.1.27/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 | 131 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 …]
|
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 | 274 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 …]
|
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 | 29 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 …]
|
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 | 56 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 …]
|
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 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()
|
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 | 71 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/ |
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() 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/ |
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.1.27/Documentation/devicetree/bindings/usb/ |
D | usb-ehci.txt | 4 - compatible : should be "generic-ehci". 22 ehci@e0000300 { 23 compatible = "ibm,usb-ehci-440epx", "usb-ehci"; 32 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 | 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 | atmel-usb.txt | 24 - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers 27 usb1: ehci@00800000 { 28 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
|
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";
|
D | samsung-usbphy.txt | 6 usb 2.0 phy for s3c-hsotg as well as ehci-s5p and ohci-exynos
|
/linux-4.1.27/arch/mips/boot/dts/brcm/ |
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 | 149 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";
|
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 | bcm7360.dtsi | 143 compatible = "brcm,bcm7360-ehci", "generic-ehci";
|
D | bcm7358.dtsi | 143 compatible = "brcm,bcm7358-ehci", "generic-ehci";
|
D | bcm7362.dtsi | 149 compatible = "brcm,bcm7362-ehci", "generic-ehci";
|
/linux-4.1.27/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.1.27/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 | spear13xx.dtsi | 181 ehci@e4800000 { 182 compatible = "st,spear600-ehci", "usb-ehci"; 189 ehci@e5800000 { 190 compatible = "st,spear600-ehci", "usb-ehci";
|
D | orion5x.dtsi | 153 ehci0: ehci@50000 { 154 compatible = "marvell,orion-ehci"; 215 ehci1: ehci@a0000 { 216 compatible = "marvell,orion-ehci";
|
D | spear3xx.dtsi | 82 ehci@e1800000 { 83 compatible = "st,spear600-ehci", "usb-ehci";
|
D | spear600-evb.dts | 35 ehci@e1800000 { 39 ehci@e2000000 {
|
D | stih418.dtsi | 60 compatible = "st,st-ehci-300x"; 86 compatible = "st,st-ehci-300x";
|
D | vt8500.dtsi | 108 ehci@d8007900 { 109 compatible = "via,vt8500-ehci";
|
D | wm8650.dtsi | 178 ehci@d8007900 { 179 compatible = "via,vt8500-ehci";
|
D | tegra124.dtsi | 809 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";
|
D | stih416.dtsi | 329 compatible = "st,st-ehci-300x"; 360 compatible = "st,st-ehci-300x"; 390 compatible = "st,st-ehci-300x"; 420 compatible = "st,st-ehci-300x";
|
D | at91-cosino_mega2560.dts | 74 usb1: ehci@00700000 {
|
D | stih410.dtsi | 45 compatible = "st,st-ehci-300x"; 71 compatible = "st,st-ehci-300x";
|
D | tegra20.dtsi | 636 compatible = "nvidia,tegra20-ehci", "usb-ehci"; 673 compatible = "nvidia,tegra20-ehci", "usb-ehci"; 698 compatible = "nvidia,tegra20-ehci", "usb-ehci";
|
D | exynos4412-odroidu3.dts | 42 &ehci {
|
D | kirkwood-db.dtsi | 45 ehci@50000 {
|
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 | 781 compatible = "nvidia,tegra30-ehci", "usb-ehci"; 819 compatible = "nvidia,tegra30-ehci", "usb-ehci"; 855 compatible = "nvidia,tegra30-ehci", "usb-ehci";
|
D | exynos4412-odroidx.dts | 74 &ehci {
|
D | wm8750.dtsi | 250 ehci@d8007900 { 251 compatible = "via,vt8500-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 | kirkwood.dtsi | 255 usb0: ehci@50000 { 256 compatible = "marvell,orion-ehci";
|
D | tegra114.dtsi | 672 compatible = "nvidia,tegra30-ehci", "usb-ehci"; 708 compatible = "nvidia,tegra30-ehci", "usb-ehci";
|
D | at91-ariag25.dts | 164 usb1: ehci@00700000 {
|
D | at91sam9x5ek.dtsi | 170 usb1: ehci@00700000 {
|
D | spear310-evb.dts | 142 ehci@e1800000 {
|
D | spear320-evb.dts | 151 ehci@e1800000 {
|
D | armada-370-xp.dtsi | 259 compatible = "marvell,orion-ehci"; 266 compatible = "marvell,orion-ehci";
|
D | spear1340-evb.dts | 212 ehci@e4800000 { 230 ehci@e5800000 {
|
D | spear300-evb.dts | 128 ehci@e1800000 {
|
D | s5pv210.dtsi | 443 ehci: ehci@ec200000 { label 444 compatible = "samsung,exynos4210-ehci";
|
D | exynos4415.dtsi | 318 ehci: ehci@12580000 { label 319 compatible = "samsung,exynos4210-ehci";
|
D | sun4i-a10.dtsi | 548 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci"; 590 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
|
D | exynos4412-odroid-common.dtsi | 436 ehci: ehci@12580000 { label
|
D | sama5d3xmb.dtsi | 195 usb2: ehci@00700000 {
|
D | sun6i-a31.dtsi | 483 compatible = "allwinner,sun6i-a31-ehci", "generic-ehci"; 505 compatible = "allwinner,sun6i-a31-ehci", "generic-ehci";
|
D | at91-sama5d3_xplained.dts | 282 usb2: ehci@00700000 {
|
D | rk3288-evb.dtsi | 82 /* This turns on USB vbus for both host0 (ehci) and host1 (dwc2) */
|
D | hisi-x5hd2.dtsi | 454 usb0: ehci@1890000 { 455 compatible = "generic-ehci";
|
D | spear320-hmi.dts | 101 ehci@e1800000 {
|
D | kirkwood-dir665.dts | 144 ehci@50000 {
|
D | at91sam9m10g45ek.dts | 236 usb1: ehci@00800000 {
|
D | at91-sama5d4_xplained.dts | 168 usb2: ehci@00600000 {
|
D | omap3-igep0020-common.dtsi | 225 port1-mode = "ehci-phy";
|
D | omap3-overo-base.dtsi | 209 port2-mode = "ehci-phy";
|
D | omap5-uevm.dts | 616 port2-mode = "ehci-hsic"; 617 port3-mode = "ehci-hsic";
|
D | omap4-duovero.dtsi | 254 port1-mode = "ehci-phy";
|
D | armada-375.dtsi | 443 compatible = "marvell,orion-ehci"; 453 compatible = "marvell,orion-ehci";
|
D | sun5i-a13.dtsi | 439 compatible = "allwinner,sun5i-a13-ehci", "generic-ehci";
|
D | dove.dtsi | 240 compatible = "marvell,orion-ehci"; 248 compatible = "marvell,orion-ehci";
|
D | omap5-cm-t54.dts | 625 port2-mode = "ehci-hsic"; 626 port3-mode = "ehci-hsic";
|
D | sun7i-a20.dtsi | 663 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci"; 705 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
|
D | omap4-var-som-om44.dtsi | 336 port1-mode = "ehci-phy";
|
D | sun5i-a10s.dtsi | 432 compatible = "allwinner,sun5i-a10s-ehci", "generic-ehci";
|
D | at91-sama5d4ek.dts | 228 usb2: ehci@00600000 {
|
D | omap3-beagle-xm.dts | 346 port2-mode = "ehci-phy";
|
D | at91sam9x5.dtsi | 1184 usb1: ehci@00700000 { 1185 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
|
D | omap3.dtsi | 706 usbhsehci: ehci@48064800 { 707 compatible = "ti,ehci-omap";
|
D | omap3-tao3530.dtsi | 247 port2-mode = "ehci-phy";
|
D | armada-xp.dtsi | 196 compatible = "marvell,orion-ehci";
|
D | exynos5250-smdk5250.dts | 90 &ehci {
|
D | exynos4.dtsi | 345 ehci@12580000 { 346 compatible = "samsung,exynos4210-ehci";
|
D | exynos5250.dtsi | 615 ehci: usb@12110000 { label 616 compatible = "samsung,exynos4210-ehci";
|
D | at91sam9g45.dtsi | 1299 usb1: ehci@00800000 { 1300 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
|
D | omap3-beagle.dts | 299 port2-mode = "ehci-phy";
|
D | sama5d3.dtsi | 1448 usb2: ehci@00700000 { 1449 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
|
D | omap4-panda-common.dtsi | 511 port1-mode = "ehci-phy";
|
D | exynos4210-universal_c210.dts | 98 ehci@12580000 {
|
D | omap3-gta04.dtsi | 353 port2-mode = "ehci-phy";
|
D | omap3-lilly-a83x.dtsi | 342 port1-mode = "ehci-phy";
|
D | omap4.dtsi | 848 usbhsehci: ehci@4a064c00 { 849 compatible = "ti,ehci-omap";
|
D | sama5d4.dtsi | 263 usb2: ehci@00600000 { 264 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
|
D | exynos5250-spring.dts | 81 &ehci {
|
D | rk3288.dtsi | 418 compatible = "generic-ehci"; 455 compatible = "generic-ehci";
|
D | omap5.dtsi | 942 usbhsehci: ehci@4a064c00 { 943 compatible = "ti,ehci-omap";
|
D | omap3-pandora-common.dtsi | 496 port2-mode = "ehci-phy";
|
D | armada-38x.dtsi | 443 compatible = "marvell,orion-ehci";
|
D | exynos5250-snow.dts | 283 &ehci {
|
D | r8a7794.dtsi | 643 "ehci", "hsusb",
|
D | exynos5420.dtsi | 927 compatible = "samsung,exynos4210-ehci";
|
D | r8a7790.dtsi | 1189 "ehci", "hsusb", "hscif1", "hscif0", "scif1",
|
D | r8a7791.dtsi | 1192 "ehci", "hsusb", "hscif2", "scif5", "scif4", "hscif1", "hscif0",
|
/linux-4.1.27/Documentation/devicetree/bindings/mips/cavium/ |
D | uctl.txt | 34 ehci@16f0000000000 { 35 compatible = "cavium,octeon-6335-ehci","usb-ehci";
|
/linux-4.1.27/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()
|
/linux-4.1.27/Documentation/devicetree/bindings/ |
D | resource-names.txt | 51 reg-names = "config", "ohci", "ehci"; 53 interrupt-names = "ohci", "ehci";
|
/linux-4.1.27/drivers/usb/early/ |
D | Makefile | 5 obj-$(CONFIG_EARLY_PRINTK_DBGP) += ehci-dbgp.o
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | Makefile | 9 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/ |
D | cs5536_vsm.h | 29 DECLARE_CS5536_MODULE(ehci)
|
/linux-4.1.27/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.1.27/arch/arm/mach-imx/devices/ |
D | Makefile | 20 obj-$(CONFIG_IMX_HAVE_PLATFORM_MXC_EHCI) += platform-mxc-ehci.o
|
/linux-4.1.27/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.1.27/arch/arm64/boot/dts/arm/ |
D | juno.dts | 193 ehci@7ffc0000 { 194 compatible = "generic-ehci";
|
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/nintendo/ |
D | wii.txt | 116 - compatible : should be "nintendo,hollywood-usb-ehci","usb-ehci"
|
/linux-4.1.27/Documentation/ia64/ |
D | xen.txt | 48 --builtin ehci-hcd 153 --builtin ohci-hcd --builtin ehci-hcd
|
/linux-4.1.27/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.1.27/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 | 627 Distinct from 'companion ports', or 'ehci/xhci shared switchover ports'
|
/linux-4.1.27/arch/arm/mach-shmobile/ |
D | setup-r8a7778.c | 199 USB_PLATFORM_INFO(ehci);
|
/linux-4.1.27/Documentation/x86/ |
D | earlyprintk.txt | 32 Kernel modules: ehci-hcd
|
/linux-4.1.27/ |
D | MAINTAINERS | 1493 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/ |
D | kernel-parameters.txt | 1648 The controller # is the number of the ehci usb debug
|