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

Data Fields

struct fsl_dma_link_descriptor link [NUM_DMA_LINKS]
 
struct ccsr_dma_channel __iomemdma_channel
 
unsigned int irq
 
struct snd_pcm_substreamsubstream
 
dma_addr_t ssi_sxx_phys
 
unsigned int ssi_fifo_depth
 
dma_addr_t ld_buf_phys
 
unsigned int current_link
 
dma_addr_t dma_buf_phys
 
dma_addr_t dma_buf_next
 
dma_addr_t dma_buf_end
 
size_t period_size
 
unsigned int num_periods
 

Detailed Description

fsl_dma_private: p-substream DMA data

Each substream has a 1-to-1 association with a DMA channel.

The link[] array is first because it needs to be aligned on a 32-byte boundary, so putting it first will ensure alignment without padding the structure.

]: array of link descriptors : pointer to the DMA channel's registers : IRQ for this DMA channel : pointer to the substream object, needed by the ISR : bus address of the STX or SRX register to use : physical address of the LD buffer : index into link[] of the link currently being processed : physical address of the DMA buffer : physical address of the next period to process : physical address of the byte after the end of the DMA period_size: the size of a single period : the number of periods in the DMA buffer

Definition at line 98 of file fsl_dma.c.

Field Documentation

unsigned int current_link

Definition at line 106 of file fsl_dma.c.

dma_addr_t dma_buf_end

Definition at line 109 of file fsl_dma.c.

dma_addr_t dma_buf_next

Definition at line 108 of file fsl_dma.c.

dma_addr_t dma_buf_phys

Definition at line 107 of file fsl_dma.c.

struct ccsr_dma_channel __iomem* dma_channel

Definition at line 100 of file fsl_dma.c.

unsigned int irq

Definition at line 101 of file fsl_dma.c.

dma_addr_t ld_buf_phys

Definition at line 105 of file fsl_dma.c.

Definition at line 99 of file fsl_dma.c.

unsigned int num_periods

Definition at line 111 of file fsl_dma.c.

size_t period_size

Definition at line 110 of file fsl_dma.c.

unsigned int ssi_fifo_depth

Definition at line 104 of file fsl_dma.c.

dma_addr_t ssi_sxx_phys

Definition at line 103 of file fsl_dma.c.

Definition at line 102 of file fsl_dma.c.


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