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

Data Fields

spinlock_t lock
 
int log_num
 
int pending_tx
 
bool busy
 
struct d40_phy_resphy_chan
 
struct dma_chan chan
 
struct tasklet_struct tasklet
 
struct list_head client
 
struct list_head pending_queue
 
struct list_head active
 
struct list_head queue
 
struct list_head prepare_queue
 
struct stedma40_chan_cfg dma_cfg
 
bool configured
 
struct d40_basebase
 
u32 src_def_cfg
 
u32 dst_def_cfg
 
struct d40_def_lcsp log_def
 
struct d40_log_lli_fulllcpa
 
dma_addr_t runtime_addr
 
enum dma_transfer_direction runtime_direction
 

Detailed Description

struct d40_chan - Struct that describes a channel.

: A spinlock to protect this struct. : The logical number, if any of this channel. : The number of pending transfers. Used between interrupt handler and tasklet. : Set to true when transfer is ongoing on this channel. : Pointer to physical channel which this instance runs on. If this point is NULL, then the channel is not allocated. : DMA engine handle. : Tasklet that gets scheduled from interrupt context to complete a transfer and call client callback. : Cliented owned descriptor list. : Submitted jobs, to be issued by issue_pending() : Active descriptor. : Queued jobs. : Prepared jobs. : The client configuration of this dma channel. : whether the dma_cfg configuration is valid : Pointer to the device instance struct. : Default cfg register setting for src. : Default cfg register setting for dst. : Default logical channel settings. : Pointer to dst and src lcpa settings. : runtime configured address. : runtime configured direction.

This struct can either "be" a logical or a physical channel.

Definition at line 266 of file ste_dma40.c.

Field Documentation

struct list_head active

Definition at line 276 of file ste_dma40.c.

Definition at line 281 of file ste_dma40.c.

bool busy

Definition at line 270 of file ste_dma40.c.

Definition at line 272 of file ste_dma40.c.

Definition at line 274 of file ste_dma40.c.

bool configured

Definition at line 280 of file ste_dma40.c.

Definition at line 279 of file ste_dma40.c.

u32 dst_def_cfg

Definition at line 284 of file ste_dma40.c.

Definition at line 286 of file ste_dma40.c.

spinlock_t lock

Definition at line 267 of file ste_dma40.c.

Definition at line 285 of file ste_dma40.c.

int log_num

Definition at line 268 of file ste_dma40.c.

struct list_head pending_queue

Definition at line 275 of file ste_dma40.c.

int pending_tx

Definition at line 269 of file ste_dma40.c.

struct d40_phy_res* phy_chan

Definition at line 271 of file ste_dma40.c.

struct list_head prepare_queue

Definition at line 278 of file ste_dma40.c.

Definition at line 277 of file ste_dma40.c.

dma_addr_t runtime_addr

Definition at line 288 of file ste_dma40.c.

enum dma_transfer_direction runtime_direction

Definition at line 289 of file ste_dma40.c.

u32 src_def_cfg

Definition at line 283 of file ste_dma40.c.

Definition at line 273 of file ste_dma40.c.


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