Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
spear_pcm.c File Reference
#include <linux/module.h>
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <sound/core.h>
#include <sound/dmaengine_pcm.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/spear_dma.h>

Go to the source code of this file.

Functions

 module_platform_driver (spear_pcm_driver)
 
 MODULE_AUTHOR ("Rajeev Kumar <[email protected]>")
 
 MODULE_DESCRIPTION ("SPEAr PCM DMA module")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:spear-pcm-audio")
 

Variables

struct snd_pcm_hardware spear_pcm_hardware
 
struct snd_soc_platform_driver spear_soc_platform
 

Function Documentation

MODULE_ALIAS ( "platform:spear-pcm-audio )
MODULE_AUTHOR ( "Rajeev Kumar <[email protected]>"  )
MODULE_DESCRIPTION ( "SPEAr PCM DMA module )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( spear_pcm_driver  )

Variable Documentation

struct snd_pcm_hardware spear_pcm_hardware
Initial value:
= {
.buffer_bytes_max = 16 * 1024,
.period_bytes_min = 2 * 1024,
.period_bytes_max = 2 * 1024,
.periods_min = 1,
.periods_max = 8,
.fifo_size = 0,
}

Definition at line 28 of file spear_pcm.c.

struct snd_soc_platform_driver spear_soc_platform
Initial value:
= {
.ops = &spear_pcm_ops,
.pcm_new = spear_pcm_new,
.pcm_free = spear_pcm_free,
}

Definition at line 181 of file spear_pcm.c.