Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dsp_spos.c File Reference
#include <asm/io.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/mutex.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/info.h>
#include <sound/asoundef.h>
#include "cs46xx.h"
#include "cs46xx_lib.h"
#include "dsp_spos.h"

Go to the source code of this file.

Macros

#define SCB_BYTES   (0x10 * 4)
 

Functions

struct dsp_spos_instancecs46xx_dsp_spos_create (struct snd_cs46xx *chip)
 
void cs46xx_dsp_spos_destroy (struct snd_cs46xx *chip)
 
int cs46xx_dsp_load_module (struct snd_cs46xx *chip, struct dsp_module_desc *module)
 
struct dsp_symbol_entrycs46xx_dsp_lookup_symbol (struct snd_cs46xx *chip, char *symbol_name, int symbol_type)
 
struct dsp_scb_descriptorcs46xx_dsp_create_scb (struct snd_cs46xx *chip, char *name, u32 *scb_data, u32 dest)
 
int cs46xx_dsp_scb_and_task_init (struct snd_cs46xx *chip)
 
int cs46xx_dsp_enable_spdif_hw (struct snd_cs46xx *chip)
 
int cs46xx_dsp_enable_spdif_in (struct snd_cs46xx *chip)
 
int cs46xx_dsp_disable_spdif_in (struct snd_cs46xx *chip)
 
int cs46xx_dsp_enable_pcm_capture (struct snd_cs46xx *chip)
 
int cs46xx_dsp_disable_pcm_capture (struct snd_cs46xx *chip)
 
int cs46xx_dsp_enable_adc_capture (struct snd_cs46xx *chip)
 
int cs46xx_dsp_disable_adc_capture (struct snd_cs46xx *chip)
 
int cs46xx_poke_via_dsp (struct snd_cs46xx *chip, u32 address, u32 data)
 
int cs46xx_dsp_set_dac_volume (struct snd_cs46xx *chip, u16 left, u16 right)
 
int cs46xx_dsp_set_iec958_volume (struct snd_cs46xx *chip, u16 left, u16 right)
 

Macro Definition Documentation

#define SCB_BYTES   (0x10 * 4)

Definition at line 1015 of file dsp_spos.c.

Function Documentation

struct dsp_scb_descriptor* cs46xx_dsp_create_scb ( struct snd_cs46xx chip,
char name,
u32 scb_data,
u32  dest 
)
read

Definition at line 1018 of file dsp_spos.c.

int cs46xx_dsp_disable_adc_capture ( struct snd_cs46xx chip)

Definition at line 1841 of file dsp_spos.c.

int cs46xx_dsp_disable_pcm_capture ( struct snd_cs46xx chip)

Definition at line 1809 of file dsp_spos.c.

int cs46xx_dsp_disable_spdif_in ( struct snd_cs46xx chip)

Definition at line 1764 of file dsp_spos.c.

int cs46xx_dsp_enable_adc_capture ( struct snd_cs46xx chip)

Definition at line 1824 of file dsp_spos.c.

int cs46xx_dsp_enable_pcm_capture ( struct snd_cs46xx chip)

Definition at line 1792 of file dsp_spos.c.

int cs46xx_dsp_enable_spdif_hw ( struct snd_cs46xx chip)

Definition at line 1679 of file dsp_spos.c.

int cs46xx_dsp_enable_spdif_in ( struct snd_cs46xx chip)

Definition at line 1702 of file dsp_spos.c.

int cs46xx_dsp_load_module ( struct snd_cs46xx chip,
struct dsp_module_desc module 
)

Definition at line 349 of file dsp_spos.c.

struct dsp_symbol_entry* cs46xx_dsp_lookup_symbol ( struct snd_cs46xx chip,
char symbol_name,
int  symbol_type 
)
read

Definition at line 433 of file dsp_spos.c.

int cs46xx_dsp_scb_and_task_init ( struct snd_cs46xx chip)

Definition at line 1061 of file dsp_spos.c.

int cs46xx_dsp_set_dac_volume ( struct snd_cs46xx chip,
u16  left,
u16  right 
)

Definition at line 1893 of file dsp_spos.c.

int cs46xx_dsp_set_iec958_volume ( struct snd_cs46xx chip,
u16  left,
u16  right 
)

Definition at line 1922 of file dsp_spos.c.

struct dsp_spos_instance* cs46xx_dsp_spos_create ( struct snd_cs46xx chip)
read

Definition at line 224 of file dsp_spos.c.

void cs46xx_dsp_spos_destroy ( struct snd_cs46xx chip)

Definition at line 277 of file dsp_spos.c.

int cs46xx_poke_via_dsp ( struct snd_cs46xx chip,
u32  address,
u32  data 
)

Definition at line 1856 of file dsp_spos.c.