Go to the documentation of this file.
10 #ifndef __MUSB_BLACKFIN_H__
11 #define __MUSB_BLACKFIN_H__
49 #if ANOMALY_05000380 && defined(CONFIG_BF52x) && \
50 !defined(CONFIG_MUSB_PIO_ONLY)
51 # error "Please use PIO mode in MUSB driver on bf52x chip v0.0 and v0.1"
61 for (i = 0; i < len; i++) {
69 #define dump_fifo_data(buf, len) do {} while (0)
73 #define USB_DMA_BASE USB_DMA_INTERRUPT
74 #define USB_DMAx_CTRL 0x04
75 #define USB_DMAx_ADDR_LOW 0x08
76 #define USB_DMAx_ADDR_HIGH 0x0C
77 #define USB_DMAx_COUNT_LOW 0x10
78 #define USB_DMAx_COUNT_HIGH 0x14
80 #define USB_DMA_REG(ep, reg) (USB_DMA_BASE + 0x20 * ep + reg)
83 #define TIMER_DELAY (1 * HZ)