Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
opl3_synth.c File Reference
#include <linux/slab.h>
#include <linux/export.h>
#include <sound/opl3.h>
#include <sound/asound_fm.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (snd_opl3_regmap)
 
int snd_opl3_open (struct snd_hwdep *hw, struct file *file)
 
int snd_opl3_ioctl (struct snd_hwdep *hw, struct file *file, unsigned int cmd, unsigned long arg)
 
int snd_opl3_release (struct snd_hwdep *hw, struct file *file)
 
void snd_opl3_reset (struct snd_opl3 *opl3)
 
 EXPORT_SYMBOL (snd_opl3_reset)
 

Variables

char snd_opl3_regmap [MAX_OPL2_VOICES][4]
 

Function Documentation

EXPORT_SYMBOL ( snd_opl3_regmap  )
EXPORT_SYMBOL ( snd_opl3_reset  )
int snd_opl3_ioctl ( struct snd_hwdep hw,
struct file file,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 91 of file opl3_synth.c.

int snd_opl3_open ( struct snd_hwdep hw,
struct file file 
)

Definition at line 83 of file opl3_synth.c.

int snd_opl3_release ( struct snd_hwdep hw,
struct file file 
)

Definition at line 182 of file opl3_synth.c.

void snd_opl3_reset ( struct snd_opl3 opl3)

Definition at line 358 of file opl3_synth.c.

Variable Documentation

char snd_opl3_regmap[MAX_OPL2_VOICES][4]
Initial value:
=
{
{ 0x00, 0x03, 0x08, 0x0b },
{ 0x01, 0x04, 0x09, 0x0c },
{ 0x02, 0x05, 0x0a, 0x0d },
{ 0x08, 0x0b, 0x00, 0x00 },
{ 0x09, 0x0c, 0x00, 0x00 },
{ 0x0a, 0x0d, 0x00, 0x00 },
{ 0x10, 0x13, 0x00, 0x00 },
{ 0x11, 0x14, 0x00, 0x00 },
{ 0x12, 0x15, 0x00, 0x00 }
}

Definition at line 50 of file opl3_synth.c.