2 * Copyright (C) 2007 by Analog Devices, Inc.
4 * The Inventra Controller Driver for Linux is free software; you
5 * can redistribute it and/or modify it under the terms of the GNU
6 * General Public License version 2 as published by the Free Software
10 #ifndef __MUSB_BLACKFIN_H__
11 #define __MUSB_BLACKFIN_H__
14 * Blackfin specific definitions
19 static void dump_fifo_data(u8
*buf
, u16 len
)
24 for (i
= 0; i
< len
; i
++) {
27 pr_debug("%02x ", *tmp
++);
32 #define dump_fifo_data(buf, len) do {} while (0)
37 #define USB_DMA_BASE USB_DMA_INTERRUPT
38 #define USB_DMAx_CTRL 0x04
39 #define USB_DMAx_ADDR_LOW 0x08
40 #define USB_DMAx_ADDR_HIGH 0x0C
41 #define USB_DMAx_COUNT_LOW 0x10
42 #define USB_DMAx_COUNT_HIGH 0x14
44 #define USB_DMA_REG(ep, reg) (USB_DMA_BASE + 0x20 * ep + reg)
48 #define TIMER_DELAY (1 * HZ)
50 static struct timer_list musb_conn_timer
;
52 #endif /* __MUSB_BLACKFIN_H__ */