Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
at_dma_chan Struct Reference

#include <at_hdmac_regs.h>

Data Fields

struct dma_chan chan_common
 
struct at_dmadevice
 
void __iomemch_regs
 
u8 mask
 
unsigned long status
 
struct tasklet_struct tasklet
 
u32 save_cfg
 
u32 save_dscr
 
struct dma_slave_config dma_sconfig
 
spinlock_t lock
 
struct list_head active_list
 
struct list_head queue
 
struct list_head free_list
 
unsigned int descs_allocated
 

Detailed Description

struct at_dma_chan - internal representation of an Atmel HDMAC channel : common dmaengine channel object members : parent device : memory mapped register base : channel index in a mask : transmit status information from irq/prep* functions to tasklet (use atomic operations) : bottom half to finish transaction work : configuration register that is saved on suspend/resume cycle : for cyclic operations, preserve next descriptor address in the cyclic list on suspend/resume cycle : configuration for slave transfers, passed via DMA_SLAVE_CONFIG : serializes enqueue/dequeue operations to descriptors lists : list of descriptors dmaengine is being running on : list of descriptors ready to be submitted to engine : list of descriptors usable by the channel : records the actual size of the descriptor pool

Definition at line 236 of file at_hdmac_regs.h.

Field Documentation

struct list_head active_list

Definition at line 250 of file at_hdmac_regs.h.

void __iomem* ch_regs

Definition at line 239 of file at_hdmac_regs.h.

struct dma_chan chan_common

Definition at line 237 of file at_hdmac_regs.h.

unsigned int descs_allocated

Definition at line 253 of file at_hdmac_regs.h.

Definition at line 238 of file at_hdmac_regs.h.

struct dma_slave_config dma_sconfig

Definition at line 245 of file at_hdmac_regs.h.

struct list_head free_list

Definition at line 252 of file at_hdmac_regs.h.

spinlock_t lock

Definition at line 247 of file at_hdmac_regs.h.

u8 mask

Definition at line 240 of file at_hdmac_regs.h.

Definition at line 251 of file at_hdmac_regs.h.

u32 save_cfg

Definition at line 243 of file at_hdmac_regs.h.

u32 save_dscr

Definition at line 244 of file at_hdmac_regs.h.

unsigned long status

Definition at line 241 of file at_hdmac_regs.h.

Definition at line 242 of file at_hdmac_regs.h.


The documentation for this struct was generated from the following file: