Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
wss_lib.c File Reference
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/wss.h>
#include <sound/pcm_params.h>
#include <sound/tlv.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/irq.h>

Go to the source code of this file.

Functions

 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>")
 
 MODULE_DESCRIPTION ("Routines for control of CS4231(A)/CS4232/InterWave & compatible chips")
 
 MODULE_LICENSE ("GPL")
 
void snd_wss_out (struct snd_wss *chip, unsigned char reg, unsigned char value)
 
 EXPORT_SYMBOL (snd_wss_out)
 
unsigned char snd_wss_in (struct snd_wss *chip, unsigned char reg)
 
 EXPORT_SYMBOL (snd_wss_in)
 
void snd_cs4236_ext_out (struct snd_wss *chip, unsigned char reg, unsigned char val)
 
 EXPORT_SYMBOL (snd_cs4236_ext_out)
 
unsigned char snd_cs4236_ext_in (struct snd_wss *chip, unsigned char reg)
 
 EXPORT_SYMBOL (snd_cs4236_ext_in)
 
void snd_wss_mce_up (struct snd_wss *chip)
 
 EXPORT_SYMBOL (snd_wss_mce_up)
 
void snd_wss_mce_down (struct snd_wss *chip)
 
 EXPORT_SYMBOL (snd_wss_mce_down)
 
void snd_wss_overrange (struct snd_wss *chip)
 
 EXPORT_SYMBOL (snd_wss_overrange)
 
irqreturn_t snd_wss_interrupt (int irq, void *dev_id)
 
 EXPORT_SYMBOL (snd_wss_interrupt)
 
const charsnd_wss_chip_id (struct snd_wss *chip)
 
 EXPORT_SYMBOL (snd_wss_chip_id)
 
int snd_wss_create (struct snd_card *card, unsigned long port, unsigned long cport, int irq, int dma1, int dma2, unsigned short hardware, unsigned short hwshare, struct snd_wss **rchip)
 
 EXPORT_SYMBOL (snd_wss_create)
 
int snd_wss_pcm (struct snd_wss *chip, int device, struct snd_pcm **rpcm)
 
 EXPORT_SYMBOL (snd_wss_pcm)
 
int snd_wss_timer (struct snd_wss *chip, int device, struct snd_timer **rtimer)
 
 EXPORT_SYMBOL (snd_wss_timer)
 
int snd_wss_info_single (struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
 
 EXPORT_SYMBOL (snd_wss_info_single)
 
int snd_wss_get_single (struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
 
 EXPORT_SYMBOL (snd_wss_get_single)
 
int snd_wss_put_single (struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
 
 EXPORT_SYMBOL (snd_wss_put_single)
 
int snd_wss_info_double (struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
 
 EXPORT_SYMBOL (snd_wss_info_double)
 
int snd_wss_get_double (struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
 
 EXPORT_SYMBOL (snd_wss_get_double)
 
int snd_wss_put_double (struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
 
 EXPORT_SYMBOL (snd_wss_put_double)
 
int snd_wss_mixer (struct snd_wss *chip)
 
 EXPORT_SYMBOL (snd_wss_mixer)
 
struct snd_pcm_opssnd_wss_get_pcm_ops (int direction)
 
 EXPORT_SYMBOL (snd_wss_get_pcm_ops)
 
 module_init (alsa_wss_init)
 
 module_exit (alsa_wss_exit)
 

Function Documentation

EXPORT_SYMBOL ( snd_wss_out  )
EXPORT_SYMBOL ( snd_wss_in  )
EXPORT_SYMBOL ( snd_cs4236_ext_out  )
EXPORT_SYMBOL ( snd_cs4236_ext_in  )
EXPORT_SYMBOL ( snd_wss_mce_up  )
EXPORT_SYMBOL ( snd_wss_mce_down  )
EXPORT_SYMBOL ( snd_wss_overrange  )
EXPORT_SYMBOL ( snd_wss_interrupt  )
EXPORT_SYMBOL ( snd_wss_chip_id  )
EXPORT_SYMBOL ( snd_wss_create  )
EXPORT_SYMBOL ( snd_wss_pcm  )
EXPORT_SYMBOL ( snd_wss_timer  )
EXPORT_SYMBOL ( snd_wss_info_single  )
EXPORT_SYMBOL ( snd_wss_get_single  )
EXPORT_SYMBOL ( snd_wss_put_single  )
EXPORT_SYMBOL ( snd_wss_info_double  )
EXPORT_SYMBOL ( snd_wss_get_double  )
EXPORT_SYMBOL ( snd_wss_put_double  )
EXPORT_SYMBOL ( snd_wss_mixer  )
EXPORT_SYMBOL ( snd_wss_get_pcm_ops  )
MODULE_AUTHOR ( "Jaroslav Kysela <[email protected]>"  )
MODULE_DESCRIPTION ( "Routines for control of CS4231(A)/CS4232/InterWave & compatible chips )
module_exit ( alsa_wss_exit  )
module_init ( alsa_wss_init  )
MODULE_LICENSE ( "GPL"  )
unsigned char snd_cs4236_ext_in ( struct snd_wss chip,
unsigned char  reg 
)

Definition at line 244 of file wss_lib.c.

void snd_cs4236_ext_out ( struct snd_wss chip,
unsigned char  reg,
unsigned char  val 
)

Definition at line 230 of file wss_lib.c.

const char* snd_wss_chip_id ( struct snd_wss chip)

Definition at line 1719 of file wss_lib.c.

int snd_wss_create ( struct snd_card card,
unsigned long  port,
unsigned long  cport,
int  irq,
int  dma1,
int  dma2,
unsigned short  hardware,
unsigned short  hwshare,
struct snd_wss **  rchip 
)

Definition at line 1800 of file wss_lib.c.

int snd_wss_get_double ( struct snd_kcontrol kcontrol,
struct snd_ctl_elem_value ucontrol 
)

Definition at line 2137 of file wss_lib.c.

struct snd_pcm_ops* snd_wss_get_pcm_ops ( int  direction)
read

Definition at line 2286 of file wss_lib.c.

int snd_wss_get_single ( struct snd_kcontrol kcontrol,
struct snd_ctl_elem_value ucontrol 
)

Definition at line 2080 of file wss_lib.c.

unsigned char snd_wss_in ( struct snd_wss chip,
unsigned char  reg 
)

Definition at line 216 of file wss_lib.c.

int snd_wss_info_double ( struct snd_kcontrol kcontrol,
struct snd_ctl_elem_info uinfo 
)

Definition at line 2124 of file wss_lib.c.

int snd_wss_info_single ( struct snd_kcontrol kcontrol,
struct snd_ctl_elem_info uinfo 
)

Definition at line 2067 of file wss_lib.c.

irqreturn_t snd_wss_interrupt ( int  irq,
void dev_id 
)

Definition at line 1103 of file wss_lib.c.

void snd_wss_mce_down ( struct snd_wss chip)

Definition at line 399 of file wss_lib.c.

void snd_wss_mce_up ( struct snd_wss chip)

Definition at line 374 of file wss_lib.c.

int snd_wss_mixer ( struct snd_wss chip)

Definition at line 2254 of file wss_lib.c.

void snd_wss_out ( struct snd_wss chip,
unsigned char  reg,
unsigned char  value 
)

Definition at line 199 of file wss_lib.c.

void snd_wss_overrange ( struct snd_wss chip)

Definition at line 1090 of file wss_lib.c.

int snd_wss_pcm ( struct snd_wss chip,
int  device,
struct snd_pcm **  rpcm 
)

Definition at line 1926 of file wss_lib.c.

int snd_wss_put_double ( struct snd_kcontrol kcontrol,
struct snd_ctl_elem_value ucontrol 
)

Definition at line 2161 of file wss_lib.c.

int snd_wss_put_single ( struct snd_kcontrol kcontrol,
struct snd_ctl_elem_value ucontrol 
)

Definition at line 2099 of file wss_lib.c.

int snd_wss_timer ( struct snd_wss chip,
int  device,
struct snd_timer **  rtimer 
)

Definition at line 1964 of file wss_lib.c.