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

Data Fields

struct sdma_enginesdma
 
unsigned int channel
 
enum dma_transfer_direction direction
 
enum sdma_peripheral_type peripheral_type
 
unsigned int event_id0
 
unsigned int event_id1
 
enum dma_slave_buswidth word_size
 
unsigned int buf_tail
 
struct completion done
 
unsigned int num_bd
 
struct sdma_buffer_descriptorbd
 
dma_addr_t bd_phys
 
unsigned int pc_from_device
 
unsigned int pc_to_device
 
unsigned long flags
 
dma_addr_t per_address
 
unsigned long event_mask [2]
 
unsigned long watermark_level
 
u32 shp_addr
 
u32 per_addr
 
struct dma_chan chan
 
spinlock_t lock
 
struct dma_async_tx_descriptor desc
 
enum dma_status status
 
unsigned int chn_count
 
unsigned int chn_real_count
 
struct tasklet_struct tasklet
 

Detailed Description

struct sdma_channel - housekeeping for a SDMA channel

pointer to the SDMA engine for this channel the channel number, matches dmaengine chan_id + 1 transfer type. Needed for setting SDMA script Peripheral type. Needed for setting SDMA script aka dma request line for channels that use 2 events peripheral access size ID of the buffer that was processed channel completion max NUM_BD. number of descriptors currently handling

Definition at line 249 of file imx-sdma.c.

Field Documentation

Definition at line 260 of file imx-sdma.c.

dma_addr_t bd_phys

Definition at line 261 of file imx-sdma.c.

unsigned int buf_tail

Definition at line 257 of file imx-sdma.c.

Definition at line 268 of file imx-sdma.c.

unsigned int channel

Definition at line 251 of file imx-sdma.c.

unsigned int chn_count

Definition at line 272 of file imx-sdma.c.

unsigned int chn_real_count

Definition at line 273 of file imx-sdma.c.

Definition at line 270 of file imx-sdma.c.

Definition at line 252 of file imx-sdma.c.

Definition at line 258 of file imx-sdma.c.

unsigned int event_id0

Definition at line 254 of file imx-sdma.c.

unsigned int event_id1

Definition at line 255 of file imx-sdma.c.

unsigned long event_mask[2]

Definition at line 265 of file imx-sdma.c.

unsigned long flags

Definition at line 263 of file imx-sdma.c.

spinlock_t lock

Definition at line 269 of file imx-sdma.c.

unsigned int num_bd

Definition at line 259 of file imx-sdma.c.

unsigned int pc_from_device

Definition at line 262 of file imx-sdma.c.

unsigned int pc_to_device

Definition at line 262 of file imx-sdma.c.

u32 per_addr

Definition at line 267 of file imx-sdma.c.

dma_addr_t per_address

Definition at line 264 of file imx-sdma.c.

enum sdma_peripheral_type peripheral_type

Definition at line 253 of file imx-sdma.c.

Definition at line 250 of file imx-sdma.c.

u32 shp_addr

Definition at line 267 of file imx-sdma.c.

Definition at line 271 of file imx-sdma.c.

Definition at line 274 of file imx-sdma.c.

unsigned long watermark_level

Definition at line 266 of file imx-sdma.c.

enum dma_slave_buswidth word_size

Definition at line 256 of file imx-sdma.c.


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