Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
trident_main.c File Reference
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/gameport.h>
#include <linux/dma-mapping.h>
#include <linux/export.h>
#include <sound/core.h>
#include <sound/info.h>
#include <sound/control.h>
#include <sound/tlv.h>
#include "trident.h"
#include <sound/asoundef.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define snd_trident_spdif_control_info   snd_ctl_boolean_mono_info
 
#define snd_trident_ac97_control_info   snd_ctl_boolean_mono_info
 

Functions

void snd_trident_start_voice (struct snd_trident *trident, unsigned int voice)
 
 EXPORT_SYMBOL (snd_trident_start_voice)
 
void snd_trident_stop_voice (struct snd_trident *trident, unsigned int voice)
 
 EXPORT_SYMBOL (snd_trident_stop_voice)
 
void snd_trident_write_voice_regs (struct snd_trident *trident, struct snd_trident_voice *voice)
 
 EXPORT_SYMBOL (snd_trident_write_voice_regs)
 
int __devinit snd_trident_pcm (struct snd_trident *trident, int device, struct snd_pcm **rpcm)
 
int __devinit snd_trident_foldback_pcm (struct snd_trident *trident, int device, struct snd_pcm **rpcm)
 
int __devinit snd_trident_spdif_pcm (struct snd_trident *trident, int device, struct snd_pcm **rpcm)
 
int __devinit snd_trident_create_gameport (struct snd_trident *chip)
 
int __devinit snd_trident_create (struct snd_card *card, struct pci_dev *pci, int pcm_streams, int pcm_spdif_device, int max_wavetable_size, struct snd_trident **rtrident)
 
struct snd_trident_voicesnd_trident_alloc_voice (struct snd_trident *trident, int type, int client, int port)
 
 EXPORT_SYMBOL (snd_trident_alloc_voice)
 
void snd_trident_free_voice (struct snd_trident *trident, struct snd_trident_voice *voice)
 
 EXPORT_SYMBOL (snd_trident_free_voice)
 

Macro Definition Documentation

#define snd_trident_ac97_control_info   snd_ctl_boolean_mono_info

Definition at line 2548 of file trident_main.c.

#define snd_trident_spdif_control_info   snd_ctl_boolean_mono_info

Definition at line 2328 of file trident_main.c.

Function Documentation

EXPORT_SYMBOL ( snd_trident_start_voice  )
EXPORT_SYMBOL ( snd_trident_stop_voice  )
EXPORT_SYMBOL ( snd_trident_write_voice_regs  )
EXPORT_SYMBOL ( snd_trident_alloc_voice  )
EXPORT_SYMBOL ( snd_trident_free_voice  )
struct snd_trident_voice* snd_trident_alloc_voice ( struct snd_trident trident,
int  type,
int  client,
int  port 
)
read

Definition at line 3826 of file trident_main.c.

int __devinit snd_trident_create ( struct snd_card card,
struct pci_dev pci,
int  pcm_streams,
int  pcm_spdif_device,
int  max_wavetable_size,
struct snd_trident **  rtrident 
)

Definition at line 3542 of file trident_main.c.

int __devinit snd_trident_create_gameport ( struct snd_trident chip)

Definition at line 3228 of file trident_main.c.

int __devinit snd_trident_foldback_pcm ( struct snd_trident trident,
int  device,
struct snd_pcm **  rpcm 
)

Definition at line 2232 of file trident_main.c.

void snd_trident_free_voice ( struct snd_trident trident,
struct snd_trident_voice voice 
)

Definition at line 3872 of file trident_main.c.

int __devinit snd_trident_pcm ( struct snd_trident trident,
int  device,
struct snd_pcm **  rpcm 
)

Definition at line 2174 of file trident_main.c.

int __devinit snd_trident_spdif_pcm ( struct snd_trident trident,
int  device,
struct snd_pcm **  rpcm 
)

Definition at line 2289 of file trident_main.c.

void snd_trident_start_voice ( struct snd_trident trident,
unsigned int  voice 
)

Definition at line 301 of file trident_main.c.

void snd_trident_stop_voice ( struct snd_trident trident,
unsigned int  voice 
)

Definition at line 325 of file trident_main.c.

void snd_trident_write_voice_regs ( struct snd_trident trident,
struct snd_trident_voice voice 
)

Definition at line 445 of file trident_main.c.