Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
usb-musb-ux500.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) ST-Ericsson SA 2011
3  *
4  * Author: Mian Yousaf Kaukab <[email protected]>
5  * License terms: GNU General Public License (GPL) version 2
6  */
7 #ifndef __ASM_ARCH_USB_H
8 #define __ASM_ARCH_USB_H
9 
10 #include <linux/dmaengine.h>
11 
12 #define UX500_MUSB_DMA_NUM_RX_CHANNELS 8
13 #define UX500_MUSB_DMA_NUM_TX_CHANNELS 8
14 
20  bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
21 };
22 
23 void ux500_add_usb(struct device *parent, resource_size_t base,
24  int irq, int *dma_rx_cfg, int *dma_tx_cfg);
25 #endif