Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
kirkwood-dma.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/mbus.h>
#include <sound/soc.h>
#include "kirkwood.h"

Go to the source code of this file.

Data Structures

struct  kirkwood_dma_priv
 

Macros

#define KIRKWOOD_RATES
 
#define KIRKWOOD_FORMATS
 

Functions

 module_platform_driver (kirkwood_pcm_driver)
 
 MODULE_AUTHOR ("Arnaud Patard <[email protected]>")
 
 MODULE_DESCRIPTION ("Marvell Kirkwood Audio DMA module")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:kirkwood-pcm-audio")
 

Variables

struct snd_pcm_ops kirkwood_dma_ops
 

Macro Definition Documentation

#define KIRKWOOD_FORMATS
Value:
SNDRV_PCM_FMTBIT_S24_LE | \
SNDRV_PCM_FMTBIT_S32_LE)

Definition at line 27 of file kirkwood-dma.c.

#define KIRKWOOD_RATES
Value:
SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_96000)

Definition at line 24 of file kirkwood-dma.c.

Function Documentation

MODULE_ALIAS ( "platform:kirkwood-pcm-audio )
MODULE_AUTHOR ( "Arnaud Patard <[email protected]>"  )
MODULE_DESCRIPTION ( "Marvell Kirkwood Audio DMA module )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( kirkwood_pcm_driver  )

Variable Documentation

struct snd_pcm_ops kirkwood_dma_ops
Initial value:
= {
.open = kirkwood_dma_open,
.close = kirkwood_dma_close,
.hw_params = kirkwood_dma_hw_params,
.hw_free = kirkwood_dma_hw_free,
.prepare = kirkwood_dma_prepare,
.pointer = kirkwood_dma_pointer,
}

Definition at line 288 of file kirkwood-dma.c.