Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
isadma.c File Reference
#include <linux/export.h>
#include <sound/core.h>
#include <asm/dma.h>

Go to the source code of this file.

Functions

void snd_dma_program (unsigned long dma, unsigned long addr, unsigned int size, unsigned short mode)
 
 EXPORT_SYMBOL (snd_dma_program)
 
void snd_dma_disable (unsigned long dma)
 
 EXPORT_SYMBOL (snd_dma_disable)
 
unsigned int snd_dma_pointer (unsigned long dma, unsigned int size)
 
 EXPORT_SYMBOL (snd_dma_pointer)
 

Function Documentation

EXPORT_SYMBOL ( snd_dma_program  )
EXPORT_SYMBOL ( snd_dma_disable  )
EXPORT_SYMBOL ( snd_dma_pointer  )
void snd_dma_disable ( unsigned long  dma)

snd_dma_disable - stop the ISA DMA transfer : the dma number

Stops the ISA DMA transfer.

Definition at line 67 of file isadma.c.

unsigned int snd_dma_pointer ( unsigned long  dma,
unsigned int  size 
)

snd_dma_pointer - return the current pointer to DMA transfer buffer in bytes : the dma number : the dma transfer size

Returns the current pointer in DMA tranfer buffer in bytes

Definition at line 86 of file isadma.c.

void snd_dma_program ( unsigned long  dma,
unsigned long  addr,
unsigned int  size,
unsigned short  mode 
)

snd_dma_program - program an ISA DMA transfer : the dma number : the physical address of the buffer : the DMA transfer size : the DMA transfer mode, DMA_MODE_XXX

Programs an ISA DMA transfer for the given buffer.

Definition at line 42 of file isadma.c.