Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
opl4_lib.c File Reference
#include "opl4_local.h"
#include <sound/initval.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/module.h>
#include <asm/io.h>

Go to the source code of this file.

Functions

 MODULE_AUTHOR ("Clemens Ladisch <[email protected]>")
 
 MODULE_DESCRIPTION ("OPL4 driver")
 
 MODULE_LICENSE ("GPL")
 
void snd_opl4_write (struct snd_opl4 *opl4, u8 reg, u8 value)
 
 EXPORT_SYMBOL (snd_opl4_write)
 
u8 snd_opl4_read (struct snd_opl4 *opl4, u8 reg)
 
 EXPORT_SYMBOL (snd_opl4_read)
 
void snd_opl4_read_memory (struct snd_opl4 *opl4, char *buf, int offset, int size)
 
 EXPORT_SYMBOL (snd_opl4_read_memory)
 
void snd_opl4_write_memory (struct snd_opl4 *opl4, const char *buf, int offset, int size)
 
 EXPORT_SYMBOL (snd_opl4_write_memory)
 
int snd_opl4_create (struct snd_card *card, unsigned long fm_port, unsigned long pcm_port, int seq_device, struct snd_opl3 **ropl3, struct snd_opl4 **ropl4)
 
 EXPORT_SYMBOL (snd_opl4_create)
 

Function Documentation

EXPORT_SYMBOL ( snd_opl4_write  )
EXPORT_SYMBOL ( snd_opl4_read  )
EXPORT_SYMBOL ( snd_opl4_read_memory  )
EXPORT_SYMBOL ( snd_opl4_write_memory  )
EXPORT_SYMBOL ( snd_opl4_create  )
MODULE_AUTHOR ( "Clemens Ladisch <[email protected]>"  )
MODULE_DESCRIPTION ( "OPL4 driver )
MODULE_LICENSE ( "GPL"  )
int snd_opl4_create ( struct snd_card card,
unsigned long  fm_port,
unsigned long  pcm_port,
int  seq_device,
struct snd_opl3 **  ropl3,
struct snd_opl4 **  ropl4 
)

Definition at line 194 of file opl4_lib.c.

u8 snd_opl4_read ( struct snd_opl4 opl4,
u8  reg 
)

Definition at line 50 of file opl4_lib.c.

void snd_opl4_read_memory ( struct snd_opl4 opl4,
char buf,
int  offset,
int  size 
)

Definition at line 61 of file opl4_lib.c.

void snd_opl4_write ( struct snd_opl4 opl4,
u8  reg,
u8  value 
)

Definition at line 39 of file opl4_lib.c.

void snd_opl4_write_memory ( struct snd_opl4 opl4,
const char buf,
int  offset,
int  size 
)

Definition at line 87 of file opl4_lib.c.