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

Go to the source code of this file.

Functions

int sb_dsp_command (sb_devc *devc, unsigned char val)
 
int sb_dsp_get_byte (sb_devc *devc)
 
int sb_dsp_reset (sb_devc *devc)
 
int sb_dsp_detect (struct address_info *hw_config, int pci, int pciio, struct sb_module_options *sbmo)
 
int sb_dsp_init (struct address_info *hw_config, struct module *owner)
 
void sb_dsp_unload (struct address_info *hw_config, int sbmpu)
 
void sb_setmixer (sb_devc *devc, unsigned int port, unsigned int value)
 
unsigned int sb_getmixer (sb_devc *devc, unsigned int port)
 
void sb_chgmixer (sb_devc *devc, unsigned int reg, unsigned int mask, unsigned int val)
 
int probe_sbmpu (struct address_info *hw_config, struct module *owner)
 
void unload_sbmpu (struct address_info *hw_config)
 
 EXPORT_SYMBOL (sb_dsp_init)
 
 EXPORT_SYMBOL (sb_dsp_detect)
 
 EXPORT_SYMBOL (sb_dsp_unload)
 
 EXPORT_SYMBOL (sb_be_quiet)
 
 EXPORT_SYMBOL (probe_sbmpu)
 
 EXPORT_SYMBOL (unload_sbmpu)
 
 EXPORT_SYMBOL (smw_free)
 
 MODULE_LICENSE ("GPL")
 

Variables

int sb_be_quiet
 
voidsmw_free
 

Function Documentation

EXPORT_SYMBOL ( sb_dsp_init  )
EXPORT_SYMBOL ( sb_dsp_detect  )
EXPORT_SYMBOL ( sb_dsp_unload  )
EXPORT_SYMBOL ( sb_be_quiet  )
EXPORT_SYMBOL ( probe_sbmpu  )
EXPORT_SYMBOL ( unload_sbmpu  )
EXPORT_SYMBOL ( smw_free  )
MODULE_LICENSE ( "GPL"  )
int probe_sbmpu ( struct address_info hw_config,
struct module owner 
)

Definition at line 1188 of file sb_common.c.

void sb_chgmixer ( sb_devc devc,
unsigned int  reg,
unsigned int  mask,
unsigned int  val 
)

Definition at line 968 of file sb_common.c.

int sb_dsp_command ( sb_devc devc,
unsigned char  val 
)

Definition at line 86 of file sb_common.c.

int sb_dsp_detect ( struct address_info hw_config,
int  pci,
int  pciio,
struct sb_module_options sbmo 
)

Definition at line 504 of file sb_common.c.

int sb_dsp_get_byte ( sb_devc devc)

Definition at line 113 of file sb_common.c.

int sb_dsp_init ( struct address_info hw_config,
struct module owner 
)

Definition at line 640 of file sb_common.c.

int sb_dsp_reset ( sb_devc devc)

Definition at line 225 of file sb_common.c.

void sb_dsp_unload ( struct address_info hw_config,
int  sbmpu 
)

Definition at line 882 of file sb_common.c.

unsigned int sb_getmixer ( sb_devc devc,
unsigned int  port 
)

Definition at line 948 of file sb_common.c.

void sb_setmixer ( sb_devc devc,
unsigned int  port,
unsigned int  value 
)

Definition at line 929 of file sb_common.c.

void unload_sbmpu ( struct address_info hw_config)

Definition at line 1274 of file sb_common.c.

Variable Documentation

int sb_be_quiet

Definition at line 49 of file sb_common.c.

void* smw_free

Definition at line 62 of file sb_common.c.