/linux/drivers/usb/host/ |
A D | ohci-hub.c | 53 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend() 59 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_suspend() 60 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend() 78 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_suspend() 79 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend() 129 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_suspend() 162 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_resume() 179 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_resume() 232 ohci_writel (ohci, (u32) ohci->hcca_dma, &ohci->regs->hcca); in ohci_rh_resume() 294 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_resume() [all …]
|
A D | ohci-hcd.c | 411 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_usb_reset() 413 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_usb_reset() 433 ohci_writel(ohci, ohci->fminterval, &ohci->regs->fminterval); in _ohci_shutdown() 590 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_run() 623 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_run() 634 ohci_writel (ohci, (u32) ohci->hcca_dma, &ohci->regs->hcca); in ohci_run() 662 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_run() 862 ohci->prev_wdh_cnt = ohci->wdh_cnt; in io_watchdog_func() 863 ohci->prev_donehead = ohci_readl(ohci, in io_watchdog_func() 1020 ohci->hcca, ohci->hcca_dma); in ohci_stop() [all …]
|
A D | ohci-q.c | 82 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in finish_urb() 218 ohci_writel (ohci, ohci->hc_control, in ed_schedule() 234 if (!ohci->ed_bulktail && !ohci->ed_rm_list) { in ed_schedule() 238 ohci_writel (ohci, ohci->hc_control, in ed_schedule() 339 ohci_writel (ohci, ohci->hc_control, in ed_deschedule() 365 ohci_writel (ohci, ohci->hc_control, in ed_deschedule() 498 (void) ohci_readl (ohci, &ohci->regs->control); in start_ed_unlink() 560 *ohci_hwPSWp(ohci, td, 0) = cpu_to_hc16 (ohci, in td_fill() 745 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in td_submit_urb() 1134 ohci_writel (ohci, ohci->hc_control, in finish_unlinks() [all …]
|
A D | ohci.h | 538 #define big_endian_desc(ohci) (ohci->flags & OHCI_QUIRK_BE_DESC) argument 548 #define big_endian_mmio(ohci) (ohci->flags & OHCI_QUIRK_BE_MMIO) argument 565 return big_endian_mmio(ohci) ? in _ohci_readl() 577 big_endian_mmio(ohci) ? in _ohci_writel() 594 return big_endian_desc(ohci) ? in cpu_to_hc16() 601 return big_endian_desc(ohci) ? in cpu_to_hc16p() 608 return big_endian_desc(ohci) ? in cpu_to_hc32() 664 if (big_endian_desc(ohci)) { in ohci_frame_no() 684 return hc16_to_cpup(ohci, ohci_hwPSWp(ohci, td, index)); in ohci_hwPSW() 697 u32 fit = ohci_readl(ohci, &ohci->regs->fminterval) & FIT; in periodic_reinit() [all …]
|
A D | ohci-dbg.c | 43 struct ohci_hcd *ohci, in ohci_dump_intr_mask() argument 65 struct ohci_hcd *ohci, in maybe_print_eds() argument 327 ohci_dbg (ohci, in ohci_dump_ed() 393 struct ohci_hcd *ohci; member 471 ohci = buf->ohci; in fill_async_buffer() 476 temp = show_list(ohci, buf->page, size, ohci->ed_controltail); in fill_async_buffer() 500 ohci = buf->ohci; in fill_periodic_buffer() 591 ohci = buf->ohci; in fill_registers_buffer() 593 regs = ohci->regs; in fill_registers_buffer() 619 if (ohci->hcca) in fill_registers_buffer() [all …]
|
A D | ohci-pci.c | 46 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_quirk_amd756() local 48 ohci->flags = OHCI_QUIRK_AMD756; in ohci_quirk_amd756() 82 ohci->flags |= OHCI_QUIRK_SUPERIO; in ohci_quirk_ns() 98 ohci->flags |= OHCI_QUIRK_ZFMICRO; in ohci_quirk_zfmicro() 117 ohci->flags |= OHCI_QUIRK_BE_MMIO; in ohci_quirk_toshiba_scc() 134 status = ohci_restart(ohci); in ohci_quirk_nec_worker() 144 ohci->flags |= OHCI_QUIRK_NEC; in ohci_quirk_nec() 156 ohci->flags |= OHCI_QUIRK_AMD_PLL; in ohci_quirk_amd700() 172 ohci->flags |= OHCI_QUIRK_QEMU; in ohci_quirk_qemu() 249 int (*quirk)(struct usb_hcd *ohci); in ohci_pci_reset() [all …]
|
A D | ohci-mem.c | 29 ohci->next_statechange = jiffies; in ohci_hcd_init() 30 spin_lock_init (&ohci->lock); in ohci_hcd_init() 31 INIT_LIST_HEAD (&ohci->pending); in ohci_hcd_init() 32 INIT_LIST_HEAD(&ohci->eds_in_use); in ohci_hcd_init() 51 if (!ohci->td_cache) in ohci_mem_init() 58 if (!ohci->ed_cache) { in ohci_mem_init() 59 dma_pool_destroy (ohci->td_cache); in ohci_mem_init() 67 dma_pool_destroy(ohci->td_cache); in ohci_mem_cleanup() 68 ohci->td_cache = NULL; in ohci_mem_cleanup() 69 dma_pool_destroy(ohci->ed_cache); in ohci_mem_cleanup() [all …]
|
A D | ohci-omap.c | 100 struct usb_hcd *hcd = ohci_to_hcd(ohci); in start_hnp() 149 &ohci_to_hcd(ohci)->self); in ohci_omap_reset() 160 ohci->start_hnp = start_hnp; in ohci_omap_reset() 174 ohci->hc_control = OHCI_CTRL_RWC; in ohci_omap_reset() 180 u32 rh = roothub_a (ohci); in ohci_omap_reset() 187 ohci_to_hcd(ohci)->power_budget = 250; in ohci_omap_reset() 197 ohci_writel(ohci, rh, &ohci->regs->roothub.a); in ohci_omap_reset() 198 ohci->flags &= ~OHCI_QUIRK_HUB_POWER; in ohci_omap_reset() 202 ohci_to_hcd(ohci)->power_budget = 0; in ohci_omap_reset() 378 ohci->next_statechange = jiffies; in ohci_omap_suspend() [all …]
|
A D | ohci-ppc-of.c | 28 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_ppc_of_start() local 31 if ((ret = ohci_init(ohci)) < 0) in ohci_ppc_of_start() 34 if ((ret = ohci_run(ohci)) < 0) { in ohci_ppc_of_start() 91 struct ohci_hcd *ohci; in ohci_hcd_ppc_of_probe() local 133 ohci = hcd_to_ohci(hcd); in ohci_hcd_ppc_of_probe() 137 ohci->flags |= OHCI_QUIRK_FRAME_NO; in ohci_hcd_ppc_of_probe() 139 ohci->flags |= OHCI_QUIRK_FRAME_NO; in ohci_hcd_ppc_of_probe() 142 ohci_hcd_init(ohci); in ohci_hcd_ppc_of_probe() 165 writel_be((readl_be(&ohci->regs->control) | in ohci_hcd_ppc_of_probe() 166 OHCI_USB_SUSPEND), &ohci->regs->control); in ohci_hcd_ppc_of_probe() [all …]
|
A D | Makefile | 54 obj-$(CONFIG_USB_OHCI_HCD) += ohci-hcd.o 55 obj-$(CONFIG_USB_OHCI_HCD_PCI) += ohci-pci.o 57 obj-$(CONFIG_USB_OHCI_EXYNOS) += ohci-exynos.o 58 obj-$(CONFIG_USB_OHCI_HCD_OMAP1) += ohci-omap.o 59 obj-$(CONFIG_USB_OHCI_HCD_SPEAR) += ohci-spear.o 60 obj-$(CONFIG_USB_OHCI_HCD_STI) += ohci-st.o 61 obj-$(CONFIG_USB_OHCI_HCD_AT91) += ohci-at91.o 62 obj-$(CONFIG_USB_OHCI_HCD_S3C2410) += ohci-s3c2410.o 63 obj-$(CONFIG_USB_OHCI_HCD_LPC32XX) += ohci-nxp.o 64 obj-$(CONFIG_USB_OHCI_HCD_PXA27X) += ohci-pxa27x.o [all …]
|
A D | ohci-tmio.c | 92 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in tmio_stop_hc() local 97 switch (ohci->num_ports) { in tmio_stop_hc() 136 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_tmio_start() local 139 if ((ret = ohci_init(ohci)) < 0) in ohci_tmio_start() 142 if ((ret = ohci_run(ohci)) < 0) { in ohci_tmio_start() 195 struct ohci_hcd *ohci; in ohci_hcd_tmio_drv_probe() local 240 ohci = hcd_to_ohci(hcd); in ohci_hcd_tmio_drv_probe() 241 ohci_hcd_init(ohci); in ohci_hcd_tmio_drv_probe() 295 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_hcd_tmio_drv_suspend() local 303 ohci->next_statechange = jiffies; in ohci_hcd_tmio_drv_suspend() [all …]
|
A D | ohci-platform.c | 96 struct ohci_hcd *ohci; in ohci_platform_probe() local 125 ohci = hcd_to_ohci(hcd); in ohci_platform_probe() 129 ohci->flags |= OHCI_QUIRK_BE_MMIO; in ohci_platform_probe() 132 ohci->flags |= OHCI_QUIRK_BE_DESC; in ohci_platform_probe() 138 ohci->flags |= OHCI_QUIRK_FRAME_NO; in ohci_platform_probe() 142 ohci->hc_control = OHCI_CTRL_RWC; in ohci_platform_probe() 145 &ohci->num_ports); in ohci_platform_probe() 171 ohci->flags |= OHCI_QUIRK_BE_DESC; in ohci_platform_probe() 173 ohci->flags |= OHCI_QUIRK_BE_MMIO; in ohci_platform_probe() 175 ohci->flags |= OHCI_QUIRK_FRAME_NO; in ohci_platform_probe() [all …]
|
A D | ohci-ps3.c | 14 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ps3_ohci_hc_reset() local 16 ohci->flags |= OHCI_QUIRK_BE_MMIO; in ps3_ohci_hc_reset() 17 ohci_hcd_init(ohci); in ps3_ohci_hc_reset() 18 return ohci_init(ohci); in ps3_ohci_hc_reset() 24 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ps3_ohci_hc_start() local 29 ohci_writel(ohci, 0x7f000000 | RH_A_PSM | RH_A_OCPM, in ps3_ohci_hc_start() 30 &ohci->regs->roothub.a); in ps3_ohci_hc_start() 31 ohci_writel(ohci, 0x00060000, &ohci->regs->roothub.b); in ps3_ohci_hc_start() 33 result = ohci_run(ohci); in ps3_ohci_hc_start()
|
A D | ohci-da8xx.c | 231 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_da8xx_reset() local 245 ohci->num_ports = 1; in ohci_da8xx_reset() 259 rh_a = ohci_readl(ohci, &ohci->regs->roothub.a); in ohci_da8xx_reset() 272 ohci_writel(ohci, rh_a, &ohci->regs->roothub.a); in ohci_da8xx_reset() 487 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_da8xx_suspend() local 492 if (time_before(jiffies, ohci->next_statechange)) in ohci_da8xx_suspend() 494 ohci->next_statechange = jiffies; in ohci_da8xx_suspend() 509 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_da8xx_resume() local 512 if (time_before(jiffies, ohci->next_statechange)) in ohci_da8xx_resume() 514 ohci->next_statechange = jiffies; in ohci_da8xx_resume()
|
A D | built-in.a | 9 ohci-hcd.o/ 10 ohci-pci.o/ 11 ohci-platform.o/ 12 ohci-exynos.o/
|
A D | ohci-spear.c | 120 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in spear_ohci_hcd_drv_suspend() local 125 if (time_before(jiffies, ohci->next_statechange)) in spear_ohci_hcd_drv_suspend() 127 ohci->next_statechange = jiffies; in spear_ohci_hcd_drv_suspend() 141 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in spear_ohci_hcd_drv_resume() local 144 if (time_before(jiffies, ohci->next_statechange)) in spear_ohci_hcd_drv_resume() 146 ohci->next_statechange = jiffies; in spear_ohci_hcd_drv_resume()
|
A D | ohci-sa1111.c | 59 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_sa1111_reset() local 61 ohci_hcd_init(ohci); in ohci_sa1111_reset() 62 return ohci_init(ohci); in ohci_sa1111_reset() 67 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_sa1111_start() local 70 ret = ohci_run(ohci); in ohci_sa1111_start() 72 ohci_err(ohci, "can't start\n"); in ohci_sa1111_start()
|
/linux/drivers/firewire/ |
A D | init_ohci1394_dma.c | 36 struct ohci { struct 40 static inline void reg_write(const struct ohci *ohci, int offset, u32 data) in reg_write() argument 45 static inline u32 reg_read(const struct ohci *ohci, int offset) in reg_read() argument 53 static inline u8 __init get_phy_reg(struct ohci *ohci, u8 addr) in get_phy_reg() argument 71 static inline void __init set_phy_reg(struct ohci *ohci, u8 addr, u8 data) in set_phy_reg() argument 85 static inline void __init init_ohci1394_soft_reset(struct ohci *ohci) in init_ohci1394_soft_reset() argument 104 static inline void __init init_ohci1394_initialize(struct ohci *ohci) in init_ohci1394_initialize() argument 177 static inline void __init init_ohci1394_wait_for_busresets(struct ohci *ohci) in init_ohci1394_wait_for_busresets() argument 195 static inline void __init init_ohci1394_enable_physical_dma(struct ohci *ohci) in init_ohci1394_enable_physical_dma() argument 206 static inline void __init init_ohci1394_reset_and_init_dma(struct ohci *ohci) in init_ohci1394_reset_and_init_dma() argument [all …]
|
A D | ohci.c | 691 struct fw_ohci *ohci = ctx->ohci; in ar_context_abort() local 799 struct fw_ohci *ohci = ctx->ohci; in handle_ar_packet() local 979 ctx->ohci = ohci; in ar_context_init() 1133 ctx->ohci = ohci; in context_init() 1208 struct fw_ohci *ohci = ctx->ohci; in context_run() local 1256 struct fw_ohci *ohci = ctx->ohci; in context_stop() local 1287 struct fw_ohci *ohci = ctx->ohci; in at_context_queue_packet() local 1431 struct fw_ohci *ohci = context->ohci; in handle_at_packet() local 2034 ohci->config_rom[0] = ohci->next_header; in bus_reset_work() 3709 ohci->n_ir, ohci->n_it, ohci->quirks, in pci_probe() [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
A D | generic-ohci.yaml | 31 - brcm,bcm3384-ohci 33 - brcm,bcm6328-ohci 34 - brcm,bcm6358-ohci 35 - brcm,bcm6362-ohci 36 - brcm,bcm6368-ohci 37 - brcm,bcm7125-ohci 38 - brcm,bcm7346-ohci 45 - ibm,476gtr-ohci 48 - const: generic-ohci 49 - const: generic-ohci [all …]
|
A D | spear-usb.txt | 25 - compatible: "st,spear600-ohci" 30 ohci@e1900000 { 31 compatible = "st,spear600-ohci", "usb-ohci";
|
A D | ohci-nxp.txt | 1 * OHCI controller, NXP ohci-nxp variant 4 - compatible: must be "nxp,ohci-nxp" 18 ohci@31020000 { 19 compatible = "nxp,ohci-nxp";
|
/linux/Documentation/devicetree/bindings/mfd/ |
A D | omap-usb-host.txt | 21 "ohci-phy-6pin-datse0", 22 "ohci-phy-6pin-dpdm", 23 "ohci-phy-3pin-datse0", 24 "ohci-phy-4pin-dpdm", 25 "ohci-tll-6pin-datse0", 26 "ohci-tll-6pin-dpdm", 27 "ohci-tll-3pin-datse0", 28 "ohci-tll-4pin-dpdm", 30 "ohci-tll-2pin-dpdm", 80 usbhsohci: ohci@4a064800 { [all …]
|
/linux/arch/arm/boot/dts/ |
A D | spear3xx.dtsi | 83 ohci@e1900000 { 84 compatible = "st,spear600-ohci", "usb-ohci"; 90 ohci@e2100000 { 91 compatible = "st,spear600-ohci", "usb-ohci";
|
/linux/Documentation/usb/ |
A D | ohci.rst | 7 The "ohci-hcd" driver is a USB Host Controller Driver (HCD) that is derived 8 from the "usb-ohci" driver from the 2.4 kernel series. The "usb-ohci" code 27 The "ohci-hcd" driver handles all USB 1.1 transfer types. Transfers of all 28 types can be queued. That was also true in "usb-ohci", except for interrupt
|