Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
pxa2xx-ac97-lib.c File Reference
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/io.h>
#include <sound/ac97_codec.h>
#include <sound/pxa2xx-lib.h>
#include <mach/irqs.h>
#include <mach/regs-ac97.h>
#include <mach/audio.h>

Go to the source code of this file.

Functions

void pxa27x_assert_ac97reset (int reset_gpio, int on)
 
unsigned short pxa2xx_ac97_read (struct snd_ac97 *ac97, unsigned short reg)
 
 EXPORT_SYMBOL_GPL (pxa2xx_ac97_read)
 
void pxa2xx_ac97_write (struct snd_ac97 *ac97, unsigned short reg, unsigned short val)
 
 EXPORT_SYMBOL_GPL (pxa2xx_ac97_write)
 
bool pxa2xx_ac97_try_warm_reset (struct snd_ac97 *ac97)
 
 EXPORT_SYMBOL_GPL (pxa2xx_ac97_try_warm_reset)
 
bool pxa2xx_ac97_try_cold_reset (struct snd_ac97 *ac97)
 
 EXPORT_SYMBOL_GPL (pxa2xx_ac97_try_cold_reset)
 
void pxa2xx_ac97_finish_reset (struct snd_ac97 *ac97)
 
 EXPORT_SYMBOL_GPL (pxa2xx_ac97_finish_reset)
 
int __devinit pxa2xx_ac97_hw_probe (struct platform_device *dev)
 
 EXPORT_SYMBOL_GPL (pxa2xx_ac97_hw_probe)
 
void pxa2xx_ac97_hw_remove (struct platform_device *dev)
 
 EXPORT_SYMBOL_GPL (pxa2xx_ac97_hw_remove)
 
 MODULE_AUTHOR ("Nicolas Pitre")
 
 MODULE_DESCRIPTION ("Intel/Marvell PXA sound library")
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

EXPORT_SYMBOL_GPL ( pxa2xx_ac97_read  )
EXPORT_SYMBOL_GPL ( pxa2xx_ac97_write  )
EXPORT_SYMBOL_GPL ( pxa2xx_ac97_try_warm_reset  )
EXPORT_SYMBOL_GPL ( pxa2xx_ac97_try_cold_reset  )
EXPORT_SYMBOL_GPL ( pxa2xx_ac97_finish_reset  )
EXPORT_SYMBOL_GPL ( pxa2xx_ac97_hw_probe  )
EXPORT_SYMBOL_GPL ( pxa2xx_ac97_hw_remove  )
MODULE_AUTHOR ( "Nicolas Pitre"  )
MODULE_DESCRIPTION ( "Intel/Marvell PXA sound library"  )
MODULE_LICENSE ( "GPL"  )
void pxa27x_assert_ac97reset ( int  reset_gpio,
int  on 
)

Definition at line 56 of file pxa27x.c.

void pxa2xx_ac97_finish_reset ( struct snd_ac97 ac97)

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

int __devinit 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.

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.