Logo Search packages:      
Sourcecode: alsa-driver version File versions  Download package

fsl_dma_private Struct Reference

List of all members.


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 : which DMA controller (0, 1, ...) : which DMA channel on the controller (0, 1, 2, ...) : 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 104 of file fsl_dma.c.


Public Attributes

unsigned int channel_id
unsigned int controller_id
unsigned int current_link
dma_addr_t dma_buf_end
dma_addr_t dma_buf_next
dma_addr_t dma_buf_phys
struct ccsr_dma_channel __iomem * dma_channel
unsigned int irq
dma_addr_t ld_buf_phys
struct fsl_dma_link_descriptor link [NUM_DMA_LINKS]
unsigned int num_periods
size_t period_size
dma_addr_t ssi_sxx_phys
struct snd_pcm_substream * substream

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

Generated by  Doxygen 1.6.0   Back to index