Linux Kernel
3.7.1
|
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.
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.
struct stedma40_chan_cfg dma_cfg |
Definition at line 279 of file ste_dma40.c.
u32 dst_def_cfg |
Definition at line 284 of file ste_dma40.c.
struct d40_log_lli_full* lcpa |
Definition at line 286 of file ste_dma40.c.
spinlock_t lock |
Definition at line 267 of file ste_dma40.c.
struct d40_def_lcsp log_def |
Definition at line 285 of file ste_dma40.c.
int log_num |
Definition at line 268 of file ste_dma40.c.
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.
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.
struct tasklet_struct tasklet |
Definition at line 273 of file ste_dma40.c.