Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
pxa2xx-lib.h File Reference
#include <linux/platform_device.h>
#include <sound/ac97_codec.h>

Go to the source code of this file.

Data Structures

struct  pxa2xx_pcm_dma_params
 

Functions

int __pxa2xx_pcm_hw_params (struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params)
 
int __pxa2xx_pcm_hw_free (struct snd_pcm_substream *substream)
 
int pxa2xx_pcm_trigger (struct snd_pcm_substream *substream, int cmd)
 
snd_pcm_uframes_t pxa2xx_pcm_pointer (struct snd_pcm_substream *substream)
 
int __pxa2xx_pcm_prepare (struct snd_pcm_substream *substream)
 
void pxa2xx_pcm_dma_irq (int dma_ch, void *dev_id)
 
int __pxa2xx_pcm_open (struct snd_pcm_substream *substream)
 
int __pxa2xx_pcm_close (struct snd_pcm_substream *substream)
 
int pxa2xx_pcm_mmap (struct snd_pcm_substream *substream, struct vm_area_struct *vma)
 
int pxa2xx_pcm_preallocate_dma_buffer (struct snd_pcm *pcm, int stream)
 
void pxa2xx_pcm_free_dma_buffers (struct snd_pcm *pcm)
 
unsigned short pxa2xx_ac97_read (struct snd_ac97 *ac97, unsigned short reg)
 
void pxa2xx_ac97_write (struct snd_ac97 *ac97, unsigned short reg, unsigned short val)
 
bool pxa2xx_ac97_try_warm_reset (struct snd_ac97 *ac97)
 
bool pxa2xx_ac97_try_cold_reset (struct snd_ac97 *ac97)
 
void pxa2xx_ac97_finish_reset (struct snd_ac97 *ac97)
 
int pxa2xx_ac97_hw_suspend (void)
 
int pxa2xx_ac97_hw_resume (void)
 
int pxa2xx_ac97_hw_probe (struct platform_device *dev)
 
void pxa2xx_ac97_hw_remove (struct platform_device *dev)
 

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.

void pxa2xx_ac97_finish_reset ( struct snd_ac97 ac97)

Definition at line 268 of file pxa2xx-ac97-lib.c.

int pxa2xx_ac97_hw_probe ( struct platform_device dev)

Definition at line 317 of file pxa2xx-ac97-lib.c.

void pxa2xx_ac97_hw_remove ( struct platform_device dev)

Definition at line 385 of file pxa2xx-ac97-lib.c.

int pxa2xx_ac97_hw_resume ( void  )
int pxa2xx_ac97_hw_suspend ( void  )
unsigned short pxa2xx_ac97_read ( struct snd_ac97 ac97,
unsigned short  reg 
)

Definition at line 48 of file pxa2xx-ac97-lib.c.

bool pxa2xx_ac97_try_cold_reset ( struct snd_ac97 ac97)

Definition at line 234 of file pxa2xx-ac97-lib.c.

bool pxa2xx_ac97_try_warm_reset ( struct snd_ac97 ac97)

Definition at line 202 of file pxa2xx-ac97-lib.c.

void pxa2xx_ac97_write ( struct snd_ac97 ac97,
unsigned short  reg,
unsigned short  val 
)

Definition at line 88 of file pxa2xx-ac97-lib.c.

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.