/* * TXx9 SoC DMA Controller * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __ASM_TXX9_DMAC_H #define __ASM_TXX9_DMAC_H #include <linux/dmaengine.h> #define TXX9_DMA_MAX_NR_CHANNELS 4 /** * struct txx9dmac_platform_data - Controller configuration parameters * @memcpy_chan: Channel used for DMA_MEMCPY * @have_64bit_regs: DMAC have 64 bit registers */ struct txx9dmac_platform_data { int memcpy_chan; bool have_64bit_regs; }; /** * struct txx9dmac_chan_platform_data - Channel configuration parameters * @dmac_dev: A platform device for DMAC */ struct txx9dmac_chan_platform_data { struct platform_device *dmac_dev; }; /** * struct txx9dmac_slave - Controller-specific information about a slave * @tx_reg: physical address of data register used for * memory-to-peripheral transfers * @rx_reg: physical address of data register used for * peripheral-to-memory transfers * @reg_width: peripheral register width */ struct txx9dmac_slave { u64 tx_reg; u64 rx_reg; unsigned int reg_width; }; void txx9_dmac_init(int id, unsigned long baseaddr, int irq, const struct txx9dmac_platform_data *pdata); #endif /* __ASM_TXX9_DMAC_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
boards.h | File | 309 B | 0644 |
|
dmac.h | File | 1.29 KB | 0644 |
|
generic.h | File | 2.76 KB | 0644 |
|
jmr3927.h | File | 6.84 KB | 0644 |
|
ndfmc.h | File | 961 B | 0644 |
|
pci.h | File | 1.12 KB | 0644 |
|
rbtx4927.h | File | 3.82 KB | 0644 |
|
rbtx4938.h | File | 6.78 KB | 0644 |
|
rbtx4939.h | File | 6.22 KB | 0644 |
|
smsc_fdc37m81x.h | File | 2.09 KB | 0644 |
|
spi.h | File | 907 B | 0644 |
|
tx3927.h | File | 10.8 KB | 0644 |
|
tx4927.h | File | 9.04 KB | 0644 |
|
tx4927pcic.h | File | 6.38 KB | 0644 |
|
tx4938.h | File | 10.73 KB | 0644 |
|
tx4939.h | File | 18.5 KB | 0644 |
|