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

Go to the source code of this file.

Data Structures

struct  cs_card_type
 

Macros

#define GOF_PER_SEC   200
 
#define MAX_PLAYBACK_CHANNELS   1
 
#define snd_cs46xx_proc_init(card, chip)
 
#define snd_cs46xx_proc_done(chip)
 

Functions

int snd_cs46xx_download (struct snd_cs46xx *chip, u32 *src, unsigned long offset, unsigned long len)
 
int snd_cs46xx_download_image (struct snd_cs46xx *chip)
 
int __devinit snd_cs46xx_pcm (struct snd_cs46xx *chip, int device, struct snd_pcm **rpcm)
 
int __devinit snd_cs46xx_mixer (struct snd_cs46xx *chip, int spdif_device)
 
int __devinit snd_cs46xx_midi (struct snd_cs46xx *chip, int device, struct snd_rawmidi **rrawmidi)
 
int __devinit snd_cs46xx_gameport (struct snd_cs46xx *chip)
 
int __devinit snd_cs46xx_start_dsp (struct snd_cs46xx *chip)
 
int __devinit snd_cs46xx_create (struct snd_card *card, struct pci_dev *pci, int external_amp, int thinkpad, struct snd_cs46xx **rchip)
 

Macro Definition Documentation

#define GOF_PER_SEC   200

Definition at line 534 of file cs46xx_lib.c.

#define MAX_PLAYBACK_CHANNELS   1

Definition at line 1590 of file cs46xx_lib.c.

#define snd_cs46xx_proc_done (   chip)

Definition at line 2707 of file cs46xx_lib.c.

#define snd_cs46xx_proc_init (   card,
  chip 
)

Definition at line 2706 of file cs46xx_lib.c.

Function Documentation

int __devinit snd_cs46xx_create ( struct snd_card card,
struct pci_dev pci,
int  external_amp,
int  thinkpad,
struct snd_cs46xx **  rchip 
)

Definition at line 3720 of file cs46xx_lib.c.

int snd_cs46xx_download ( struct snd_cs46xx chip,
u32 src,
unsigned long  offset,
unsigned long  len 
)

Definition at line 311 of file cs46xx_lib.c.

int snd_cs46xx_download_image ( struct snd_cs46xx chip)

Definition at line 366 of file cs46xx_lib.c.

int __devinit snd_cs46xx_gameport ( struct snd_cs46xx chip)

Definition at line 2652 of file cs46xx_lib.c.

int __devinit snd_cs46xx_midi ( struct snd_cs46xx chip,
int  device,
struct snd_rawmidi **  rrawmidi 
)

Definition at line 2534 of file cs46xx_lib.c.

int __devinit snd_cs46xx_mixer ( struct snd_cs46xx chip,
int  spdif_device 
)

Definition at line 2314 of file cs46xx_lib.c.

int __devinit snd_cs46xx_pcm ( struct snd_cs46xx chip,
int  device,
struct snd_pcm **  rpcm 
)

Definition at line 1593 of file cs46xx_lib.c.

int __devinit snd_cs46xx_start_dsp ( struct snd_cs46xx chip)

Definition at line 3064 of file cs46xx_lib.c.