Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ak4113.c File Reference
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/pcm.h>
#include <sound/ak4113.h>
#include <sound/asoundef.h>
#include <sound/info.h>

Go to the source code of this file.

Macros

#define AK4113_ADDR   0x00 /* fixed address */
 
#define snd_ak4113_in_bit_info   snd_ctl_boolean_mono_info
 

Functions

 MODULE_AUTHOR ("Pavel Hofman <[email protected]>")
 
 MODULE_DESCRIPTION ("AK4113 IEC958 (S/PDIF) receiver by Asahi Kasei")
 
 MODULE_LICENSE ("GPL")
 
int snd_ak4113_create (struct snd_card *card, ak4113_read_t *read, ak4113_write_t *write, const unsigned char *pgm, void *private_data, struct ak4113 **r_ak4113)
 
 EXPORT_SYMBOL_GPL (snd_ak4113_create)
 
void snd_ak4113_reg_write (struct ak4113 *chip, unsigned char reg, unsigned char mask, unsigned char val)
 
 EXPORT_SYMBOL_GPL (snd_ak4113_reg_write)
 
void snd_ak4113_reinit (struct ak4113 *chip)
 
 EXPORT_SYMBOL_GPL (snd_ak4113_reinit)
 
int snd_ak4113_build (struct ak4113 *ak4113, struct snd_pcm_substream *cap_substream)
 
 EXPORT_SYMBOL_GPL (snd_ak4113_build)
 
int snd_ak4113_external_rate (struct ak4113 *ak4113)
 
 EXPORT_SYMBOL_GPL (snd_ak4113_external_rate)
 
int snd_ak4113_check_rate_and_errors (struct ak4113 *ak4113, unsigned int flags)
 
 EXPORT_SYMBOL_GPL (snd_ak4113_check_rate_and_errors)
 

Macro Definition Documentation

#define AK4113_ADDR   0x00 /* fixed address */

Definition at line 38 of file ak4113.c.

#define snd_ak4113_in_bit_info   snd_ctl_boolean_mono_info

Definition at line 211 of file ak4113.c.

Function Documentation

EXPORT_SYMBOL_GPL ( snd_ak4113_create  )
EXPORT_SYMBOL_GPL ( snd_ak4113_reg_write  )
EXPORT_SYMBOL_GPL ( snd_ak4113_reinit  )
EXPORT_SYMBOL_GPL ( snd_ak4113_build  )
EXPORT_SYMBOL_GPL ( snd_ak4113_external_rate  )
EXPORT_SYMBOL_GPL ( snd_ak4113_check_rate_and_errors  )
MODULE_AUTHOR ( "Pavel Hofman <[email protected]>"  )
MODULE_DESCRIPTION ( "AK4113 IEC958 (S/PDIF) receiver by Asahi Kasei"  )
MODULE_LICENSE ( "GPL"  )
int snd_ak4113_build ( struct ak4113 ak4113,
struct snd_pcm_substream cap_substream 
)

Definition at line 500 of file ak4113.c.

int snd_ak4113_check_rate_and_errors ( struct ak4113 ak4113,
unsigned int  flags 
)

Definition at line 537 of file ak4113.c.

int snd_ak4113_create ( struct snd_card card,
ak4113_read_t read,
ak4113_write_t write,
const unsigned char pgm,
void private_data,
struct ak4113 **  r_ak4113 
)

Definition at line 72 of file ak4113.c.

int snd_ak4113_external_rate ( struct ak4113 ak4113)

Definition at line 528 of file ak4113.c.

void snd_ak4113_reg_write ( struct ak4113 chip,
unsigned char  reg,
unsigned char  mask,
unsigned char  val 
)

Definition at line 115 of file ak4113.c.

void snd_ak4113_reinit ( struct ak4113 chip)

Definition at line 140 of file ak4113.c.