mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
dmaengine: omap-dma: program hardware directly
Program the transfer parameters directly into the hardware, rather than using the functions in arch/arm/plat-omap/dma.c. Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
1b416c4b41
commit
b9e97822da
2 changed files with 130 additions and 18 deletions
|
@ -289,8 +289,10 @@ struct omap_system_dma_plat_info {
|
|||
#define dma_omap2plus() 0
|
||||
#endif
|
||||
#define dma_omap1() (!dma_omap2plus())
|
||||
#define dma_omap15xx() ((dma_omap1() && (d->dev_caps & ENABLE_1510_MODE)))
|
||||
#define dma_omap16xx() ((dma_omap1() && (d->dev_caps & ENABLE_16XX_MODE)))
|
||||
#define __dma_omap15xx(d) (dma_omap1() && (d)->dev_caps & ENABLE_1510_MODE)
|
||||
#define __dma_omap16xx(d) (dma_omap1() && (d)->dev_caps & ENABLE_16XX_MODE)
|
||||
#define dma_omap15xx() __dma_omap15xx(d)
|
||||
#define dma_omap16xx() __dma_omap16xx(d)
|
||||
|
||||
extern struct omap_system_dma_plat_info *omap_get_plat_info(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue