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

Go to the source code of this file.

Functions

 DEFINE_SPINLOCK (pas_lock)
 
void mix_write (unsigned char data, int ioaddr)
 
unsigned char pas_read (int ioaddr)
 
void pas_write (unsigned char data, int ioaddr)
 
int pas_set_intr (int mask)
 
int pas_remove_intr (int mask)
 
 module_param (io, int, 0)
 
 module_param (irq, int, 0)
 
 module_param (dma, int, 0)
 
 module_param (dma16, int, 0)
 
 module_param (sb_io, int, 0)
 
 module_param (sb_irq, int, 0)
 
 module_param (sb_dma, int, 0)
 
 module_param (sb_dma16, int, 0)
 
 module_param (joystick, bool, 0)
 
 module_param (symphony, bool, 0)
 
 module_param (broken_bus_clock, bool, 0)
 
 MODULE_LICENSE ("GPL")
 
 module_init (init_pas2)
 
 module_exit (cleanup_pas2)
 
 __setup ("pas2=", setup_pas2)
 

Variables

int pas_translate_code = 0
 
char pas_model = 0
 

Function Documentation

__setup ( )
DEFINE_SPINLOCK ( pas_lock  )
void mix_write ( unsigned char  data,
int  ioaddr 
)

Definition at line 62 of file pas2_mixer.c.

module_exit ( cleanup_pas2  )
module_init ( init_pas2  )
MODULE_LICENSE ( "GPL"  )
module_param ( io  ,
int  ,
 
)
module_param ( irq  ,
int  ,
 
)
module_param ( dma  ,
int  ,
 
)
module_param ( dma16  ,
int  ,
 
)
module_param ( sb_io  ,
int  ,
 
)
module_param ( sb_irq  ,
int  ,
 
)
module_param ( sb_dma  ,
int  ,
 
)
module_param ( sb_dma16  ,
int  ,
 
)
module_param ( joystick  ,
bool  ,
 
)
module_param ( symphony  ,
bool  ,
 
)
module_param ( broken_bus_clock  ,
bool  ,
 
)
unsigned char pas_read ( int  ioaddr)

Definition at line 79 of file pas2_card.c.

int pas_remove_intr ( int  mask)

Definition at line 122 of file pas2_card.c.

int pas_set_intr ( int  mask)

Definition at line 111 of file pas2_card.c.

void pas_write ( unsigned char  data,
int  ioaddr 
)

Definition at line 84 of file pas2_card.c.

Variable Documentation

char pas_model = 0

Definition at line 62 of file pas2_card.c.

int pas_translate_code = 0

Definition at line 38 of file pas2_card.c.