/linux/drivers/usb/host/ |
H A D | ehci-timer.c | 11 static void ehci_set_command_bit(struct ehci_hcd *ehci, u32 bit) in ehci_set_command_bit() argument 13 ehci->command |= bit; in ehci_set_command_bit() 14 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_set_command_bit() 17 ehci_readl(ehci, &ehci->regs->command); in ehci_set_command_bit() 21 static void ehci_clear_command_bit(struct ehci_hcd *ehci, u32 bit) in ehci_clear_command_bit() argument 23 ehci->command &= ~bit; in ehci_clear_command_bit() 24 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_clear_command_bit() 27 ehci_readl(ehci, &ehci->regs->command); in ehci_clear_command_bit() 76 static void ehci_enable_event(struct ehci_hcd *ehci, unsigned event, in ehci_enable_event() argument 79 ktime_t *timeout = &ehci->hr_timeouts[event]; in ehci_enable_event() [all …]
|
H A D | ehci-hub.c | 22 static void unlink_empty_async_suspended(struct ehci_hcd *ehci); 33 static void ehci_handover_companion_ports(struct ehci_hcd *ehci) in ehci_handover_companion_ports() argument 39 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_handover_companion_ports() 41 if (!ehci->owned_ports) in ehci_handover_companion_ports() 55 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports() 57 if (test_bit(port, &ehci->owned_ports)) { in ehci_handover_companion_ports() 58 reg = &ehci->regs->port_status[port]; in ehci_handover_companion_ports() 59 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_handover_companion_ports() 61 ehci_port_power(ehci, port, true); in ehci_handover_companion_ports() 68 spin_lock_irq(&ehci->lock); in ehci_handover_companion_ports() [all …]
|
H A D | ehci-mem.c | 25 static inline void ehci_qtd_init(struct ehci_hcd *ehci, struct ehci_qtd *qtd, in ehci_qtd_init() argument 30 qtd->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT); in ehci_qtd_init() 31 qtd->hw_next = EHCI_LIST_END(ehci); in ehci_qtd_init() 32 qtd->hw_alt_next = EHCI_LIST_END(ehci); in ehci_qtd_init() 36 static struct ehci_qtd *ehci_qtd_alloc (struct ehci_hcd *ehci, gfp_t flags) in ehci_qtd_alloc() argument 41 qtd = dma_pool_alloc (ehci->qtd_pool, flags, &dma); in ehci_qtd_alloc() 43 ehci_qtd_init(ehci, qtd, dma); in ehci_qtd_alloc() 48 static inline void ehci_qtd_free (struct ehci_hcd *ehci, struct ehci_qtd *qtd) in ehci_qtd_free() argument 50 dma_pool_free (ehci->qtd_pool, qtd, qtd->qtd_dma); in ehci_qtd_free() 54 static void qh_destroy(struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_destroy() argument [all …]
|
H A D | ehci-sched.c | 32 periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, in periodic_next_shadow() argument 35 switch (hc32_to_cpu(ehci, tag)) { in periodic_next_shadow() 49 shadow_next_periodic(struct ehci_hcd *ehci, union ehci_shadow *periodic, in shadow_next_periodic() argument 52 switch (hc32_to_cpu(ehci, tag)) { in shadow_next_periodic() 63 static void periodic_unlink(struct ehci_hcd *ehci, unsigned frame, void *ptr) in periodic_unlink() argument 65 union ehci_shadow *prev_p = &ehci->pshadow[frame]; in periodic_unlink() 66 __hc32 *hw_p = &ehci->periodic[frame]; in periodic_unlink() 71 prev_p = periodic_next_shadow(ehci, prev_p, in periodic_unlink() 72 Q_NEXT_TYPE(ehci, *hw_p)); in periodic_unlink() 73 hw_p = shadow_next_periodic(ehci, &here, in periodic_unlink() [all …]
|
H A D | ehci-pci.c | 63 static int ehci_pci_reinit(struct ehci_hcd *ehci, struct pci_dev *pdev) in ehci_pci_reinit() argument 74 ehci_dbg(ehci, "MWI active\n"); in ehci_pci_reinit() 82 ehci_writel(ehci, INTEL_QUARK_X1000_EHCI_MAX_THRESHOLD, in ehci_pci_reinit() 83 ehci->regs->intel_quark_x1000_insnreg01); in ehci_pci_reinit() 92 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_pci_setup() local 97 ehci->caps = hcd->regs; in ehci_pci_setup() 113 ehci->big_endian_mmio = 1; in ehci_pci_setup() 115 ehci_warn(ehci, in ehci_pci_setup() 131 ehci_warn(ehci, "can't enable NVidia " in ehci_pci_setup() 140 ehci->no_selective_suspend = 1; in ehci_pci_setup() [all …]
|
H A D | ehci-sysfs.c | 14 struct ehci_hcd *ehci; in companion_show() local 19 ehci = hcd_to_ehci(dev_get_drvdata(dev)); in companion_show() 20 nports = HCS_N_PORTS(ehci->hcs_params); in companion_show() 23 if (test_bit(index, &ehci->companion_ports)) { in companion_show() 41 struct ehci_hcd *ehci; in companion_store() local 44 ehci = hcd_to_ehci(dev_get_drvdata(dev)); in companion_store() 52 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params)) in companion_store() 56 set_bit(portnum, &ehci->companion_ports); in companion_store() 58 clear_bit(portnum, &ehci->companion_ports); in companion_store() 59 set_owner(ehci, portnum, new_owner); in companion_store() [all …]
|
H A D | Makefile | 37 obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o 38 obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o 39 obj-$(CONFIG_USB_EHCI_HCD_PLATFORM) += ehci-platform.o 40 obj-$(CONFIG_USB_EHCI_HCD_NPCM7XX) += ehci-npcm7xx.o 41 obj-$(CONFIG_USB_EHCI_HCD_OMAP) += ehci-omap.o 42 obj-$(CONFIG_USB_EHCI_HCD_ORION) += ehci-orion.o 43 obj-$(CONFIG_USB_EHCI_HCD_SPEAR) += ehci-spear.o 44 obj-$(CONFIG_USB_EHCI_HCD_STI) += ehci-st.o 45 obj-$(CONFIG_USB_EHCI_EXYNOS) += ehci-exynos.o 46 obj-$(CONFIG_USB_EHCI_HCD_AT91) += ehci-atmel.o [all …]
|
H A D | ehci-ps3.c | 12 static void ps3_ehci_setup_insnreg(struct ehci_hcd *ehci) in ps3_ehci_setup_insnreg() argument 31 writel_be(0x01000020, (void __iomem *)ehci->regs + in ps3_ehci_setup_insnreg() 36 writel_be(0x00000001, (void __iomem *)ehci->regs + in ps3_ehci_setup_insnreg() 43 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ps3_ehci_hc_reset() local 45 ehci->big_endian_mmio = 1; in ps3_ehci_hc_reset() 46 ehci->caps = hcd->regs; in ps3_ehci_hc_reset() 52 ps3_ehci_setup_insnreg(ehci); in ps3_ehci_hc_reset()
|
/linux/drivers/usb/chipidea/ |
H A D | host.c | 19 #include "../host/ehci.h" 40 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ci_portpower() 41 struct ehci_ci_priv *priv = (struct ehci_ci_priv *)ehci->priv; in ehci_ci_portpower() 45 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower() 88 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ci_reset() 95 ehci->need_io_watchdog = 0; in ehci_ci_reset() 123 struct ehci_hcd *ehci; in host_start() 149 ehci = hcd_to_ehci(hcd); in host_start() 150 ehci->caps = ci->hw_bank.cap; in host_start() 151 ehci in host_start() 39 struct ehci_hcd *ehci = hcd_to_ehci(hcd); ehci_ci_portpower() local 87 struct ehci_hcd *ehci = hcd_to_ehci(hcd); ehci_ci_reset() local 122 struct ehci_hcd *ehci; host_start() local 249 struct ehci_hcd *ehci = hcd_to_ehci(hcd); ci_ehci_hub_control() local 331 struct ehci_hcd *ehci = hcd_to_ehci(hcd); ci_ehci_bus_suspend() local [all...] |
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | omap-usb-host.txt | 18 "ehci-phy", 19 "ehci-tll", 20 "ehci-hsic", 67 See Documentation/devicetree/bindings/usb/generic-ehci.yaml and 87 usbhsehci: ehci@4a064c00 { 88 compatible = "ti,ehci-omap"; 96 port1-mode = "ehci-phy"; 97 port2-mode = "ehci-tll"; 98 port3-mode = "ehci-phy";
|
/linux/include/linux/usb/ |
H A D | ehci_def.h | 22 #define HC_LENGTH(ehci, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \ argument 23 (ehci_big_endian_capbase(ehci) ? 24 : 0))) 24 #define HC_VERSION(ehci, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \ argument 25 (ehci_big_endian_capbase(ehci) ? 0 : 16)))
|
/linux/arch/arm/boot/dts/st/ |
H A D | spear600.dtsi | 94 ehci_usb0: ehci@e1800000 { 95 compatible = "st,spear600-ehci", "usb-ehci"; 102 ehci_usb1: ehci@e2000000 { 103 compatible = "st,spear600-ehci", "usb-ehci";
|
H A D | spear13xx.dtsi | 177 ehci@e4800000 { 178 compatible = "st,spear600-ehci", "usb-ehci"; 185 ehci@e5800000 { 186 compatible = "st,spear600-ehci", "usb-ehci";
|
H A D | spear3xx.dtsi | 76 ehci@e1800000 { 77 compatible = "st,spear600-ehci", "usb-ehci";
|
/linux/Documentation/devicetree/bindings/mips/cavium/ |
H A D | uctl.txt | 34 ehci@16f0000000000 { 35 compatible = "cavium,octeon-6335-ehci","usb-ehci";
|
/linux/Documentation/devicetree/bindings/usb/ |
H A 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
|
H A D | atmel-usb.txt | 33 - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers 36 - interrupts: Should contain ehci interrupt 46 usb1: ehci@800000 { 47 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
|
/linux/arch/mips/boot/dts/brcm/ |
H A D | bcm7346.dtsi | 319 compatible = "brcm,bcm7346-ehci", "generic-ehci"; 338 compatible = "brcm,bcm7346-ehci", "generic-ehci"; 357 compatible = "brcm,bcm7346-ehci", "generic-ehci"; 376 compatible = "brcm,bcm7346-ehci", "generic-ehci";
|
H A D | bcm7435.dtsi | 333 compatible = "brcm,bcm7435-ehci", "generic-ehci"; 352 compatible = "brcm,bcm7435-ehci", "generic-ehci"; 371 compatible = "brcm,bcm7435-ehci", "generic-ehci"; 390 compatible = "brcm,bcm7435-ehci", "generic-ehci";
|
H A D | bcm7425.dtsi | 318 compatible = "brcm,bcm7425-ehci", "generic-ehci"; 337 compatible = "brcm,bcm7425-ehci", "generic-ehci"; 356 compatible = "brcm,bcm7425-ehci", "generic-ehci"; 375 compatible = "brcm,bcm7425-ehci", "generic-ehci";
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | orion5x.dtsi | 149 ehci0: ehci@50000 { 150 compatible = "marvell,orion-ehci"; 221 ehci1: ehci@a0000 { 222 compatible = "marvell,orion-ehci";
|
/linux/arch/arm/boot/dts/socionext/ |
H A D | uniphier-ld4.dtsi | 296 compatible = "socionext,uniphier-ehci", "generic-ehci"; 310 compatible = "socionext,uniphier-ehci", "generic-ehci"; 324 compatible = "socionext,uniphier-ehci", "generic-ehci";
|
H A D | uniphier-sld8.dtsi | 301 compatible = "socionext,uniphier-ehci", "generic-ehci"; 315 compatible = "socionext,uniphier-ehci", "generic-ehci"; 329 compatible = "socionext,uniphier-ehci", "generic-ehci";
|
/linux/drivers/phy/samsung/ |
H A D | phy-exynos5250-usb2.c | 200 u32 ehci; in exynos5250_power_on() local 301 ehci = readl(drv->reg_phy + EXYNOS_5250_HOSTEHCICTRL); in exynos5250_power_on() 302 ehci |= EXYNOS_5250_HOSTEHCICTRL_ENAINCRXALIGN | in exynos5250_power_on() 306 writel(ehci, drv->reg_phy + EXYNOS_5250_HOSTEHCICTRL); in exynos5250_power_on()
|
/linux/drivers/phy/marvell/ |
H A D | Kconfig | 91 The PHY driver will be used by Marvell ehci driver. 102 The PHY driver will be used by Marvell udc/ehci/otg driver. 113 The PHY driver will be used by Marvell udc/ehci/otg driver. 124 The PHY driver will be used by Marvell udc/ehci/otg driver.
|