Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | ak4113 |
Typedefs | |
typedef void( | ak4113_write_t )(void *private_data, unsigned char addr, unsigned char data) |
typedef unsigned char( | ak4113_read_t )(void *private_data, unsigned char addr) |
Functions | |
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) |
void | snd_ak4113_reg_write (struct ak4113 *ak4113, unsigned char reg, unsigned char mask, unsigned char val) |
void | snd_ak4113_reinit (struct ak4113 *ak4113) |
int | snd_ak4113_build (struct ak4113 *ak4113, struct snd_pcm_substream *capture_substream) |
int | snd_ak4113_external_rate (struct ak4113 *ak4113) |
int | snd_ak4113_check_rate_and_errors (struct ak4113 *ak4113, unsigned int flags) |
#define AK4113_DEM_32KHZ (AK4113_DEM0|AK4113_DEM1) |
#define AK4113_DEM_48KHZ (AK4113_DEM1) |
#define AK4113_DEM_OFF (AK4113_DEM0) |
#define AK4113_DIF_18R (AK4113_DIF0) |
#define AK4113_DIF_20R (AK4113_DIF1) |
#define AK4113_DIF_24I2S (AK4113_DIF2|AK4113_DIF0) |
#define AK4113_DIF_24L (AK4113_DIF2) |
#define AK4113_DIF_24R (AK4113_DIF1|AK4113_DIF0) |
#define AK4113_DIF_I24I2S (AK4113_DIF2|AK4113_DIF1|AK4113_DIF0) |
#define AK4113_DIF_I24L (AK4113_DIF2|AK4113_DIF1) |
#define AK4113_EFH_1024LRCLK (AK4113_EFH0) |
#define AK4113_EFH_2048LRCLK (AK4113_EFH1) |
#define AK4113_EFH_4096LRCLK (AK4113_EFH1|AK4113_EFH0) |
#define AK4113_FS_11025HZ (AK4113_FS2|AK4113_FS0) |
#define AK4113_FS_16000HZ (AK4113_FS2|AK4113_FS1|AK4113_FS0) |
#define AK4113_FS_176400HZ (AK4113_FS3|AK4113_FS2) |
#define AK4113_FS_192000HZ (AK4113_FS3|AK4113_FS2|AK4113_FS1) |
#define AK4113_FS_22050HZ (AK4113_FS2) |
#define AK4113_FS_24000HZ (AK4113_FS2|AK4113_FS1) |
#define AK4113_FS_32000HZ (AK4113_FS1|AK4113_FS0) |
#define AK4113_FS_48000HZ (AK4113_FS1) |
#define AK4113_FS_64000HZ (AK4113_FS3|AK4113_FS1|AK4113_FS0) |
#define AK4113_FS_8000HZ (AK4113_FS3|AK4113_FS0) |
#define AK4113_FS_88200HZ (AK4113_FS3) |
#define AK4113_FS_96000HZ (AK4113_FS3|AK4113_FS1) |
#define AK4113_REG_QSUB_SIZE |
#define AK4113_REG_RXCSB_SIZE ((AK4113_REG_RXCSB4-AK4113_REG_RXCSB0)+1) |
#define AK4113_WRITABLE_REGS (AK4113_REG_DATDTS + 1) |
#define AK4113_XTL_12_288M (AK4113_XTL0) |
#define AK4113_XTL_24_576M (AK4113_XTL1) |
typedef unsigned char( ak4113_read_t)(void *private_data, unsigned char addr) |
int snd_ak4113_build | ( | struct ak4113 * | ak4113, |
struct snd_pcm_substream * | capture_substream | ||
) |
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 | ||
) |