musb_dma.h (a6a20885f1e13340e30ec35acfdcf14756ecf03c) musb_dma.h (9b3452d1fa3c017d3664ff9e6a601daa6e0576eb)
1/*
2 * MUSB OTG driver DMA controller abstraction
3 *
4 * Copyright 2005 Mentor Graphics Corporation
5 * Copyright (C) 2005-2006 by Texas Instruments
6 * Copyright (C) 2006-2007 Nokia Corporation
7 *
8 * This program is free software; you can redistribute it and/or

--- 54 unchanged lines hidden (view full) ---

63#define DMA_ADDR_INVALID (~(dma_addr_t)0)
64
65#ifdef CONFIG_MUSB_PIO_ONLY
66#define is_dma_capable() (0)
67#else
68#define is_dma_capable() (1)
69#endif
70
1/*
2 * MUSB OTG driver DMA controller abstraction
3 *
4 * Copyright 2005 Mentor Graphics Corporation
5 * Copyright (C) 2005-2006 by Texas Instruments
6 * Copyright (C) 2006-2007 Nokia Corporation
7 *
8 * This program is free software; you can redistribute it and/or

--- 54 unchanged lines hidden (view full) ---

63#define DMA_ADDR_INVALID (~(dma_addr_t)0)
64
65#ifdef CONFIG_MUSB_PIO_ONLY
66#define is_dma_capable() (0)
67#else
68#define is_dma_capable() (1)
69#endif
70
71#ifdef CONFIG_USB_TI_CPPI_DMA
71#if defined(CONFIG_USB_TI_CPPI_DMA) || defined(CONFIG_USB_TI_CPPI41_DMA)
72#define is_cppi_enabled() 1
73#else
74#define is_cppi_enabled() 0
75#endif
76
77#ifdef CONFIG_USB_TUSB_OMAP_DMA
78#define tusb_dma_omap() 1
79#else

--- 115 unchanged lines hidden ---
72#define is_cppi_enabled() 1
73#else
74#define is_cppi_enabled() 0
75#endif
76
77#ifdef CONFIG_USB_TUSB_OMAP_DMA
78#define tusb_dma_omap() 1
79#else

--- 115 unchanged lines hidden ---