Linux Kernel
3.7.1
|
#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) | |
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_LICENSE | ( | "GPL" | ) |
int snd_cs8427_create | ( | struct snd_i2c_bus * | bus, |
unsigned char | addr, | ||
unsigned int | reset_timeout, | ||
struct snd_i2c_device ** | r_cs8427 | ||
) |
int snd_cs8427_iec958_active | ( | struct snd_i2c_device * | cs8427, |
int | active | ||
) |
int snd_cs8427_iec958_build | ( | struct snd_i2c_device * | cs8427, |
struct snd_pcm_substream * | play_substream, | ||
struct snd_pcm_substream * | cap_substream | ||
) |
int snd_cs8427_iec958_pcm | ( | struct snd_i2c_device * | cs8427, |
unsigned int | rate | ||
) |