Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dbdma2.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/dma-mapping.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-au1x00/au1xxx_dbdma.h>
#include <asm/mach-au1x00/au1xxx_psc.h>
#include "psc.h"

Go to the source code of this file.

Data Structures

struct  au1xpsc_audio_dmadata
 

Macros

#define MSG(x...)   printk(KERN_INFO "au1xpsc_pcm: " x)
 
#define DBG(x...)   do {} while (0)
 
#define AU1XPSC_PERIOD_MIN_BYTES   1024
 
#define AU1XPSC_BUFFER_MIN_BYTES   65536
 
#define AU1XPSC_PCM_FMTS
 

Functions

 module_platform_driver (au1xpsc_pcm_driver)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Au12x0/Au1550 PSC Audio DMA driver")
 
 MODULE_AUTHOR ("Manuel Lauss")
 

Macro Definition Documentation

#define AU1XPSC_BUFFER_MIN_BYTES   65536

Definition at line 66 of file dbdma2.c.

#define AU1XPSC_PCM_FMTS
Value:
SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S16_BE | \
SNDRV_PCM_FMTBIT_U16_LE | SNDRV_PCM_FMTBIT_U16_BE | \
SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S32_BE | \
SNDRV_PCM_FMTBIT_U32_LE | SNDRV_PCM_FMTBIT_U32_BE | \
0)

Definition at line 68 of file dbdma2.c.

#define AU1XPSC_PERIOD_MIN_BYTES   1024

Definition at line 65 of file dbdma2.c.

#define DBG (   x...)    do {} while (0)

Definition at line 39 of file dbdma2.c.

#define MSG (   x...)    printk(KERN_INFO "au1xpsc_pcm: " x)

Definition at line 35 of file dbdma2.c.

Function Documentation

MODULE_AUTHOR ( "Manuel Lauss"  )
MODULE_DESCRIPTION ( "Au12x0/Au1550 PSC Audio DMA driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( au1xpsc_pcm_driver  )