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

Go to the source code of this file.

Data Structures

struct  cs8427_stream
 
struct  cs8427
 

Macros

#define CS8427_ADDR   (0x20>>1) /* fixed address */
 

Functions

 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>")
 
 MODULE_DESCRIPTION ("IEC958 (S/PDIF) receiver & transmitter by Cirrus Logic")
 
 MODULE_LICENSE ("GPL")
 
int snd_cs8427_reg_write (struct snd_i2c_device *device, unsigned char reg, unsigned char val)
 
 EXPORT_SYMBOL (snd_cs8427_reg_write)
 
int snd_cs8427_create (struct snd_i2c_bus *bus, unsigned char addr, unsigned int reset_timeout, struct snd_i2c_device **r_cs8427)
 
 EXPORT_SYMBOL (snd_cs8427_create)
 
int snd_cs8427_iec958_build (struct snd_i2c_device *cs8427, struct snd_pcm_substream *play_substream, struct snd_pcm_substream *cap_substream)
 
 EXPORT_SYMBOL (snd_cs8427_iec958_build)
 
int snd_cs8427_iec958_active (struct snd_i2c_device *cs8427, int active)
 
 EXPORT_SYMBOL (snd_cs8427_iec958_active)
 
int snd_cs8427_iec958_pcm (struct snd_i2c_device *cs8427, unsigned int rate)
 
 EXPORT_SYMBOL (snd_cs8427_iec958_pcm)
 

Macro Definition Documentation

#define CS8427_ADDR   (0x20>>1) /* fixed address */

Definition at line 41 of file cs8427.c.

Function Documentation

EXPORT_SYMBOL ( snd_cs8427_reg_write  )
EXPORT_SYMBOL ( snd_cs8427_create  )
EXPORT_SYMBOL ( snd_cs8427_iec958_build  )
EXPORT_SYMBOL ( snd_cs8427_iec958_active  )
EXPORT_SYMBOL ( snd_cs8427_iec958_pcm  )
MODULE_AUTHOR ( "Jaroslav Kysela <[email protected]>"  )
MODULE_DESCRIPTION ( "IEC958 (S/PDIF) receiver & transmitter by Cirrus Logic"  )
MODULE_LICENSE ( "GPL"  )
int snd_cs8427_create ( struct snd_i2c_bus bus,
unsigned char  addr,
unsigned int  reset_timeout,
struct snd_i2c_device **  r_cs8427 
)

Definition at line 153 of file cs8427.c.

int snd_cs8427_iec958_active ( struct snd_i2c_device cs8427,
int  active 
)

Definition at line 545 of file cs8427.c.

int snd_cs8427_iec958_build ( struct snd_i2c_device cs8427,
struct snd_pcm_substream play_substream,
struct snd_pcm_substream cap_substream 
)

Definition at line 511 of file cs8427.c.

int snd_cs8427_iec958_pcm ( struct snd_i2c_device cs8427,
unsigned int  rate 
)

Definition at line 564 of file cs8427.c.

int snd_cs8427_reg_write ( struct snd_i2c_device device,
unsigned char  reg,
unsigned char  val 
)

Definition at line 60 of file cs8427.c.