Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
dmabuf.c File Reference
#include <linux/mm.h>
#include <linux/gfp.h>
#include "sound_config.h"

Go to the source code of this file.

Macros

#define BE_CONSERVATIVE
 
#define SAMPLE_ROUNDUP   0
 
#define DMAP_FREE_ON_CLOSE   0
 
#define DMAP_KEEP_ON_CLOSE   1
 

Functions

int DMAbuf_open (int dev, int mode)
 
void DMAbuf_reset (int dev)
 
void DMAbuf_launch_output (int dev, struct dma_buffparms *dmap)
 
int DMAbuf_sync (int dev)
 
int DMAbuf_release (int dev, int mode)
 
int DMAbuf_activate_recording (int dev, struct dma_buffparms *dmap)
 
int DMAbuf_getrdbuffer (int dev, char **buf, int *len, int dontblock)
 
int DMAbuf_rmchars (int dev, int buff_no, int c)
 
int DMAbuf_get_buffer_pointer (int dev, struct dma_buffparms *dmap, int direction)
 
void DMAbuf_start_devices (unsigned int devmask)
 
int DMAbuf_space_in_queue (int dev)
 
int DMAbuf_getwrbuffer (int dev, char **buf, int *size, int dontblock)
 
int DMAbuf_move_wrpointer (int dev, int l)
 
int DMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode)
 
 EXPORT_SYMBOL (DMAbuf_start_dma)
 
void DMAbuf_outputintr (int dev, int notify_only)
 
 EXPORT_SYMBOL (DMAbuf_outputintr)
 
void DMAbuf_inputintr (int dev)
 
 EXPORT_SYMBOL (DMAbuf_inputintr)
 
void DMAbuf_init (int dev, int dma1, int dma2)
 
unsigned int DMAbuf_poll (struct file *file, int dev, poll_table *wait)
 
void DMAbuf_deinit (int dev)
 

Variables

int sound_dmap_flag
 

Macro Definition Documentation

#define BE_CONSERVATIVE

Definition at line 25 of file dmabuf.c.

#define DMAP_FREE_ON_CLOSE   0

Definition at line 32 of file dmabuf.c.

#define DMAP_KEEP_ON_CLOSE   1

Definition at line 33 of file dmabuf.c.

#define SAMPLE_ROUNDUP   0

Definition at line 26 of file dmabuf.c.

Function Documentation

int DMAbuf_activate_recording ( int  dev,
struct dma_buffparms dmap 
)

Definition at line 516 of file dmabuf.c.

void DMAbuf_deinit ( int  dev)

Definition at line 1255 of file dmabuf.c.

int DMAbuf_get_buffer_pointer ( int  dev,
struct dma_buffparms dmap,
int  direction 
)

Definition at line 634 of file dmabuf.c.

int DMAbuf_getrdbuffer ( int  dev,
char **  buf,
int len,
int  dontblock 
)

Definition at line 553 of file dmabuf.c.

int DMAbuf_getwrbuffer ( int  dev,
char **  buf,
int size,
int  dontblock 
)

Definition at line 827 of file dmabuf.c.

void DMAbuf_init ( int  dev,
int  dma1,
int  dma2 
)

Definition at line 1164 of file dmabuf.c.

void DMAbuf_inputintr ( int  dev)

Definition at line 1130 of file dmabuf.c.

void DMAbuf_launch_output ( int  dev,
struct dma_buffparms dmap 
)

Definition at line 398 of file dmabuf.c.

int DMAbuf_move_wrpointer ( int  dev,
int  l 
)

Definition at line 861 of file dmabuf.c.

int DMAbuf_open ( int  dev,
int  mode 
)

Definition at line 277 of file dmabuf.c.

void DMAbuf_outputintr ( int  dev,
int  notify_only 
)

Definition at line 1029 of file dmabuf.c.

unsigned int DMAbuf_poll ( struct file file,
int  dev,
poll_table wait 
)

Definition at line 1248 of file dmabuf.c.

int DMAbuf_release ( int  dev,
int  mode 
)

Definition at line 479 of file dmabuf.c.

void DMAbuf_reset ( int  dev)

Definition at line 325 of file dmabuf.c.

int DMAbuf_rmchars ( int  dev,
int  buff_no,
int  c 
)

Definition at line 611 of file dmabuf.c.

int DMAbuf_space_in_queue ( int  dev)

Definition at line 711 of file dmabuf.c.

void DMAbuf_start_devices ( unsigned int  devmask)

Definition at line 690 of file dmabuf.c.

int DMAbuf_start_dma ( int  dev,
unsigned long  physaddr,
int  count,
int  dma_mode 
)

Definition at line 916 of file dmabuf.c.

int DMAbuf_sync ( int  dev)

Definition at line 426 of file dmabuf.c.

EXPORT_SYMBOL ( DMAbuf_start_dma  )
EXPORT_SYMBOL ( DMAbuf_outputintr  )
EXPORT_SYMBOL ( DMAbuf_inputintr  )

Variable Documentation

int sound_dmap_flag

Definition at line 66 of file soundcard.c.