Linux Kernel
3.7.1
|
#include <pl08x.h>
Data Fields | |
const char * | bus_id |
int | min_signal |
int | max_signal |
u32 | muxval |
u32 | cctl_memcpy |
dma_addr_t | addr |
bool | single |
u8 | periph_buses |
struct pl08x_channel_data - data structure to pass info between platform and PL08x driver regarding channel configuration : name of this device channel, not just a device name since devices may have more than one channel e.g. "foo_tx" : the minimum DMA signal number to be muxed in for this channel (for platforms supporting muxed signals). If you have static assignments, make sure this is set to the assigned signal number, PL08x have 16 possible signals in number 0 thru 15 so when these are not enough they often get muxed (in hardware) disabling simultaneous use of the same channel for two devices. : the maximum DMA signal number to be muxed in for the channel. Set to the same as min_signal for devices with static assignments : a number usually used to poke into some mux regiser to mux in the signal to this channel : options for the channel control register for memcpy *** not used for slave channels *** : source/target address in physical memory for this DMA channel, can be the address of a FIFO register for burst requests for example. This can be left undefined if the PrimeCell API is used for configuring this. : the device connected to this channel will request single DMA transfers, not bursts. (Bursts are default.) : the device connected to this channel is accessible via these buses (use PL08X_AHB1 | PL08X_AHB2).
dma_addr_t addr |