Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
fsl_dma.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <linux/of_platform.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <asm/io.h>
#include "fsl_dma.h"
#include "fsl_ssi.h"

Go to the source code of this file.

Data Structures

struct  dma_object
 
struct  fsl_dma_private
 

Macros

#define FSLDMA_PCM_FORMATS
 
#define FSLDMA_PCM_RATES
 
#define NUM_DMA_LINKS   2
 

Functions

 MODULE_DEVICE_TABLE (of, fsl_soc_dma_ids)
 
 module_platform_driver (fsl_soc_dma_driver)
 
 MODULE_AUTHOR ("Timur Tabi <[email protected]>")
 
 MODULE_DESCRIPTION ("Freescale Elo DMA ASoC PCM Driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define FSLDMA_PCM_FORMATS
Value:
SNDRV_PCM_FMTBIT_U8 | \
SNDRV_PCM_FMTBIT_S16_LE | \
SNDRV_PCM_FMTBIT_S16_BE | \
SNDRV_PCM_FMTBIT_U16_LE | \
SNDRV_PCM_FMTBIT_U16_BE | \
SNDRV_PCM_FMTBIT_S24_LE | \
SNDRV_PCM_FMTBIT_S24_BE | \
SNDRV_PCM_FMTBIT_U24_LE | \
SNDRV_PCM_FMTBIT_U24_BE | \
SNDRV_PCM_FMTBIT_S32_LE | \
SNDRV_PCM_FMTBIT_S32_BE | \
SNDRV_PCM_FMTBIT_U32_LE | \
SNDRV_PCM_FMTBIT_U32_BE)

Definition at line 42 of file fsl_dma.c.

#define FSLDMA_PCM_RATES
Value:
SNDRV_PCM_RATE_CONTINUOUS)

Definition at line 57 of file fsl_dma.c.

#define NUM_DMA_LINKS   2

Definition at line 75 of file fsl_dma.c.

Function Documentation

MODULE_AUTHOR ( "Timur Tabi <[email protected]>"  )
MODULE_DESCRIPTION ( "Freescale Elo DMA ASoC PCM Driver"  )
MODULE_DEVICE_TABLE ( of  ,
fsl_soc_dma_ids   
)
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( fsl_soc_dma_driver  )