Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sb8_main.c File Reference
#include <asm/io.h>
#include <asm/dma.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/sb.h>

Go to the source code of this file.

Macros

#define SB8_CLOCK   1000000
 
#define SB8_DEN(v)   ((SB8_CLOCK + (v) / 2) / (v))
 
#define SB8_RATE(v)   (SB8_CLOCK / SB8_DEN(v))
 

Functions

 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>, Uros Bizjak <[email protected]>")
 
 MODULE_DESCRIPTION ("Routines for control of 8-bit SoundBlaster cards and clones")
 
 MODULE_LICENSE ("GPL")
 
irqreturn_t snd_sb8dsp_interrupt (struct snd_sb *chip)
 
int snd_sb8dsp_pcm (struct snd_sb *chip, int device, struct snd_pcm **rpcm)
 
 EXPORT_SYMBOL (snd_sb8dsp_pcm)
 
 EXPORT_SYMBOL (snd_sb8dsp_interrupt)
 
 EXPORT_SYMBOL (snd_sb8dsp_midi_interrupt)
 
 EXPORT_SYMBOL (snd_sb8dsp_midi)
 

Macro Definition Documentation

#define SB8_CLOCK   1000000

Definition at line 45 of file sb8_main.c.

#define SB8_DEN (   v)    ((SB8_CLOCK + (v) / 2) / (v))

Definition at line 46 of file sb8_main.c.

#define SB8_RATE (   v)    (SB8_CLOCK / SB8_DEN(v))

Definition at line 47 of file sb8_main.c.

Function Documentation

EXPORT_SYMBOL ( snd_sb8dsp_pcm  )
EXPORT_SYMBOL ( snd_sb8dsp_interrupt  )
EXPORT_SYMBOL ( snd_sb8dsp_midi_interrupt  )
EXPORT_SYMBOL ( snd_sb8dsp_midi  )
MODULE_AUTHOR ( "Jaroslav Kysela <[email protected] ,
Uros Bizjak< uros @kss-loka.si >"   
)
MODULE_DESCRIPTION ( "Routines for control of 8-bit SoundBlaster cards and clones"  )
MODULE_LICENSE ( "GPL"  )
irqreturn_t snd_sb8dsp_interrupt ( struct snd_sb chip)

Definition at line 381 of file sb8_main.c.

int snd_sb8dsp_pcm ( struct snd_sb chip,
int  device,
struct snd_pcm **  rpcm 
)

Definition at line 597 of file sb8_main.c.