Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ak4114.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/ak4114.h>
#include <sound/asoundef.h>
#include <sound/info.h>

Go to the source code of this file.

Macros

#define AK4114_ADDR   0x00 /* fixed address */
 
#define snd_ak4114_in_bit_info   snd_ctl_boolean_mono_info
 

Functions

 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>")
 
 MODULE_DESCRIPTION ("AK4114 IEC958 (S/PDIF) receiver by Asahi Kasei")
 
 MODULE_LICENSE ("GPL")
 
int snd_ak4114_create (struct snd_card *card, ak4114_read_t *read, ak4114_write_t *write, const unsigned char pgm[7], const unsigned char txcsb[5], void *private_data, struct ak4114 **r_ak4114)
 
void snd_ak4114_reg_write (struct ak4114 *chip, unsigned char reg, unsigned char mask, unsigned char val)
 
void snd_ak4114_reinit (struct ak4114 *chip)
 
int snd_ak4114_build (struct ak4114 *ak4114, struct snd_pcm_substream *ply_substream, struct snd_pcm_substream *cap_substream)
 
int snd_ak4114_external_rate (struct ak4114 *ak4114)
 
int snd_ak4114_check_rate_and_errors (struct ak4114 *ak4114, unsigned int flags)
 
 EXPORT_SYMBOL (snd_ak4114_create)
 
 EXPORT_SYMBOL (snd_ak4114_reg_write)
 
 EXPORT_SYMBOL (snd_ak4114_reinit)
 
 EXPORT_SYMBOL (snd_ak4114_build)
 
 EXPORT_SYMBOL (snd_ak4114_external_rate)
 
 EXPORT_SYMBOL (snd_ak4114_check_rate_and_errors)
 

Macro Definition Documentation

#define AK4114_ADDR   0x00 /* fixed address */

Definition at line 37 of file ak4114.c.

#define snd_ak4114_in_bit_info   snd_ctl_boolean_mono_info

Definition at line 203 of file ak4114.c.

Function Documentation

EXPORT_SYMBOL ( snd_ak4114_create  )
EXPORT_SYMBOL ( snd_ak4114_reg_write  )
EXPORT_SYMBOL ( snd_ak4114_reinit  )
EXPORT_SYMBOL ( snd_ak4114_build  )
EXPORT_SYMBOL ( snd_ak4114_external_rate  )
EXPORT_SYMBOL ( snd_ak4114_check_rate_and_errors  )
MODULE_AUTHOR ( "Jaroslav Kysela <[email protected]>"  )
MODULE_DESCRIPTION ( "AK4114 IEC958 (S/PDIF) receiver by Asahi Kasei"  )
MODULE_LICENSE ( "GPL"  )
int snd_ak4114_build ( struct ak4114 ak4114,
struct snd_pcm_substream ply_substream,
struct snd_pcm_substream cap_substream 
)

Definition at line 470 of file ak4114.c.

int snd_ak4114_check_rate_and_errors ( struct ak4114 ak4114,
unsigned int  flags 
)

Definition at line 564 of file ak4114.c.

int snd_ak4114_create ( struct snd_card card,
ak4114_read_t read,
ak4114_write_t write,
const unsigned char  pgm[7],
const unsigned char  txcsb[5],
void private_data,
struct ak4114 **  r_ak4114 
)

Definition at line 82 of file ak4114.c.

int snd_ak4114_external_rate ( struct ak4114 ak4114)

Definition at line 556 of file ak4114.c.

void snd_ak4114_reg_write ( struct ak4114 chip,
unsigned char  reg,
unsigned char  mask,
unsigned char  val 
)

Definition at line 126 of file ak4114.c.

void snd_ak4114_reinit ( struct ak4114 chip)

Definition at line 153 of file ak4114.c.