Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
dmasound_core.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/sound.h>
#include <linux/init.h>
#include <linux/soundcard.h>
#include <linux/poll.h>
#include <linux/mutex.h>
#include <asm/uaccess.h>
#include "dmasound.h"

Go to the source code of this file.

Macros

#define DMASOUND_CORE_REVISION   1
 
#define DMASOUND_CORE_EDITION   6
 
#define write_sq_init_waitqueue()   sq_init_waitqueue(&write_sq)
 
#define write_sq_release_buffers()   sq_release_buffers(&write_sq)
 
#define write_sq_open(file)   sq_open2(&write_sq, file, FMODE_WRITE, numWriteBufs, writeBufSize )
 
#define STAT_BUFF_LEN   768
 
#define LOW_LEVEL_STAT_ALLOC   162
 

Functions

 module_param (dmasound_catchRadius, int, 0)
 
 module_param (numWriteBufs, int, 0)
 
 module_param (writeBufSize, int, 0)
 
 MODULE_LICENSE ("GPL")
 
int dmasound_init (void)
 
 __setup ("dmasound=", dmasound_setup)
 
 EXPORT_SYMBOL (dmasound)
 
 EXPORT_SYMBOL (dmasound_init)
 
 EXPORT_SYMBOL (dmasound_write_sq)
 
 EXPORT_SYMBOL (dmasound_catchRadius)
 

Variables

int dmasound_catchRadius = 0
 
struct sound_settings dmasound
 
struct sound_queue dmasound_write_sq
 

Macro Definition Documentation

#define DMASOUND_CORE_EDITION   6

Definition at line 191 of file dmasound_core.c.

#define DMASOUND_CORE_REVISION   1

Definition at line 190 of file dmasound_core.c.

#define LOW_LEVEL_STAT_ALLOC   162

Definition at line 1209 of file dmasound_core.c.

#define STAT_BUFF_LEN   768

Definition at line 1202 of file dmasound_core.c.

#define write_sq_init_waitqueue ( )    sq_init_waitqueue(&write_sq)

Definition at line 744 of file dmasound_core.c.

#define write_sq_open (   file)    sq_open2(&write_sq, file, FMODE_WRITE, numWriteBufs, writeBufSize )

Definition at line 749 of file dmasound_core.c.

#define write_sq_release_buffers ( )    sq_release_buffers(&write_sq)

Definition at line 748 of file dmasound_core.c.

Function Documentation

__setup ( )
int dmasound_init ( void  )

Definition at line 1387 of file dmasound_core.c.

EXPORT_SYMBOL ( dmasound  )
EXPORT_SYMBOL ( dmasound_init  )
EXPORT_SYMBOL ( dmasound_write_sq  )
EXPORT_SYMBOL ( dmasound_catchRadius  )
MODULE_LICENSE ( "GPL"  )
module_param ( dmasound_catchRadius  ,
int  ,
 
)
module_param ( numWriteBufs  ,
int  ,
 
)
module_param ( writeBufSize  ,
int  ,
 
)

Variable Documentation

Definition at line 1213 of file dmasound_core.c.

int busy

Definition at line 321 of file dmasound_core.c.

Initial value:
= {
}

Definition at line 223 of file dmasound_core.c.

int dmasound_catchRadius = 0

Definition at line 198 of file dmasound_core.c.

struct sound_queue dmasound_write_sq

Definition at line 411 of file dmasound_core.c.

int len

Definition at line 1214 of file dmasound_core.c.

int modify_counter

Definition at line 322 of file dmasound_core.c.

int ptr

Definition at line 1214 of file dmasound_core.c.