Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
audio.c File Reference
#include <linux/stddef.h>
#include <linux/string.h>
#include <linux/kmod.h>
#include "sound_config.h"
#include "ulaw.h"
#include "coproc.h"

Go to the source code of this file.

Macros

#define NEUTRAL8   0x80
 
#define NEUTRAL16   0x00
 

Functions

int audio_open (int dev, struct file *file)
 
void audio_release (int dev, struct file *file)
 
int audio_write (int dev, struct file *file, const char __user *buf, int count)
 
int audio_read (int dev, struct file *file, char __user *buf, int count)
 
int audio_ioctl (int dev, struct file *file, unsigned int cmd, void __user *arg)
 
void audio_init_devices (void)
 
void reorganize_buffers (int dev, struct dma_buffparms *dmap, int recording)
 

Macro Definition Documentation

#define NEUTRAL16   0x00

Definition at line 38 of file audio.c.

#define NEUTRAL8   0x80

Definition at line 37 of file audio.c.

Function Documentation

void audio_init_devices ( void  )

Definition at line 531 of file audio.c.

int audio_ioctl ( int  dev,
struct file file,
unsigned int  cmd,
void __user arg 
)

Definition at line 368 of file audio.c.

int audio_open ( int  dev,
struct file file 
)

Definition at line 71 of file audio.c.

int audio_read ( int  dev,
struct file file,
char __user buf,
int  count 
)

Definition at line 303 of file audio.c.

void audio_release ( int  dev,
struct file file 
)

Definition at line 179 of file audio.c.

int audio_write ( int  dev,
struct file file,
const char __user buf,
int  count 
)

Definition at line 222 of file audio.c.

void reorganize_buffers ( int  dev,
struct dma_buffparms dmap,
int  recording 
)

Definition at line 538 of file audio.c.