Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
ad1843.c File Reference
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/ad1843.h>

Go to the source code of this file.

Data Structures

struct  ad1843_bitfield
 
struct  ad1843_gain
 

Functions

int ad1843_get_gain_max (struct snd_ad1843 *ad1843, int id)
 
int ad1843_get_gain (struct snd_ad1843 *ad1843, int id)
 
int ad1843_set_gain (struct snd_ad1843 *ad1843, int id, int newval)
 
int ad1843_get_recsrc (struct snd_ad1843 *ad1843)
 
int ad1843_set_recsrc (struct snd_ad1843 *ad1843, int newsrc)
 
void ad1843_setup_dac (struct snd_ad1843 *ad1843, unsigned int id, unsigned int framerate, snd_pcm_format_t fmt, unsigned int channels)
 
void ad1843_shutdown_dac (struct snd_ad1843 *ad1843, unsigned int id)
 
void ad1843_setup_adc (struct snd_ad1843 *ad1843, unsigned int framerate, snd_pcm_format_t fmt, unsigned int channels)
 
void ad1843_shutdown_adc (struct snd_ad1843 *ad1843)
 
int ad1843_init (struct snd_ad1843 *ad1843)
 

Function Documentation

int ad1843_get_gain ( struct snd_ad1843 ad1843,
int  id 
)

Definition at line 310 of file ad1843.c.

int ad1843_get_gain_max ( struct snd_ad1843 ad1843,
int  id 
)

Definition at line 294 of file ad1843.c.

int ad1843_get_recsrc ( struct snd_ad1843 ad1843)

Definition at line 359 of file ad1843.c.

int ad1843_init ( struct snd_ad1843 ad1843)

Definition at line 482 of file ad1843.c.

int ad1843_set_gain ( struct snd_ad1843 ad1843,
int  id,
int  newval 
)

Definition at line 337 of file ad1843.c.

int ad1843_set_recsrc ( struct snd_ad1843 ad1843,
int  newsrc 
)

Definition at line 377 of file ad1843.c.

void ad1843_setup_adc ( struct snd_ad1843 ad1843,
unsigned int  framerate,
snd_pcm_format_t  fmt,
unsigned int  channels 
)

Definition at line 448 of file ad1843.c.

void ad1843_setup_dac ( struct snd_ad1843 ad1843,
unsigned int  id,
unsigned int  framerate,
snd_pcm_format_t  fmt,
unsigned int  channels 
)

Definition at line 388 of file ad1843.c.

void ad1843_shutdown_adc ( struct snd_ad1843 ad1843)

Definition at line 469 of file ad1843.c.

void ad1843_shutdown_dac ( struct snd_ad1843 ad1843,
unsigned int  id 
)

Definition at line 440 of file ad1843.c.