Lines Matching +full:usb +full:- +full:dmac
4 * (c) 2007 MSC Vertriebsges.m.b.H, Manuel Lauss <mlau@msc-ge.com>
18 * from USB-SRAM/Audio units to main memory (and also the LCDC; but that
21 * from the traditional SH DMAC (although it blocks usage of DMAC 0)
24 * -----------------------------------------------------
25 * 0 | USB-DMA | ... | xfer done | DMABRGI1
26 * 1 | USB-UAE | ... | USB addr err.| DMABRGI0
39 * DMABRGI0 services USB DMA Address errors, but it still must be
40 * enabled/acked in the DMABRGCR register. USB-DMA complete indicator
43 * DMABRGCR: Bits 31-24: audio-dma ENABLE flags,
44 * Bits 23-16: audio-dma STATUS flags,
45 * Bits 9-8: USB error/xfer ENABLE,
46 * Bits 1-0: USB error/xfer STATUS.
94 /* USB stuff, get it out of the way first */ in dmabrg_irq()
104 dcr &= dcr - 1; in dmabrg_irq()
130 return -ENOENT; in dmabrg_request_irq()
132 return -EBUSY; in dmabrg_request_irq()
160 return -ENOMEM; in dmabrg_init()
163 /* request DMAC channel 0 before anyone else can get it */ in dmabrg_init()
164 ret = request_dma(0, "DMAC 0 (DMABRG)"); in dmabrg_init()
166 printk(KERN_INFO "DMABRG: DMAC ch0 not reserved!\n"); in dmabrg_init()
171 __raw_writel(0x94000000, DMARSRA); /* enable DMABRG in DMAC 0 */ in dmabrg_init()
173 /* enable DMABRG mode, enable the DMAC */ in dmabrg_init()
178 "DMABRG USB address error", NULL); in dmabrg_init()