Searched defs:ohci (Results 1 - 25 of 35) sorted by relevance

12

/drivers/usb/host/
H A Dohci-ath79.c21 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
24 ret = ohci_init(ohci);
28 ret = ohci_run(ohci);
146 .name = "ath79-ohci",
151 MODULE_ALIAS(PLATFORM_MODULE_PREFIX "ath79-ohci");
H A Dohci-cns3xxx.c17 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
36 ret = ohci_init(ohci);
40 ohci->num_ports = 1;
42 ret = ohci_run(ohci);
157 MODULE_ALIAS("platform:cns3xxx-ohci");
163 .name = "cns3xxx-ohci",
H A Dohci-mem.c26 static void ohci_hcd_init (struct ohci_hcd *ohci) argument
28 ohci->next_statechange = jiffies;
29 spin_lock_init (&ohci->lock);
30 INIT_LIST_HEAD (&ohci->pending);
35 static int ohci_mem_init (struct ohci_hcd *ohci) argument
37 ohci->td_cache = dma_pool_create ("ohci_td",
38 ohci_to_hcd(ohci)->self.controller,
42 if (!ohci->td_cache)
44 ohci->ed_cache = dma_pool_create ("ohci_ed",
45 ohci_to_hcd(ohci)
56 ohci_mem_cleanup(struct ohci_hcd *ohci) argument
[all...]
H A Dohci-octeon.c19 #define OCTEON_OHCI_HCD_NAME "octeon-ohci"
47 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
50 ret = ohci_init(ohci);
55 ret = ohci_run(ohci);
58 ohci_err(ohci, "can't start %s", hcd->self.bus_name);
108 struct ohci_hcd *ohci; local
158 ohci = hcd_to_ohci(hcd);
162 ohci->flags |= OHCI_QUIRK_BE_MMIO;
165 ohci_hcd_init(ohci);
H A Dohci-omap3.c2 * ohci-omap3.c - driver for OHCI on OMAP3 and later processors
12 * Based on ehci-omap.c and some other ohci glue layers
49 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
56 ohci->hc_control = OHCI_CTRL_RWC;
57 writel(OHCI_CTRL_RWC, &ohci->regs->control);
59 ret = ohci_run(ohci);
145 irq = platform_get_irq_byname(pdev, "ohci-irq");
152 IORESOURCE_MEM, "ohci");
238 .name = "ohci-omap3",
242 MODULE_ALIAS("platform:ohci
[all...]
H A Dohci-pnx8550.c14 * Modified for LH7A404 from ohci-sa1111.c
17 * Modified for PNX8550 from ohci-sa1111.c and sa-omap.c
151 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
154 ohci_dbg (ohci, "ohci_pnx8550_start, ohci:%p", ohci);
156 if ((ret = ohci_init(ohci)) < 0)
159 if ((ret = ohci_run (ohci)) < 0) {
232 MODULE_ALIAS("platform:pnx8550-ohci");
236 .name = "pnx8550-ohci",
[all...]
H A Dohci-ppc-soc.c12 * Modified by Dale Farnsworth <dale@farnsworth.org> from ohci-sa1111.c
36 struct ohci_hcd *ohci; local
74 ohci = hcd_to_ohci(hcd);
75 ohci->flags |= OHCI_QUIRK_BE_MMIO | OHCI_QUIRK_BE_DESC;
79 ohci->flags |= OHCI_QUIRK_FRAME_NO;
81 ohci_hcd_init(ohci);
126 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
129 if ((ret = ohci_init(ohci)) < 0)
132 if ((ret = ohci_run(ohci)) < 0) {
133 err("can't start %s", ohci_to_hcd(ohci)
[all...]
H A Dohci-sa1111.c184 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
187 if ((ret = ohci_init(ohci)) < 0)
190 if ((ret = ohci_run (ohci)) < 0) {
264 .name = "sa1111-ohci",
H A Dohci-sh.c27 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
29 ohci_hcd_init(ohci);
30 ohci_init(ohci);
31 ohci_run(ohci);
H A Dohci-xls.c6 * Based on ohci-au1xxx.c, and other Linux OHCI drivers.
77 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
79 ohci_hcd_init(ohci);
80 return ohci_init(ohci);
85 struct ohci_hcd *ohci; local
88 ohci = hcd_to_ohci(hcd);
89 ret = ohci_run(ohci);
148 .name = "ohci-xls-0",
H A Dohci-au1xxx.c13 * Modified for LH7A404 from ohci-sa1111.c
31 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
34 ohci_dbg(ohci, "ohci_au1xxx_start, ohci:%p", ohci);
36 if ((ret = ohci_init(ohci)) < 0)
39 if ((ret = ohci_run(ohci)) < 0) {
171 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
182 spin_lock_irqsave(&ohci->lock, flags);
183 if (ohci
[all...]
H A Dohci-ep93xx.c13 * Modified for LH7A404 from ohci-sa1111.c
16 * Modified for pxa27x from ohci-lh7a404.c
19 * Modified for ep93xx from ohci-pxa27x.c
112 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
115 if ((ret = ohci_init(ohci)) < 0)
118 if ((ret = ohci_run(ohci)) < 0) {
175 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
177 if (time_before(jiffies, ohci->next_statechange))
179 ohci->next_statechange = jiffies;
188 struct ohci_hcd *ohci local
[all...]
H A Dohci-ppc-of.c11 * Modified for of_platform bus from ohci-sa1111.c
25 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
28 if ((ret = ohci_init(ohci)) < 0)
31 if ((ret = ohci_run(ohci)) < 0) {
32 err("can't start %s", ohci_to_hcd(ohci)->self.bus_name);
87 struct ohci_hcd *ohci; local
99 of_device_is_compatible(dn, "ohci-bigendian") ||
100 of_device_is_compatible(dn, "ohci-be");
135 ohci = hcd_to_ohci(hcd);
137 ohci
[all...]
H A Dohci-ps3.c26 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
28 ohci->flags |= OHCI_QUIRK_BE_MMIO;
29 ohci_hcd_init(ohci);
30 return ohci_init(ohci);
36 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
41 ohci_writel(ohci, 0x7f000000 | RH_A_PSM | RH_A_OCPM,
42 &ohci->regs->roothub.a);
43 ohci_writel(ohci, 0x00060000, &ohci->regs->roothub.b);
45 result = ohci_run(ohci);
[all...]
H A Dohci-sm501.c9 * SM501 Bus Glue - based on ohci-omap.c
220 struct ohci_hcd *ohci = hcd_to_ohci(platform_get_drvdata(pdev)); local
222 if (time_before(jiffies, ohci->next_statechange))
224 ohci->next_statechange = jiffies;
234 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
236 if (time_before(jiffies, ohci->next_statechange))
238 ohci->next_statechange = jiffies;
H A Dohci-exynos.c16 #include <mach/ohci.h>
27 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
30 ohci_dbg(ohci, "ohci_exynos_start, ohci:%p", ohci);
32 ret = ohci_init(ohci);
36 ret = ohci_run(ohci);
78 struct ohci_hcd *ohci; local
142 ohci = hcd_to_ohci(hcd);
143 ohci_hcd_init(ohci);
204 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
[all...]
H A Dohci-jz4740.c39 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
42 ret = ohci_init(ohci);
46 ohci->num_ports = 1;
48 ret = ohci_run(ohci);
271 .name = "jz4740-ohci",
276 MODULE_ALIAS("platform:jz4740-ohci");
H A Dohci-spear.c7 * Based on various ohci-*.c drivers
19 struct ohci_hcd ohci; member in struct:spear_ohci
25 static void spear_start_ohci(struct spear_ohci *ohci) argument
27 clk_enable(ohci->clk);
30 static void spear_stop_ohci(struct spear_ohci *ohci) argument
32 clk_disable(ohci->clk);
37 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
40 ret = ohci_init(ohci);
43 ohci->regs = hcd->regs;
45 ret = ohci_run(ohci);
198 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
212 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
[all...]
H A Dohci-ssb.c24 struct ohci_hcd ohci; /* _must_ be at the beginning. */ member in struct:ssb_ohci_device
39 struct ohci_hcd *ohci = &ohcidev->ohci; local
42 ohci_hcd_init(ohci);
43 err = ohci_init(ohci);
51 struct ohci_hcd *ohci = &ohcidev->ohci; local
54 err = ohci_run(ohci);
56 ohci_err(ohci, "can't start\n");
64 .description = "ssb-usb-ohci",
[all...]
H A Dohci-pci.c8 * [ uhci code and gregs ohci fragments ]
38 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
40 ohci->flags = OHCI_QUIRK_AMD756;
41 ohci_dbg (ohci, "AMD756 erratum 4 workaround\n");
53 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
55 ohci_dbg (ohci, "WARNING: OPTi workarounds unavailable\n");
72 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
74 ohci->flags |= OHCI_QUIRK_SUPERIO;
75 ohci_dbg (ohci, "Using NSC SuperIO setup\n");
88 struct ohci_hcd *ohci local
101 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
123 struct ohci_hcd *ohci = container_of(work, struct ohci_hcd, nec_work); local
141 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
152 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
178 sb800_prefetch(struct ohci_hcd *ohci, int on) argument
251 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
275 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
303 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
[all...]
H A Dohci-at91.c10 * Based on ohci-omap.c
223 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
226 if ((ret = ohci_init(ohci)) < 0)
229 ohci->num_ports = board->ports;
231 if ((ret = ohci_run(ohci)) < 0) {
547 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
560 ohci_usb_reset (ohci);
562 (void) ohci_readl (ohci, &ohci->regs->control);
H A Dohci-da8xx.c6 * Derived from: ohci-omap.c and ohci-s3c2410.c
89 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
101 ohci->num_ports = 1;
103 result = ohci_init(ohci);
113 rh_a = ohci_readl(ohci, &ohci->regs->roothub.a);
124 ohci_writel(ohci, rh_a, &ohci->regs->roothub.a);
137 struct ohci_hcd *ohci local
413 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
428 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
[all...]
H A Dohci-hub.c46 static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop)
47 __releases(ohci->lock)
48 __acquires(ohci->lock)
52 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control);
53 switch (ohci->hc_control & OHCI_CTRL_HCFS) {
55 ohci_dbg (ohci, "resume/suspend?\n");
56 ohci->hc_control &= ~OHCI_CTRL_HCFS;
57 ohci
90 dl_done_list (ohci); variable
214 periodic_reinit (ohci); variable
284 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
299 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
322 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
362 ohci_root_hub_state_changes(struct ohci_hcd *ohci, int changed, int any_connected, int rhsc_status) argument
450 ohci_rh_resume(struct ohci_hcd *ohci) argument
458 ohci_root_hub_state_changes(struct ohci_hcd *ohci, int changed, int any_connected, int rhsc_status) argument
486 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
553 ohci_hub_descriptor( struct ohci_hcd *ohci, struct usb_hub_descriptor *desc ) argument
597 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
641 root_port_reset(struct ohci_hcd *ohci, unsigned port) argument
705 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
[all...]
H A Dohci-omap.c12 * and on ohci-sa1111.c by Christopher Hoover <ch@hpl.hp.com>
168 static void start_hnp(struct ohci_hcd *ohci) argument
170 const unsigned port = ohci_to_hcd(ohci)->self.otg_port - 1;
174 otg_start_hnp(ohci->transceiver);
177 ohci->transceiver->state = OTG_STATE_A_SUSPEND;
178 writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]);
191 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
199 ohci_to_hcd(ohci)->self.otg_port = config->otg;
201 ohci_to_hcd(ohci)->power_budget = 8;
213 ohci
305 struct ohci_hcd *ohci; local
403 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
425 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
512 struct ohci_hcd *ohci = hcd_to_ohci(platform_get_drvdata(dev)); local
525 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
[all...]
/drivers/firewire/
H A Dinit_ohci1394_dma.c45 #include "ohci.h"
49 struct ohci { struct
53 static inline void reg_write(const struct ohci *ohci, int offset, u32 data) argument
55 writel(data, ohci->registers + offset);
58 static inline u32 reg_read(const struct ohci *ohci, int offset) argument
60 return readl(ohci->registers + offset);
66 static inline u8 __init get_phy_reg(struct ohci *ohci, u argument
84 set_phy_reg(struct ohci *ohci, u8 addr, u8 data) argument
98 init_ohci1394_soft_reset(struct ohci *ohci) argument
117 init_ohci1394_initialize(struct ohci *ohci) argument
190 init_ohci1394_wait_for_busresets(struct ohci *ohci) argument
208 init_ohci1394_enable_physical_dma(struct ohci *ohci) argument
219 init_ohci1394_reset_and_init_dma(struct ohci *ohci) argument
251 struct ohci ohci; local
[all...]

Completed in 180 milliseconds

12