Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
msnd.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/fs.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include "msnd.h"

Go to the source code of this file.

Macros

#define LOGNAME   "msnd"
 

Functions

void snd_msnd_init_queue (void *base, int start, int size)
 
 EXPORT_SYMBOL (snd_msnd_init_queue)
 
int snd_msnd_send_dsp_cmd (struct snd_msnd *dev, u8 cmd)
 
 EXPORT_SYMBOL (snd_msnd_send_dsp_cmd)
 
int snd_msnd_send_word (struct snd_msnd *dev, unsigned char high, unsigned char mid, unsigned char low)
 
 EXPORT_SYMBOL (snd_msnd_send_word)
 
int snd_msnd_upload_host (struct snd_msnd *dev, const u8 *bin, int len)
 
 EXPORT_SYMBOL (snd_msnd_upload_host)
 
int snd_msnd_enable_irq (struct snd_msnd *dev)
 
 EXPORT_SYMBOL (snd_msnd_enable_irq)
 
int snd_msnd_disable_irq (struct snd_msnd *dev)
 
 EXPORT_SYMBOL (snd_msnd_disable_irq)
 
void snd_msnd_dsp_halt (struct snd_msnd *chip, struct file *file)
 
 EXPORT_SYMBOL (snd_msnd_dsp_halt)
 
int snd_msnd_DARQ (struct snd_msnd *chip, int bank)
 
 EXPORT_SYMBOL (snd_msnd_DARQ)
 
int snd_msnd_DAPQ (struct snd_msnd *chip, int start)
 
 EXPORT_SYMBOL (snd_msnd_DAPQ)
 
int snd_msnd_pcm (struct snd_card *card, int device, struct snd_pcm **rpcm)
 
 EXPORT_SYMBOL (snd_msnd_pcm)
 
 MODULE_DESCRIPTION ("Common routines for Turtle Beach Multisound drivers")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define LOGNAME   "msnd"

Definition at line 53 of file msnd.c.

Function Documentation

EXPORT_SYMBOL ( snd_msnd_init_queue  )
EXPORT_SYMBOL ( snd_msnd_send_dsp_cmd  )
EXPORT_SYMBOL ( snd_msnd_send_word  )
EXPORT_SYMBOL ( snd_msnd_upload_host  )
EXPORT_SYMBOL ( snd_msnd_enable_irq  )
EXPORT_SYMBOL ( snd_msnd_disable_irq  )
EXPORT_SYMBOL ( snd_msnd_dsp_halt  )
EXPORT_SYMBOL ( snd_msnd_DARQ  )
EXPORT_SYMBOL ( snd_msnd_DAPQ  )
EXPORT_SYMBOL ( snd_msnd_pcm  )
MODULE_DESCRIPTION ( "Common routines for Turtle Beach Multisound drivers"  )
MODULE_LICENSE ( "GPL"  )
int snd_msnd_DAPQ ( struct snd_msnd chip,
int  start 
)

Definition at line 307 of file msnd.c.

int snd_msnd_DARQ ( struct snd_msnd chip,
int  bank 
)

Definition at line 258 of file msnd.c.

int snd_msnd_disable_irq ( struct snd_msnd dev)

Definition at line 177 of file msnd.c.

void snd_msnd_dsp_halt ( struct snd_msnd chip,
struct file file 
)

Definition at line 228 of file msnd.c.

int snd_msnd_enable_irq ( struct snd_msnd dev)

Definition at line 146 of file msnd.c.

void snd_msnd_init_queue ( void base,
int  start,
int  size 
)

Definition at line 56 of file msnd.c.

int snd_msnd_pcm ( struct snd_card card,
int  device,
struct snd_pcm **  rpcm 
)

Definition at line 682 of file msnd.c.

int snd_msnd_send_dsp_cmd ( struct snd_msnd dev,
u8  cmd 
)

Definition at line 89 of file msnd.c.

int snd_msnd_send_word ( struct snd_msnd dev,
unsigned char  high,
unsigned char  mid,
unsigned char  low 
)

Definition at line 107 of file msnd.c.

int snd_msnd_upload_host ( struct snd_msnd dev,
const u8 bin,
int  len 
)

Definition at line 125 of file msnd.c.