Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
waveartist.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/spinlock.h>
#include <linux/bitops.h>
#include "sound_config.h"
#include "waveartist.h"

Go to the source code of this file.

Data Structures

struct  wavnc_info
 
struct  waveartist_mixer_info
 
struct  wavnc_port_info
 
struct  mix_ent
 

Macros

#define DEBUG_CMD   1
 
#define DEBUG_OUT   2
 
#define DEBUG_IN   4
 
#define DEBUG_INTR   8
 
#define DEBUG_MIXER   16
 
#define DEBUG_TRIGGER   32
 
#define debug_flg   (0)
 
#define NO_DMA   255
 
#define SUPPORTED_MIXER_DEVICES
 
#define machine_is_netwinder()   0
 
#define SCALE(lev, max)   ((lev) * (max) / 100)
 

Typedefs

typedef struct wavnc_port_info wavnc_port_info
 

Functions

 module_init (init_waveartist)
 
 module_exit (cleanup_waveartist)
 
 __setup ("waveartist=", setup_waveartist)
 
 MODULE_DESCRIPTION ("Rockwell WaveArtist RWA-010 sound driver")
 
 module_param (io, int, 0)
 
 module_param (irq, int, 0)
 
 module_param (dma, int, 0)
 
 module_param (dma2, int, 0)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DEBUG_CMD   1

Definition at line 27 of file waveartist.c.

#define debug_flg   (0)

Definition at line 34 of file waveartist.c.

#define DEBUG_IN   4

Definition at line 29 of file waveartist.c.

#define DEBUG_INTR   8

Definition at line 30 of file waveartist.c.

#define DEBUG_MIXER   16

Definition at line 31 of file waveartist.c.

#define DEBUG_OUT   2

Definition at line 28 of file waveartist.c.

#define DEBUG_TRIGGER   32

Definition at line 32 of file waveartist.c.

#define machine_is_netwinder ( )    0

Definition at line 151 of file waveartist.c.

#define NO_DMA   255

Definition at line 55 of file waveartist.c.

#define SCALE (   lev,
  max 
)    ((lev) * (max) / 100)
#define SUPPORTED_MIXER_DEVICES
Value:
SOUND_MASK_PCM |\
SOUND_MASK_LINE |\
SOUND_MASK_MIC |\
SOUND_MASK_LINE1 |\
SOUND_MASK_RECLEV |\
SOUND_MASK_VOLUME |\
SOUND_MASK_IMIX)

Definition at line 58 of file waveartist.c.

Typedef Documentation

Function Documentation

__setup ( )
MODULE_DESCRIPTION ( "Rockwell WaveArtist RWA-010 sound driver )
module_exit ( cleanup_waveartist  )
module_init ( init_waveartist  )
MODULE_LICENSE ( "GPL"  )
module_param ( io  ,
int  ,
 
)
module_param ( irq  ,
int  ,
 
)
module_param ( dma  ,
int  ,
 
)
module_param ( dma2  ,
int  ,
 
)