| /kernel/linux/linux-6.6/drivers/usb/host/ |
| D | ohci-hub.c | 3 * OHCI HCD (Host Controller Driver) for USB. 14 * OHCI Root Hub ... the nonsharable stuff 47 static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop) in ohci_rh_suspend() argument 48 __releases(ohci->lock) in ohci_rh_suspend() 49 __acquires(ohci->lock) in ohci_rh_suspend() 53 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend() 54 switch (ohci->hc_control & OHCI_CTRL_HCFS) { in ohci_rh_suspend() 56 ohci_dbg (ohci, "resume/suspend?\n"); in ohci_rh_suspend() 57 ohci->hc_control &= ~OHCI_CTRL_HCFS; in ohci_rh_suspend() 58 ohci->hc_control |= OHCI_USB_RESET; in ohci_rh_suspend() [all …]
|
| D | ohci-hcd.c | 3 * Open Host Controller Interface (OHCI) driver for USB. 11 * [ uhci code and gregs ohci fragments ] 16 * OHCI is the main "non-Intel/VIA" standard for USB 1.1 host controller 52 #define DRIVER_DESC "USB 1.1 'Open' Host Controller (OHCI) Driver" 80 #include "ohci.h" 83 static void ohci_dump(struct ohci_hcd *ohci); 87 #include "ohci-hub.c" 88 #include "ohci-dbg.c" 89 #include "ohci-mem.c" 90 #include "ohci-q.c" [all …]
|
| D | ohci-q.c | 3 * OHCI HCD (Host Controller Driver) for USB. 38 * PRECONDITION: ohci lock held, irqs blocked. 41 finish_urb(struct ohci_hcd *ohci, struct urb *urb, int status) in finish_urb() argument 42 __releases(ohci->lock) in finish_urb() 43 __acquires(ohci->lock) in finish_urb() 45 struct device *dev = ohci_to_hcd(ohci)->self.controller; in finish_urb() 52 urb_free_priv (ohci, urb->hcpriv); in finish_urb() 59 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--; in finish_urb() 60 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) { in finish_urb() 61 if (quirk_amdiso(ohci)) in finish_urb() [all …]
|
| D | ohci-pci.c | 3 * OHCI HCD (Host Controller Driver) for USB. 9 * [ uhci code and gregs ohci fragments ] 25 #include "ohci.h" 28 #define DRIVER_DESC "OHCI PCI platform driver" 30 static const char hcd_name[] = "ohci-pci"; 46 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_quirk_amd756() local 48 ohci->flags = OHCI_QUIRK_AMD756; in ohci_quirk_amd756() 49 ohci_dbg (ohci, "AMD756 erratum 4 workaround\n"); in ohci_quirk_amd756() 55 /* Apple's OHCI driver has a lot of bizarre workarounds 61 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_quirk_opti() local [all …]
|
| D | ohci-dbg.c | 3 * OHCI HCD (Host Controller Driver) for USB. 23 #define ohci_dbg_sw(ohci, next, size, format, arg...) \ argument 30 ohci_dbg(ohci,format, ## arg ); \ 34 #define ohci_dbg_nosw(ohci, next, size, format, arg...) \ argument 43 struct ohci_hcd *ohci, in ohci_dump_intr_mask() argument 49 ohci_dbg_sw (ohci, next, size, "%s 0x%08x%s%s%s%s%s%s%s%s%s\n", in ohci_dump_intr_mask() 65 struct ohci_hcd *ohci, in maybe_print_eds() argument 72 ohci_dbg_sw (ohci, next, size, "%s %08x\n", label, value); in maybe_print_eds() 86 static const char *rh_state_string(struct ohci_hcd *ohci) in rh_state_string() argument 88 switch (ohci->rh_state) { in rh_state_string() [all …]
|
| D | ohci.h | 3 * OHCI HCD (Host Controller Driver) for USB. 20 * OHCI Endpoint Descriptor (ED) ... holds TD queue 21 * See OHCI spec, section 4.2 75 #define OKAY_TO_TAKEBACK(ohci, ed) \ argument 76 ((int) (ohci->wdh_cnt - ed->takeback_wdh_cnt) >= 0) 84 * OHCI Transfer Descriptor (TD) ... one per transfer segment 85 * See OHCI spec, sections 4.3.1 (general = control/bulk/interrupt) 164 /* map OHCI TD status codes (CC) to errno values */ 187 * structure defined section 4.4.1 of the OHCI spec. The HC is 195 * OHCI defines u16 frame_no, followed by u16 zero pad. [all …]
|
| D | ohci-ppc-of.c | 3 * OHCI HCD (Host Controller Driver) for USB. 10 * Bus glue for OHCI HC on the of_platform bus 12 * Modified for of_platform bus from ohci-sa1111.c 26 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_ppc_of_start() local 29 if ((ret = ohci_init(ohci)) < 0) in ohci_ppc_of_start() 32 if ((ret = ohci_run(ohci)) < 0) { in ohci_ppc_of_start() 44 .product_desc = "OF OHCI", 89 struct ohci_hcd *ohci; in ohci_hcd_ppc_of_probe() local 101 of_device_is_compatible(dn, "ohci-bigendian") || in ohci_hcd_ppc_of_probe() 102 of_device_is_compatible(dn, "ohci-be"); in ohci_hcd_ppc_of_probe() [all …]
|
| D | ohci-mem.c | 3 * OHCI HCD (Host Controller Driver) for USB. 14 * OHCI deals with three types of memory: 27 static void ohci_hcd_init (struct ohci_hcd *ohci) in ohci_hcd_init() argument 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() 37 static int ohci_mem_init (struct ohci_hcd *ohci) in ohci_mem_init() argument 43 if (ohci_to_hcd(ohci)->localmem_pool) in ohci_mem_init() 46 ohci->td_cache = dma_pool_create ("ohci_td", in ohci_mem_init() [all …]
|
| D | Kconfig | 128 Enables support for XHCI, EHCI and OHCI host controllers 132 modules will be called ohci-platform.ko, ehci-brcm.ko and 147 EHCI controllers are packaged with "companion" host controllers (OHCI 151 probably configure the OHCI (for NEC and some other vendors) USB Host 165 transaction translators, so that no OHCI or UHCI companion 401 tristate "OHCI HCD (USB 1.1) support" 404 The Open Host Controller Interface (OHCI) is a standard for accessing 406 UHCI specification. If your USB host controller follows the OHCI spec, 411 right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI. 414 module will be called ohci-hcd. [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| D | ohci-hub.c | 3 * OHCI HCD (Host Controller Driver) for USB. 14 * OHCI Root Hub ... the nonsharable stuff 47 static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop) in ohci_rh_suspend() argument 48 __releases(ohci->lock) in ohci_rh_suspend() 49 __acquires(ohci->lock) in ohci_rh_suspend() 53 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend() 54 switch (ohci->hc_control & OHCI_CTRL_HCFS) { in ohci_rh_suspend() 56 ohci_dbg (ohci, "resume/suspend?\n"); in ohci_rh_suspend() 57 ohci->hc_control &= ~OHCI_CTRL_HCFS; in ohci_rh_suspend() 58 ohci->hc_control |= OHCI_USB_RESET; in ohci_rh_suspend() [all …]
|
| D | ohci-hcd.c | 3 * Open Host Controller Interface (OHCI) driver for USB. 11 * [ uhci code and gregs ohci fragments ] 16 * OHCI is the main "non-Intel/VIA" standard for USB 1.1 host controller 52 #define DRIVER_DESC "USB 1.1 'Open' Host Controller (OHCI) Driver" 80 #include "ohci.h" 83 static void ohci_dump(struct ohci_hcd *ohci); 87 #include "ohci-hub.c" 88 #include "ohci-dbg.c" 89 #include "ohci-mem.c" 90 #include "ohci-q.c" [all …]
|
| D | ohci-q.c | 3 * OHCI HCD (Host Controller Driver) for USB. 38 * PRECONDITION: ohci lock held, irqs blocked. 41 finish_urb(struct ohci_hcd *ohci, struct urb *urb, int status) in finish_urb() argument 42 __releases(ohci->lock) in finish_urb() 43 __acquires(ohci->lock) in finish_urb() 45 struct device *dev = ohci_to_hcd(ohci)->self.controller; in finish_urb() 52 urb_free_priv (ohci, urb->hcpriv); in finish_urb() 59 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--; in finish_urb() 60 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) { in finish_urb() 61 if (quirk_amdiso(ohci)) in finish_urb() [all …]
|
| D | ohci-pci.c | 3 * OHCI HCD (Host Controller Driver) for USB. 9 * [ uhci code and gregs ohci fragments ] 25 #include "ohci.h" 28 #define DRIVER_DESC "OHCI PCI platform driver" 30 static const char hcd_name[] = "ohci-pci"; 46 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_quirk_amd756() local 48 ohci->flags = OHCI_QUIRK_AMD756; in ohci_quirk_amd756() 49 ohci_dbg (ohci, "AMD756 erratum 4 workaround\n"); in ohci_quirk_amd756() 55 /* Apple's OHCI driver has a lot of bizarre workarounds 61 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_quirk_opti() local [all …]
|
| D | ohci-dbg.c | 3 * OHCI HCD (Host Controller Driver) for USB. 23 #define ohci_dbg_sw(ohci, next, size, format, arg...) \ argument 30 ohci_dbg(ohci,format, ## arg ); \ 34 #define ohci_dbg_nosw(ohci, next, size, format, arg...) \ argument 43 struct ohci_hcd *ohci, in ohci_dump_intr_mask() argument 49 ohci_dbg_sw (ohci, next, size, "%s 0x%08x%s%s%s%s%s%s%s%s%s\n", in ohci_dump_intr_mask() 65 struct ohci_hcd *ohci, in maybe_print_eds() argument 72 ohci_dbg_sw (ohci, next, size, "%s %08x\n", label, value); in maybe_print_eds() 86 static const char *rh_state_string(struct ohci_hcd *ohci) in rh_state_string() argument 88 switch (ohci->rh_state) { in rh_state_string() [all …]
|
| D | ohci.h | 3 * OHCI HCD (Host Controller Driver) for USB. 20 * OHCI Endpoint Descriptor (ED) ... holds TD queue 21 * See OHCI spec, section 4.2 75 #define OKAY_TO_TAKEBACK(ohci, ed) \ argument 76 ((int) (ohci->wdh_cnt - ed->takeback_wdh_cnt) >= 0) 84 * OHCI Transfer Descriptor (TD) ... one per transfer segment 85 * See OHCI spec, sections 4.3.1 (general = control/bulk/interrupt) 164 /* map OHCI TD status codes (CC) to errno values */ 187 * structure defined section 4.4.1 of the OHCI spec. The HC is 195 * OHCI defines u16 frame_no, followed by u16 zero pad. [all …]
|
| D | ohci-ppc-of.c | 3 * OHCI HCD (Host Controller Driver) for USB. 10 * Bus glue for OHCI HC on the of_platform bus 12 * Modified for of_platform bus from ohci-sa1111.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() 46 .product_desc = "OF OHCI", 91 struct ohci_hcd *ohci; in ohci_hcd_ppc_of_probe() local 103 of_device_is_compatible(dn, "ohci-bigendian") || in ohci_hcd_ppc_of_probe() 104 of_device_is_compatible(dn, "ohci-be"); in ohci_hcd_ppc_of_probe() [all …]
|
| D | Kconfig | 119 Enables support for XHCI, EHCI and OHCI host controllers 123 modules will be called ohci-platform.ko, ehci-brcm.ko and 138 EHCI controllers are packaged with "companion" host controllers (OHCI 142 probably configure the OHCI (for NEC and some other vendors) USB Host 156 transaction translators, so that no OHCI or UHCI companion 415 tristate "OHCI HCD (USB 1.1) support" 418 The Open Host Controller Interface (OHCI) is a standard for accessing 420 UHCI specification. If your USB host controller follows the OHCI spec, 425 right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI. 428 module will be called ohci-hcd. [all …]
|
| D | ohci-mem.c | 3 * OHCI HCD (Host Controller Driver) for USB. 14 * OHCI deals with three types of memory: 27 static void ohci_hcd_init (struct ohci_hcd *ohci) in ohci_hcd_init() argument 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() 37 static int ohci_mem_init (struct ohci_hcd *ohci) in ohci_mem_init() argument 43 if (ohci_to_hcd(ohci)->localmem_pool) in ohci_mem_init() 46 ohci->td_cache = dma_pool_create ("ohci_td", in ohci_mem_init() [all …]
|
| D | ohci-platform.c | 3 * Generic platform ohci driver 10 * Derived from the OHCI-PCI driver 32 #include "ohci.h" 34 #define DRIVER_DESC "OHCI generic platform driver" 43 static const char hcd_name[] = "ohci-platform"; 80 .product_desc = "Generic Platform OHCI controller", 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() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| D | generic-ohci.yaml | 4 $id: http://devicetree.org/schemas/usb/generic-ohci.yaml# 7 title: USB OHCI Controller 17 - allwinner,sun4i-a10-ohci 18 - allwinner,sun50i-a64-ohci 19 - allwinner,sun50i-h6-ohci 20 - allwinner,sun50i-h616-ohci 21 - allwinner,sun5i-a13-ohci 22 - allwinner,sun6i-a31-ohci 23 - allwinner,sun7i-a20-ohci 24 - allwinner,sun8i-a23-ohci [all …]
|
| /kernel/linux/linux-6.6/drivers/firewire/ |
| D | init_ohci1394_dma.c | 3 * init_ohci1394_dma.c - Initializes physical DMA on all OHCI 1394 controllers 9 * - scan the PCI very early on boot for all OHCI 1394-compliant controllers 32 #include "ohci.h" 36 struct ohci { struct 40 static inline void reg_write(const struct ohci *ohci, int offset, u32 data) in reg_write() argument 42 writel(data, ohci->registers + offset); in reg_write() 45 static inline u32 reg_read(const struct ohci *ohci, int offset) in reg_read() argument 47 return readl(ohci->registers + offset); in reg_read() 52 /* Reads a PHY register of an OHCI-1394 controller */ 53 static inline u8 __init get_phy_reg(struct ohci *ohci, u8 addr) in get_phy_reg() argument [all …]
|
| D | ohci.c | 3 * Driver for OHCI 1394 controllers 42 #include "ohci.h" 44 #define ohci_info(ohci, f, args...) dev_info(ohci->card.device, f, ##args) argument 45 #define ohci_notice(ohci, f, args...) dev_notice(ohci->card.device, f, ##args) argument 46 #define ohci_err(ohci, f, args...) dev_err(ohci->card.device, f, ##args) argument 88 struct fw_ohci *ohci; member 118 struct fw_ohci *ohci; member 291 static bool has_reboot_by_cycle_timer_read_quirk(const struct fw_ohci *ohci) in has_reboot_by_cycle_timer_read_quirk() argument 293 return !!(ohci->quirks & QUIRK_REBOOT_BY_CYCLE_TIMER_READ); in has_reboot_by_cycle_timer_read_quirk() 323 #define has_reboot_by_cycle_timer_read_quirk(ohci) false argument [all …]
|
| /kernel/linux/linux-5.10/drivers/firewire/ |
| D | init_ohci1394_dma.c | 3 * init_ohci1394_dma.c - Initializes physical DMA on all OHCI 1394 controllers 9 * - scan the PCI very early on boot for all OHCI 1394-compliant controllers 32 #include "ohci.h" 36 struct ohci { struct 40 static inline void reg_write(const struct ohci *ohci, int offset, u32 data) in reg_write() argument 42 writel(data, ohci->registers + offset); in reg_write() 45 static inline u32 reg_read(const struct ohci *ohci, int offset) in reg_read() argument 47 return readl(ohci->registers + offset); in reg_read() 52 /* Reads a PHY register of an OHCI-1394 controller */ 53 static inline u8 __init get_phy_reg(struct ohci *ohci, u8 addr) in get_phy_reg() argument [all …]
|
| D | ohci.c | 3 * Driver for OHCI 1394 controllers 42 #include "ohci.h" 44 #define ohci_info(ohci, f, args...) dev_info(ohci->card.device, f, ##args) argument 45 #define ohci_notice(ohci, f, args...) dev_notice(ohci->card.device, f, ##args) argument 46 #define ohci_err(ohci, f, args...) dev_err(ohci->card.device, f, ##args) argument 88 struct fw_ohci *ohci; member 118 struct fw_ohci *ohci; member 291 static bool has_reboot_by_cycle_timer_read_quirk(const struct fw_ohci *ohci) in has_reboot_by_cycle_timer_read_quirk() argument 293 return !!(ohci->quirks & QUIRK_REBOOT_BY_CYCLE_TIMER_READ); in has_reboot_by_cycle_timer_read_quirk() 323 #define has_reboot_by_cycle_timer_read_quirk(ohci) false argument [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| 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", 29 "ohci-tll-2pin-datse0", 30 "ohci-tll-2pin-dpdm", [all …]
|