Searched refs:ohci (Results 1 - 25 of 135) sorted by relevance

123456

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/usb/host/
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
213 periodic_reinit (ohci); variable
282 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
297 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
320 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
366 ohci_root_hub_state_changes(struct ohci_hcd *ohci, int changed, int any_connected, int rhsc_status) argument
454 ohci_rh_resume(struct ohci_hcd *ohci) argument
462 ohci_root_hub_state_changes(struct ohci_hcd *ohci, int changed, int any_connected, int rhsc_status) argument
490 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
557 ohci_hub_descriptor( struct ohci_hcd *ohci, struct usb_hub_descriptor *desc ) argument
600 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
644 root_port_reset(struct ohci_hcd *ohci, unsigned port) argument
708 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
[all...]
H A Dohci-hcd.c8 * [ uhci code and gregs ohci fragments ]
77 #include "ohci.h"
79 static void ohci_dump (struct ohci_hcd *ohci, int verbose);
80 static int ohci_init (struct ohci_hcd *ohci);
84 static int ohci_restart (struct ohci_hcd *ohci);
90 static void sb800_prefetch(struct ohci_hcd *ohci, int on);
100 static inline void sb800_prefetch(struct ohci_hcd *ohci, int on) argument
107 #include "ohci-hub.c"
108 #include "ohci-dbg.c"
109 #include "ohci
145 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
272 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
317 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
378 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
383 ohci_usb_reset(struct ohci_hcd *ohci) argument
397 struct ohci_hcd *ohci; local
406 check_ed(struct ohci_hcd *ohci, struct ed *ed) argument
426 struct ohci_hcd *ohci = (struct ohci_hcd *) _ohci; local
499 ohci_init(struct ohci_hcd *ohci) argument
576 ohci_run(struct ohci_hcd *ohci) argument
754 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
891 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
923 ohci_restart(struct ohci_hcd *ohci) argument
[all...]
H A Dohci-q.c37 * PRECONDITION: ohci lock held, irqs blocked.
40 finish_urb(struct ohci_hcd *ohci, struct urb *urb, int status)
41 __releases(ohci->lock)
42 __acquires(ohci->lock)
46 urb_free_priv (ohci, urb->hcpriv);
52 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--;
53 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) {
54 if (quirk_amdiso(ohci))
56 if (quirk_amdprefetch(ohci))
57 sb800_prefetch(ohci,
91 balance(struct ohci_hcd *ohci, int interval, int load) argument
125 periodic_link(struct ohci_hcd *ohci, struct ed *ed) argument
165 ed_schedule(struct ohci_hcd *ohci, struct ed *ed) argument
254 periodic_unlink(struct ohci_hcd *ohci, struct ed *ed) argument
302 ed_deschedule(struct ohci_hcd *ohci, struct ed *ed) argument
385 ed_get( struct ohci_hcd *ohci, struct usb_host_endpoint *ep, struct usb_device *udev, unsigned int pipe, int interval ) argument
465 start_ed_unlink(struct ohci_hcd *ohci, struct ed *ed) argument
497 td_fill(struct ohci_hcd *ohci, u32 info, dma_addr_t data, int len, struct urb *urb, int index) argument
573 td_submit_urb( struct ohci_hcd *ohci, struct urb *urb ) argument
708 td_done(struct ohci_hcd *ohci, struct urb *urb, struct td *td) argument
785 ed_halted(struct ohci_hcd *ohci, struct td *td, int cc) argument
853 dl_reverse_done_list(struct ohci_hcd *ohci) argument
897 finish_unlinks(struct ohci_hcd *ohci, u16 tick) argument
1071 takeback_td(struct ohci_hcd *ohci, struct td *td) argument
1122 dl_done_list(struct ohci_hcd *ohci) argument
[all...]
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.h341 * This is the full ohci controller description
374 void (*start_hnp)(struct ohci_hcd *ohci);
425 static inline int quirk_nec(struct ohci_hcd *ohci) argument
427 return ohci->flags & OHCI_QUIRK_NEC;
429 static inline int quirk_zfmicro(struct ohci_hcd *ohci) argument
431 return ohci->flags & OHCI_QUIRK_ZFMICRO;
433 static inline int quirk_amdiso(struct ohci_hcd *ohci) argument
435 return ohci->flags & OHCI_QUIRK_AMD_ISO;
437 static inline int quirk_amdprefetch(struct ohci_hcd *ohci) argument
439 return ohci
442 quirk_nec(struct ohci_hcd *ohci) argument
446 quirk_zfmicro(struct ohci_hcd *ohci) argument
450 quirk_amdiso(struct ohci_hcd *ohci) argument
454 quirk_amdprefetch(struct ohci_hcd *ohci) argument
465 ohci_to_hcd(const struct ohci_hcd *ohci) argument
553 _ohci_readl(const struct ohci_hcd *ohci, __hc32 __iomem * regs) argument
565 _ohci_writel(const struct ohci_hcd *ohci, const unsigned int val, __hc32 __iomem *regs) argument
589 cpu_to_hc16(const struct ohci_hcd *ohci, const u16 x) argument
596 cpu_to_hc16p(const struct ohci_hcd *ohci, const u16 *x) argument
603 cpu_to_hc32(const struct ohci_hcd *ohci, const u32 x) argument
610 cpu_to_hc32p(const struct ohci_hcd *ohci, const u32 *x) argument
618 hc16_to_cpu(const struct ohci_hcd *ohci, const __hc16 x) argument
625 hc16_to_cpup(const struct ohci_hcd *ohci, const __hc16 *x) argument
632 hc32_to_cpu(const struct ohci_hcd *ohci, const __hc32 x) argument
639 hc32_to_cpup(const struct ohci_hcd *ohci, const __hc32 *x) argument
659 ohci_frame_no(const struct ohci_hcd *ohci) argument
672 ohci_hwPSWp(const struct ohci_hcd *ohci, const struct td *td, int index) argument
679 ohci_hwPSW(const struct ohci_hcd *ohci, const struct td *td, int index) argument
687 disable(struct ohci_hcd *ohci) argument
697 periodic_reinit(struct ohci_hcd *ohci) argument
[all...]
H A Dohci-pci.c8 * [ uhci code and gregs ohci fragments ]
50 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
52 ohci->flags = OHCI_QUIRK_AMD756;
53 ohci_dbg (ohci, "AMD756 erratum 4 workaround\n");
65 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
67 ohci_dbg (ohci, "WARNING: OPTi workarounds unavailable\n");
84 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
86 ohci->flags |= OHCI_QUIRK_SUPERIO;
87 ohci_dbg (ohci, "Using NSC SuperIO setup\n");
100 struct ohci_hcd *ohci local
113 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
135 struct ohci_hcd *ohci = container_of(work, struct ohci_hcd, nec_work); local
153 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
164 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
266 sb800_prefetch(struct ohci_hcd *ohci, int on) argument
336 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
360 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
388 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
[all...]
H A Dohci-pxa27x.c13 * Modified for LH7A404 from ohci-sa1111.c
16 * Modified for pxa27x from ohci-lh7a404.c
26 #include <mach/ohci.h>
102 struct ohci_hcd ohci; member in struct:pxa27x_ohci
121 static int pxa27x_ohci_select_pmm(struct pxa27x_ohci *ohci, int mode) argument
123 uint32_t uhcrhda = __raw_readl(ohci->mmio_base + UHCRHDA);
124 uint32_t uhcrhdb = __raw_readl(ohci->mmio_base + UHCRHDB);
148 __raw_writel(uhcrhda, ohci->mmio_base + UHCRHDA);
149 __raw_writel(uhcrhdb, ohci->mmio_base + UHCRHDB);
157 static inline void pxa27x_setup_hc(struct pxa27x_ohci *ohci, argument
197 pxa27x_reset_hc(struct pxa27x_ohci *ohci) argument
212 pxa27x_start_hc(struct pxa27x_ohci *ohci, struct device *dev) argument
247 pxa27x_stop_hc(struct pxa27x_ohci *ohci, struct device *dev) argument
288 struct pxa27x_ohci *ohci; local
384 struct pxa27x_ohci *ohci = to_pxa27x_ohci(hcd); local
399 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
488 struct pxa27x_ohci *ohci = to_pxa27x_ohci(hcd); local
503 struct pxa27x_ohci *ohci = to_pxa27x_ohci(hcd); local
[all...]
H A Dohci-dbg.c75 #define ohci_dbg_sw(ohci, next, size, format, arg...) \
82 ohci_dbg(ohci,format, ## arg ); \
87 struct ohci_hcd *ohci,
93 ohci_dbg_sw (ohci, next, size, "%s 0x%08x%s%s%s%s%s%s%s%s%s\n",
109 struct ohci_hcd *ohci,
116 ohci_dbg_sw (ohci, next, size, "%s %08x\n", label, value);
285 static void ohci_dump_td (const struct ohci_hcd *ohci, const char *label, argument
288 u32 tmp = hc32_to_cpup (ohci, &td->hwINFO);
290 ohci_dbg (ohci, "%s td %p%s; urb %p index %d; hw next td %08x\n",
294 hc32_to_cpup (ohci,
86 ohci_dump_intr_mask( struct ohci_hcd *ohci, char *label, u32 mask, char **next, unsigned *size) argument
108 maybe_print_eds( struct ohci_hcd *ohci, char *label, u32 value, char **next, unsigned *size) argument
342 ohci_dump_ed(const struct ohci_hcd *ohci, const char *label, const struct ed *ed, int verbose) argument
434 struct ohci_hcd *ohci; member in struct:debug_buffer
441 show_list(struct ohci_hcd *ohci, char *buf, size_t count, struct ed *ed) argument
508 struct ohci_hcd *ohci; local
528 struct ohci_hcd *ohci; local
622 struct ohci_hcd *ohci; local
703 alloc_buffer(struct ohci_hcd *ohci, ssize_t (*fill_func)(struct debug_buffer *)) argument
800 create_debug_files(struct ohci_hcd *ohci) argument
841 remove_debug_files(struct ohci_hcd *ohci) argument
[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
304 struct ohci_hcd *ohci; local
402 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
424 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
511 struct ohci_hcd *ohci = hcd_to_ohci(platform_get_drvdata(dev)); local
525 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/usb/host/
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
213 periodic_reinit (ohci); variable
282 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
297 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
320 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
366 ohci_root_hub_state_changes(struct ohci_hcd *ohci, int changed, int any_connected, int rhsc_status) argument
454 ohci_rh_resume(struct ohci_hcd *ohci) argument
462 ohci_root_hub_state_changes(struct ohci_hcd *ohci, int changed, int any_connected, int rhsc_status) argument
490 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
557 ohci_hub_descriptor( struct ohci_hcd *ohci, struct usb_hub_descriptor *desc ) argument
600 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
644 root_port_reset(struct ohci_hcd *ohci, unsigned port) argument
708 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
[all...]
H A Dohci-hcd.c8 * [ uhci code and gregs ohci fragments ]
77 #include "ohci.h"
79 static void ohci_dump (struct ohci_hcd *ohci, int verbose);
80 static int ohci_init (struct ohci_hcd *ohci);
84 static int ohci_restart (struct ohci_hcd *ohci);
90 static void sb800_prefetch(struct ohci_hcd *ohci, int on);
100 static inline void sb800_prefetch(struct ohci_hcd *ohci, int on) argument
107 #include "ohci-hub.c"
108 #include "ohci-dbg.c"
109 #include "ohci
145 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
272 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
317 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
378 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
383 ohci_usb_reset(struct ohci_hcd *ohci) argument
397 struct ohci_hcd *ohci; local
406 check_ed(struct ohci_hcd *ohci, struct ed *ed) argument
426 struct ohci_hcd *ohci = (struct ohci_hcd *) _ohci; local
499 ohci_init(struct ohci_hcd *ohci) argument
576 ohci_run(struct ohci_hcd *ohci) argument
754 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
891 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
923 ohci_restart(struct ohci_hcd *ohci) argument
[all...]
H A Dohci-q.c37 * PRECONDITION: ohci lock held, irqs blocked.
40 finish_urb(struct ohci_hcd *ohci, struct urb *urb, int status)
41 __releases(ohci->lock)
42 __acquires(ohci->lock)
46 urb_free_priv (ohci, urb->hcpriv);
52 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--;
53 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0) {
54 if (quirk_amdiso(ohci))
56 if (quirk_amdprefetch(ohci))
57 sb800_prefetch(ohci,
91 balance(struct ohci_hcd *ohci, int interval, int load) argument
125 periodic_link(struct ohci_hcd *ohci, struct ed *ed) argument
165 ed_schedule(struct ohci_hcd *ohci, struct ed *ed) argument
254 periodic_unlink(struct ohci_hcd *ohci, struct ed *ed) argument
302 ed_deschedule(struct ohci_hcd *ohci, struct ed *ed) argument
385 ed_get( struct ohci_hcd *ohci, struct usb_host_endpoint *ep, struct usb_device *udev, unsigned int pipe, int interval ) argument
465 start_ed_unlink(struct ohci_hcd *ohci, struct ed *ed) argument
497 td_fill(struct ohci_hcd *ohci, u32 info, dma_addr_t data, int len, struct urb *urb, int index) argument
573 td_submit_urb( struct ohci_hcd *ohci, struct urb *urb ) argument
708 td_done(struct ohci_hcd *ohci, struct urb *urb, struct td *td) argument
785 ed_halted(struct ohci_hcd *ohci, struct td *td, int cc) argument
853 dl_reverse_done_list(struct ohci_hcd *ohci) argument
897 finish_unlinks(struct ohci_hcd *ohci, u16 tick) argument
1071 takeback_td(struct ohci_hcd *ohci, struct td *td) argument
1122 dl_done_list(struct ohci_hcd *ohci) argument
[all...]
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.h341 * This is the full ohci controller description
374 void (*start_hnp)(struct ohci_hcd *ohci);
425 static inline int quirk_nec(struct ohci_hcd *ohci) argument
427 return ohci->flags & OHCI_QUIRK_NEC;
429 static inline int quirk_zfmicro(struct ohci_hcd *ohci) argument
431 return ohci->flags & OHCI_QUIRK_ZFMICRO;
433 static inline int quirk_amdiso(struct ohci_hcd *ohci) argument
435 return ohci->flags & OHCI_QUIRK_AMD_ISO;
437 static inline int quirk_amdprefetch(struct ohci_hcd *ohci) argument
439 return ohci
442 quirk_nec(struct ohci_hcd *ohci) argument
446 quirk_zfmicro(struct ohci_hcd *ohci) argument
450 quirk_amdiso(struct ohci_hcd *ohci) argument
454 quirk_amdprefetch(struct ohci_hcd *ohci) argument
465 ohci_to_hcd(const struct ohci_hcd *ohci) argument
553 _ohci_readl(const struct ohci_hcd *ohci, __hc32 __iomem * regs) argument
565 _ohci_writel(const struct ohci_hcd *ohci, const unsigned int val, __hc32 __iomem *regs) argument
589 cpu_to_hc16(const struct ohci_hcd *ohci, const u16 x) argument
596 cpu_to_hc16p(const struct ohci_hcd *ohci, const u16 *x) argument
603 cpu_to_hc32(const struct ohci_hcd *ohci, const u32 x) argument
610 cpu_to_hc32p(const struct ohci_hcd *ohci, const u32 *x) argument
618 hc16_to_cpu(const struct ohci_hcd *ohci, const __hc16 x) argument
625 hc16_to_cpup(const struct ohci_hcd *ohci, const __hc16 *x) argument
632 hc32_to_cpu(const struct ohci_hcd *ohci, const __hc32 x) argument
639 hc32_to_cpup(const struct ohci_hcd *ohci, const __hc32 *x) argument
659 ohci_frame_no(const struct ohci_hcd *ohci) argument
672 ohci_hwPSWp(const struct ohci_hcd *ohci, const struct td *td, int index) argument
679 ohci_hwPSW(const struct ohci_hcd *ohci, const struct td *td, int index) argument
687 disable(struct ohci_hcd *ohci) argument
697 periodic_reinit(struct ohci_hcd *ohci) argument
[all...]
H A Dohci-pci.c8 * [ uhci code and gregs ohci fragments ]
50 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
52 ohci->flags = OHCI_QUIRK_AMD756;
53 ohci_dbg (ohci, "AMD756 erratum 4 workaround\n");
65 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
67 ohci_dbg (ohci, "WARNING: OPTi workarounds unavailable\n");
84 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
86 ohci->flags |= OHCI_QUIRK_SUPERIO;
87 ohci_dbg (ohci, "Using NSC SuperIO setup\n");
100 struct ohci_hcd *ohci local
113 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
135 struct ohci_hcd *ohci = container_of(work, struct ohci_hcd, nec_work); local
153 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
164 struct ohci_hcd *ohci = hcd_to_ohci(hcd); local
266 sb800_prefetch(struct ohci_hcd *ohci, int on) argument
336 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
360 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
388 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
[all...]
H A Dohci-pxa27x.c13 * Modified for LH7A404 from ohci-sa1111.c
16 * Modified for pxa27x from ohci-lh7a404.c
26 #include <mach/ohci.h>
102 struct ohci_hcd ohci; member in struct:pxa27x_ohci
121 static int pxa27x_ohci_select_pmm(struct pxa27x_ohci *ohci, int mode) argument
123 uint32_t uhcrhda = __raw_readl(ohci->mmio_base + UHCRHDA);
124 uint32_t uhcrhdb = __raw_readl(ohci->mmio_base + UHCRHDB);
148 __raw_writel(uhcrhda, ohci->mmio_base + UHCRHDA);
149 __raw_writel(uhcrhdb, ohci->mmio_base + UHCRHDB);
157 static inline void pxa27x_setup_hc(struct pxa27x_ohci *ohci, argument
197 pxa27x_reset_hc(struct pxa27x_ohci *ohci) argument
212 pxa27x_start_hc(struct pxa27x_ohci *ohci, struct device *dev) argument
247 pxa27x_stop_hc(struct pxa27x_ohci *ohci, struct device *dev) argument
288 struct pxa27x_ohci *ohci; local
384 struct pxa27x_ohci *ohci = to_pxa27x_ohci(hcd); local
399 struct ohci_hcd *ohci = hcd_to_ohci (hcd); local
488 struct pxa27x_ohci *ohci = to_pxa27x_ohci(hcd); local
503 struct pxa27x_ohci *ohci = to_pxa27x_ohci(hcd); local
[all...]
H A Dohci-dbg.c75 #define ohci_dbg_sw(ohci, next, size, format, arg...) \
82 ohci_dbg(ohci,format, ## arg ); \
87 struct ohci_hcd *ohci,
93 ohci_dbg_sw (ohci, next, size, "%s 0x%08x%s%s%s%s%s%s%s%s%s\n",
109 struct ohci_hcd *ohci,
116 ohci_dbg_sw (ohci, next, size, "%s %08x\n", label, value);
285 static void ohci_dump_td (const struct ohci_hcd *ohci, const char *label, argument
288 u32 tmp = hc32_to_cpup (ohci, &td->hwINFO);
290 ohci_dbg (ohci, "%s td %p%s; urb %p index %d; hw next td %08x\n",
294 hc32_to_cpup (ohci,
86 ohci_dump_intr_mask( struct ohci_hcd *ohci, char *label, u32 mask, char **next, unsigned *size) argument
108 maybe_print_eds( struct ohci_hcd *ohci, char *label, u32 value, char **next, unsigned *size) argument
342 ohci_dump_ed(const struct ohci_hcd *ohci, const char *label, const struct ed *ed, int verbose) argument
434 struct ohci_hcd *ohci; member in struct:debug_buffer
441 show_list(struct ohci_hcd *ohci, char *buf, size_t count, struct ed *ed) argument
508 struct ohci_hcd *ohci; local
528 struct ohci_hcd *ohci; local
622 struct ohci_hcd *ohci; local
703 alloc_buffer(struct ohci_hcd *ohci, ssize_t (*fill_func)(struct debug_buffer *)) argument
800 create_debug_files(struct ohci_hcd *ohci) argument
841 remove_debug_files(struct ohci_hcd *ohci) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/ieee1394/
H A Dinit_ohci1394_dma.c48 static inline u8 __init get_phy_reg(struct ti_ohci *ohci, u8 addr) argument
53 reg_write(ohci, OHCI1394_PhyControl, (addr << 8) | 0x00008000);
56 if (reg_read(ohci, OHCI1394_PhyControl) & 0x80000000)
60 r = reg_read(ohci, OHCI1394_PhyControl);
66 static inline void __init set_phy_reg(struct ti_ohci *ohci, u8 addr, u8 data) argument
70 reg_write(ohci, OHCI1394_PhyControl, (addr << 8) | data | 0x00004000);
73 u32 r = reg_read(ohci, OHCI1394_PhyControl);
81 static inline void __init init_ohci1394_soft_reset(struct ti_ohci *ohci) { argument
84 reg_write(ohci, OHCI1394_HCControlSet, OHCI1394_HCControl_softReset);
87 if (!(reg_read(ohci, OHCI1394_HCControlSe
95 init_ohci1394_initialize(struct ti_ohci *ohci) argument
167 init_ohci1394_wait_for_busresets(struct ti_ohci *ohci) argument
196 init_ohci1394_reset_and_init_dma(struct ti_ohci *ohci) argument
228 struct ti_ohci ohci; local
[all...]
H A Dohci1394.c137 printk(KERN_INFO "%s: fw-host%d: " fmt "\n" , OHCI1394_DRIVER_NAME, ohci->host->id , ## args)
148 printk(level "%s: fw-host%d: " fmt "\n" , OHCI1394_DRIVER_NAME, ohci->host->id , ## args)
158 static int alloc_dma_rcv_ctx(struct ti_ohci *ohci, struct dma_rcv_ctx *d,
163 static int alloc_dma_trm_ctx(struct ti_ohci *ohci, struct dma_trm_ctx *d,
205 static u8 get_phy_reg(struct ti_ohci *ohci, u8 addr) argument
211 spin_lock_irqsave (&ohci->phy_reg_lock, flags);
213 reg_write(ohci, OHCI1394_PhyControl, (addr << 8) | 0x00008000);
216 if (reg_read(ohci, OHCI1394_PhyControl) & 0x80000000)
222 r = reg_read(ohci, OHCI1394_PhyControl);
228 spin_unlock_irqrestore (&ohci
233 set_phy_reg(struct ti_ohci *ohci, u8 addr, u8 data) argument
261 set_phy_reg_mask(struct ti_ohci *ohci, u8 addr, u8 data) argument
272 handle_selfid(struct ti_ohci *ohci, struct hpsb_host *host, int phyid, int isroot) argument
338 ohci_soft_reset(struct ti_ohci *ohci) argument
355 struct ti_ohci *ohci = (struct ti_ohci*)(d->ohci); local
415 struct ti_ohci *ohci = (struct ti_ohci*)(d->ohci); local
436 get_nb_iso_ctx(struct ti_ohci *ohci, int reg) argument
450 ohci_initialize(struct ti_ohci *ohci) argument
618 insert_packet(struct ti_ohci *ohci, struct dma_trm_ctx *d, struct hpsb_packet *packet) argument
776 dma_trm_flush(struct ti_ohci *ohci, struct dma_trm_ctx *d) argument
828 struct ti_ohci *ohci = host->hostdata; local
859 struct ti_ohci *ohci = host->hostdata; local
979 struct ti_ohci *ohci; member in struct:ohci_iso_recv
1028 struct ti_ohci *ohci = iso->host->hostdata; local
1284 struct ti_ohci *ohci = recv->ohci; local
1439 struct ti_ohci *ohci = recv->ohci; local
1545 struct ti_ohci *ohci = recv->ohci; local
1604 struct ti_ohci *ohci = recv->ohci; local
1693 struct ti_ohci *ohci; member in struct:ohci_iso_xmit
1771 struct ti_ohci *ohci = xmit->ohci; local
1803 struct ti_ohci *ohci = xmit->ohci; local
1867 struct ti_ohci *ohci = xmit->ohci; local
1973 struct ti_ohci *ohci = xmit->ohci; local
2085 struct ti_ohci *ohci = d->ohci; local
2118 ohci_schedule_iso_tasklets(struct ti_ohci *ohci, quadlet_t rx_event, quadlet_t tx_event) argument
2147 struct ti_ohci *ohci = (struct ti_ohci *)dev_id; local
2407 struct ti_ohci *ohci = (struct ti_ohci*)(d->ohci); local
2472 struct ti_ohci *ohci = (struct ti_ohci*)(d->ohci); local
2611 struct ti_ohci *ohci = (struct ti_ohci*)(d->ohci); local
2736 struct ti_ohci *ohci = d->ohci; local
2768 alloc_dma_rcv_ctx(struct ti_ohci *ohci, struct dma_rcv_ctx *d, enum context_type type, int ctx, int num_desc, int buf_size, int split_buf_size, int context_base) argument
2865 struct ti_ohci *ohci = d->ohci; local
2887 alloc_dma_trm_ctx(struct ti_ohci *ohci, struct dma_trm_ctx *d, enum context_type type, int ctx, int num_desc, int context_base) argument
2948 struct ti_ohci *ohci = host->hostdata; local
2960 struct ti_ohci *ohci = host->hostdata; local
3024 struct ti_ohci *ohci; /* shortcut to currently handled device */ local
3241 struct ti_ohci *ohci; local
3323 struct ti_ohci *ohci = pci_get_drvdata(dev); local
3368 struct ti_ohci *ohci = pci_get_drvdata(dev); local
3441 ohci1394_stop_context(struct ti_ohci *ohci, int reg, char *msg) argument
3474 ohci1394_register_iso_tasklet(struct ti_ohci *ohci, struct ohci1394_iso_tasklet *tasklet) argument
3511 ohci1394_unregister_iso_tasklet(struct ti_ohci *ohci, struct ohci1394_iso_tasklet *tasklet) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/ieee1394/
H A Dinit_ohci1394_dma.c48 static inline u8 __init get_phy_reg(struct ti_ohci *ohci, u8 addr) argument
53 reg_write(ohci, OHCI1394_PhyControl, (addr << 8) | 0x00008000);
56 if (reg_read(ohci, OHCI1394_PhyControl) & 0x80000000)
60 r = reg_read(ohci, OHCI1394_PhyControl);
66 static inline void __init set_phy_reg(struct ti_ohci *ohci, u8 addr, u8 data) argument
70 reg_write(ohci, OHCI1394_PhyControl, (addr << 8) | data | 0x00004000);
73 u32 r = reg_read(ohci, OHCI1394_PhyControl);
81 static inline void __init init_ohci1394_soft_reset(struct ti_ohci *ohci) { argument
84 reg_write(ohci, OHCI1394_HCControlSet, OHCI1394_HCControl_softReset);
87 if (!(reg_read(ohci, OHCI1394_HCControlSe
95 init_ohci1394_initialize(struct ti_ohci *ohci) argument
167 init_ohci1394_wait_for_busresets(struct ti_ohci *ohci) argument
196 init_ohci1394_reset_and_init_dma(struct ti_ohci *ohci) argument
228 struct ti_ohci ohci; local
[all...]
H A Dohci1394.c137 printk(KERN_INFO "%s: fw-host%d: " fmt "\n" , OHCI1394_DRIVER_NAME, ohci->host->id , ## args)
148 printk(level "%s: fw-host%d: " fmt "\n" , OHCI1394_DRIVER_NAME, ohci->host->id , ## args)
158 static int alloc_dma_rcv_ctx(struct ti_ohci *ohci, struct dma_rcv_ctx *d,
163 static int alloc_dma_trm_ctx(struct ti_ohci *ohci, struct dma_trm_ctx *d,
205 static u8 get_phy_reg(struct ti_ohci *ohci, u8 addr) argument
211 spin_lock_irqsave (&ohci->phy_reg_lock, flags);
213 reg_write(ohci, OHCI1394_PhyControl, (addr << 8) | 0x00008000);
216 if (reg_read(ohci, OHCI1394_PhyControl) & 0x80000000)
222 r = reg_read(ohci, OHCI1394_PhyControl);
228 spin_unlock_irqrestore (&ohci
233 set_phy_reg(struct ti_ohci *ohci, u8 addr, u8 data) argument
261 set_phy_reg_mask(struct ti_ohci *ohci, u8 addr, u8 data) argument
272 handle_selfid(struct ti_ohci *ohci, struct hpsb_host *host, int phyid, int isroot) argument
338 ohci_soft_reset(struct ti_ohci *ohci) argument
355 struct ti_ohci *ohci = (struct ti_ohci*)(d->ohci); local
415 struct ti_ohci *ohci = (struct ti_ohci*)(d->ohci); local
436 get_nb_iso_ctx(struct ti_ohci *ohci, int reg) argument
450 ohci_initialize(struct ti_ohci *ohci) argument
618 insert_packet(struct ti_ohci *ohci, struct dma_trm_ctx *d, struct hpsb_packet *packet) argument
776 dma_trm_flush(struct ti_ohci *ohci, struct dma_trm_ctx *d) argument
828 struct ti_ohci *ohci = host->hostdata; local
859 struct ti_ohci *ohci = host->hostdata; local
979 struct ti_ohci *ohci; member in struct:ohci_iso_recv
1028 struct ti_ohci *ohci = iso->host->hostdata; local
1284 struct ti_ohci *ohci = recv->ohci; local
1439 struct ti_ohci *ohci = recv->ohci; local
1545 struct ti_ohci *ohci = recv->ohci; local
1604 struct ti_ohci *ohci = recv->ohci; local
1693 struct ti_ohci *ohci; member in struct:ohci_iso_xmit
1771 struct ti_ohci *ohci = xmit->ohci; local
1803 struct ti_ohci *ohci = xmit->ohci; local
1867 struct ti_ohci *ohci = xmit->ohci; local
1973 struct ti_ohci *ohci = xmit->ohci; local
2085 struct ti_ohci *ohci = d->ohci; local
2118 ohci_schedule_iso_tasklets(struct ti_ohci *ohci, quadlet_t rx_event, quadlet_t tx_event) argument
2147 struct ti_ohci *ohci = (struct ti_ohci *)dev_id; local
2407 struct ti_ohci *ohci = (struct ti_ohci*)(d->ohci); local
2472 struct ti_ohci *ohci = (struct ti_ohci*)(d->ohci); local
2611 struct ti_ohci *ohci = (struct ti_ohci*)(d->ohci); local
2736 struct ti_ohci *ohci = d->ohci; local
2768 alloc_dma_rcv_ctx(struct ti_ohci *ohci, struct dma_rcv_ctx *d, enum context_type type, int ctx, int num_desc, int buf_size, int split_buf_size, int context_base) argument
2865 struct ti_ohci *ohci = d->ohci; local
2887 alloc_dma_trm_ctx(struct ti_ohci *ohci, struct dma_trm_ctx *d, enum context_type type, int ctx, int num_desc, int context_base) argument
2948 struct ti_ohci *ohci = host->hostdata; local
2960 struct ti_ohci *ohci = host->hostdata; local
3024 struct ti_ohci *ohci; /* shortcut to currently handled device */ local
3241 struct ti_ohci *ohci; local
3323 struct ti_ohci *ohci = pci_get_drvdata(dev); local
3368 struct ti_ohci *ohci = pci_get_drvdata(dev); local
3441 ohci1394_stop_context(struct ti_ohci *ohci, int reg, char *msg) argument
3474 ohci1394_register_iso_tasklet(struct ti_ohci *ohci, struct ohci1394_iso_tasklet *tasklet) argument
3511 ohci1394_unregister_iso_tasklet(struct ti_ohci *ohci, struct ohci1394_iso_tasklet *tasklet) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/firewire/
H A Dohci.c53 #include "ohci.h"
90 struct fw_ohci *ohci; member in struct:ar_context
117 struct fw_ohci *ohci; member in struct:context
486 static inline void reg_write(const struct fw_ohci *ohci, int offset, u32 data) argument
488 writel(data, ohci->registers + offset);
491 static inline u32 reg_read(const struct fw_ohci *ohci, int offset) argument
493 return readl(ohci->registers + offset);
496 static inline void flush_writes(const struct fw_ohci *ohci) argument
499 reg_read(ohci, OHCI1394_Version);
502 static int read_phy_reg(struct fw_ohci *ohci, in argument
525 write_phy_reg(const struct fw_ohci *ohci, int addr, u32 val) argument
544 update_phy_reg(struct fw_ohci *ohci, int addr, int clear_bits, int set_bits) argument
561 read_paged_phy_reg(struct fw_ohci *ohci, int page, int addr) argument
574 struct fw_ohci *ohci = fw_ohci(card); local
587 struct fw_ohci *ohci = fw_ohci(card); local
654 struct fw_ohci *ohci = ctx->ohci; local
748 struct fw_ohci *ohci = ctx->ohci; local
833 ar_context_init(struct ar_context *ctx, struct fw_ohci *ohci, u32 regs) argument
954 context_init(struct context *ctx, struct fw_ohci *ohci, u32 regs, descriptor_callback_t callback) argument
1031 struct fw_ohci *ohci = ctx->ohci; local
1088 struct fw_ohci *ohci = ctx->ohci; local
1208 struct fw_ohci *ohci = context->ohci; local
1278 handle_local_rom(struct fw_ohci *ohci, struct fw_packet *packet, u32 csr) argument
1305 handle_local_lock(struct fw_ohci *ohci, struct fw_packet *packet, u32 csr) argument
1440 get_cycle_time(struct fw_ohci *ohci) argument
1476 update_bus_time(struct fw_ohci *ohci) argument
1488 struct fw_ohci *ohci = (struct fw_ohci *)data; local
1627 struct fw_ohci *ohci = data; local
1701 software_reset(struct fw_ohci *ohci) argument
1726 configure_1394a_enhancements(struct fw_ohci *ohci) argument
1780 struct fw_ohci *ohci = fw_ohci(card); local
1930 struct fw_ohci *ohci; local
1981 struct fw_ohci *ohci = fw_ohci(card); local
1988 struct fw_ohci *ohci = fw_ohci(card); local
1995 struct fw_ohci *ohci = fw_ohci(card); local
2059 struct fw_ohci *ohci = fw_ohci(card); local
2110 struct fw_ohci *ohci = fw_ohci(card); local
2279 set_multichannel_mask(struct fw_ohci *ohci, u64 channels) argument
2294 struct fw_ohci *ohci = fw_ohci(card); local
2392 struct fw_ohci *ohci = ctx->context.ohci; local
2432 struct fw_ohci *ohci = fw_ohci(base->card); local
2456 struct fw_ohci *ohci = fw_ohci(base->card); local
2493 struct fw_ohci *ohci = fw_ohci(base->card); local
2820 struct fw_ohci *ohci; local
2964 struct fw_ohci *ohci; local
3002 struct fw_ohci *ohci = pci_get_drvdata(dev); local
3023 struct fw_ohci *ohci = pci_get_drvdata(dev); local
[all...]
H A DMakefile7 firewire-ohci-y += ohci.o
12 obj-$(CONFIG_FIREWIRE_OHCI) += firewire-ohci.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/firewire/
H A Dohci.c53 #include "ohci.h"
90 struct fw_ohci *ohci; member in struct:ar_context
117 struct fw_ohci *ohci; member in struct:context
486 static inline void reg_write(const struct fw_ohci *ohci, int offset, u32 data) argument
488 writel(data, ohci->registers + offset);
491 static inline u32 reg_read(const struct fw_ohci *ohci, int offset) argument
493 return readl(ohci->registers + offset);
496 static inline void flush_writes(const struct fw_ohci *ohci) argument
499 reg_read(ohci, OHCI1394_Version);
502 static int read_phy_reg(struct fw_ohci *ohci, in argument
525 write_phy_reg(const struct fw_ohci *ohci, int addr, u32 val) argument
544 update_phy_reg(struct fw_ohci *ohci, int addr, int clear_bits, int set_bits) argument
561 read_paged_phy_reg(struct fw_ohci *ohci, int page, int addr) argument
574 struct fw_ohci *ohci = fw_ohci(card); local
587 struct fw_ohci *ohci = fw_ohci(card); local
654 struct fw_ohci *ohci = ctx->ohci; local
748 struct fw_ohci *ohci = ctx->ohci; local
833 ar_context_init(struct ar_context *ctx, struct fw_ohci *ohci, u32 regs) argument
954 context_init(struct context *ctx, struct fw_ohci *ohci, u32 regs, descriptor_callback_t callback) argument
1031 struct fw_ohci *ohci = ctx->ohci; local
1088 struct fw_ohci *ohci = ctx->ohci; local
1208 struct fw_ohci *ohci = context->ohci; local
1278 handle_local_rom(struct fw_ohci *ohci, struct fw_packet *packet, u32 csr) argument
1305 handle_local_lock(struct fw_ohci *ohci, struct fw_packet *packet, u32 csr) argument
1440 get_cycle_time(struct fw_ohci *ohci) argument
1476 update_bus_time(struct fw_ohci *ohci) argument
1488 struct fw_ohci *ohci = (struct fw_ohci *)data; local
1627 struct fw_ohci *ohci = data; local
1701 software_reset(struct fw_ohci *ohci) argument
1726 configure_1394a_enhancements(struct fw_ohci *ohci) argument
1780 struct fw_ohci *ohci = fw_ohci(card); local
1930 struct fw_ohci *ohci; local
1981 struct fw_ohci *ohci = fw_ohci(card); local
1988 struct fw_ohci *ohci = fw_ohci(card); local
1995 struct fw_ohci *ohci = fw_ohci(card); local
2059 struct fw_ohci *ohci = fw_ohci(card); local
2110 struct fw_ohci *ohci = fw_ohci(card); local
2279 set_multichannel_mask(struct fw_ohci *ohci, u64 channels) argument
2294 struct fw_ohci *ohci = fw_ohci(card); local
2392 struct fw_ohci *ohci = ctx->context.ohci; local
2432 struct fw_ohci *ohci = fw_ohci(base->card); local
2456 struct fw_ohci *ohci = fw_ohci(base->card); local
2493 struct fw_ohci *ohci = fw_ohci(base->card); local
2820 struct fw_ohci *ohci; local
2964 struct fw_ohci *ohci; local
3002 struct fw_ohci *ohci = pci_get_drvdata(dev); local
3023 struct fw_ohci *ohci = pci_get_drvdata(dev); local
[all...]
H A DMakefile7 firewire-ohci-y += ohci.o
12 obj-$(CONFIG_FIREWIRE_OHCI) += firewire-ohci.o

Completed in 262 milliseconds

123456