Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
pxa2xx-pcm-lib.c File Reference
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/dma-mapping.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/pxa2xx-lib.h>
#include <mach/dma.h>
#include "pxa2xx-pcm.h"

Go to the source code of this file.

Functions

int __pxa2xx_pcm_hw_params (struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params)
 
 EXPORT_SYMBOL (__pxa2xx_pcm_hw_params)
 
int __pxa2xx_pcm_hw_free (struct snd_pcm_substream *substream)
 
 EXPORT_SYMBOL (__pxa2xx_pcm_hw_free)
 
int pxa2xx_pcm_trigger (struct snd_pcm_substream *substream, int cmd)
 
 EXPORT_SYMBOL (pxa2xx_pcm_trigger)
 
snd_pcm_uframes_t pxa2xx_pcm_pointer (struct snd_pcm_substream *substream)
 
 EXPORT_SYMBOL (pxa2xx_pcm_pointer)
 
int __pxa2xx_pcm_prepare (struct snd_pcm_substream *substream)
 
 EXPORT_SYMBOL (__pxa2xx_pcm_prepare)
 
void pxa2xx_pcm_dma_irq (int dma_ch, void *dev_id)
 
 EXPORT_SYMBOL (pxa2xx_pcm_dma_irq)
 
int __pxa2xx_pcm_open (struct snd_pcm_substream *substream)
 
 EXPORT_SYMBOL (__pxa2xx_pcm_open)
 
int __pxa2xx_pcm_close (struct snd_pcm_substream *substream)
 
 EXPORT_SYMBOL (__pxa2xx_pcm_close)
 
int pxa2xx_pcm_mmap (struct snd_pcm_substream *substream, struct vm_area_struct *vma)
 
 EXPORT_SYMBOL (pxa2xx_pcm_mmap)
 
int pxa2xx_pcm_preallocate_dma_buffer (struct snd_pcm *pcm, int stream)
 
 EXPORT_SYMBOL (pxa2xx_pcm_preallocate_dma_buffer)
 
void pxa2xx_pcm_free_dma_buffers (struct snd_pcm *pcm)
 
 EXPORT_SYMBOL (pxa2xx_pcm_free_dma_buffers)
 
 MODULE_AUTHOR ("Nicolas Pitre")
 
 MODULE_DESCRIPTION ("Intel PXA2xx sound library")
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

int __pxa2xx_pcm_close ( struct snd_pcm_substream substream)

Definition at line 223 of file pxa2xx-pcm-lib.c.

int __pxa2xx_pcm_hw_free ( struct snd_pcm_substream substream)

Definition at line 75 of file pxa2xx-pcm-lib.c.

int __pxa2xx_pcm_hw_params ( struct snd_pcm_substream substream,
struct snd_pcm_hw_params params 
)

Definition at line 37 of file pxa2xx-pcm-lib.c.

int __pxa2xx_pcm_open ( struct snd_pcm_substream substream)

Definition at line 174 of file pxa2xx-pcm-lib.c.

int __pxa2xx_pcm_prepare ( struct snd_pcm_substream substream)

Definition at line 136 of file pxa2xx-pcm-lib.c.

EXPORT_SYMBOL ( __pxa2xx_pcm_hw_params  )
EXPORT_SYMBOL ( __pxa2xx_pcm_hw_free  )
EXPORT_SYMBOL ( pxa2xx_pcm_trigger  )
EXPORT_SYMBOL ( pxa2xx_pcm_pointer  )
EXPORT_SYMBOL ( __pxa2xx_pcm_prepare  )
EXPORT_SYMBOL ( pxa2xx_pcm_dma_irq  )
EXPORT_SYMBOL ( __pxa2xx_pcm_open  )
EXPORT_SYMBOL ( __pxa2xx_pcm_close  )
EXPORT_SYMBOL ( pxa2xx_pcm_mmap  )
EXPORT_SYMBOL ( pxa2xx_pcm_preallocate_dma_buffer  )
EXPORT_SYMBOL ( pxa2xx_pcm_free_dma_buffers  )
MODULE_AUTHOR ( "Nicolas Pitre"  )
MODULE_DESCRIPTION ( "Intel PXA2xx sound library"  )
MODULE_LICENSE ( "GPL"  )
void pxa2xx_pcm_dma_irq ( int  dma_ch,
void dev_id 
)

Definition at line 155 of file pxa2xx-pcm-lib.c.

void pxa2xx_pcm_free_dma_buffers ( struct snd_pcm pcm)

Definition at line 263 of file pxa2xx-pcm-lib.c.

int pxa2xx_pcm_mmap ( struct snd_pcm_substream substream,
struct vm_area_struct vma 
)

Definition at line 235 of file pxa2xx-pcm-lib.c.

snd_pcm_uframes_t pxa2xx_pcm_pointer ( struct snd_pcm_substream substream)

Definition at line 121 of file pxa2xx-pcm-lib.c.

int pxa2xx_pcm_preallocate_dma_buffer ( struct snd_pcm pcm,
int  stream 
)

Definition at line 246 of file pxa2xx-pcm-lib.c.

int pxa2xx_pcm_trigger ( struct snd_pcm_substream substream,
int  cmd 
)

Definition at line 87 of file pxa2xx-pcm-lib.c.