Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dma.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/errno.h>
#include <linux/scatterlist.h>
#include <linux/seq_file.h>
#include <linux/proc_fs.h>
#include <asm/dma.h>
#include <asm/mach/dma.h>

Go to the source code of this file.


 DEFINE_RAW_SPINLOCK (dma_spin_lock)
 EXPORT_SYMBOL (dma_spin_lock)
int __init isa_dma_add (unsigned int chan, dma_t *dma)
int request_dma (unsigned int chan, const char *device_id)
 EXPORT_SYMBOL (request_dma)
void free_dma (unsigned int chan)
 EXPORT_SYMBOL (free_dma)
void set_dma_sg (unsigned int chan, struct scatterlist *sg, int nr_sg)
 EXPORT_SYMBOL (set_dma_sg)
void __set_dma_addr (unsigned int chan, void *addr)
 EXPORT_SYMBOL (__set_dma_addr)
void set_dma_count (unsigned int chan, unsigned long count)
 EXPORT_SYMBOL (set_dma_count)
void set_dma_mode (unsigned int chan, unsigned int mode)
 EXPORT_SYMBOL (set_dma_mode)
void enable_dma (unsigned int chan)
 EXPORT_SYMBOL (enable_dma)
void disable_dma (unsigned int chan)
 EXPORT_SYMBOL (disable_dma)
int dma_channel_active (unsigned int chan)
 EXPORT_SYMBOL (dma_channel_active)
void set_dma_page (unsigned int chan, char pagenr)
 EXPORT_SYMBOL (set_dma_page)
void set_dma_speed (unsigned int chan, int cycle_ns)
 EXPORT_SYMBOL (set_dma_speed)
int get_dma_residue (unsigned int chan)
 EXPORT_SYMBOL (get_dma_residue)

Function Documentation

void __set_dma_addr ( unsigned int  chan,
void addr 

Definition at line 142 of file dma.c.

DEFINE_RAW_SPINLOCK ( dma_spin_lock  )
void disable_dma ( unsigned int  chan)

Definition at line 212 of file dma.c.

int dma_channel_active ( unsigned int  chan)

Definition at line 234 of file dma.c.

void enable_dma ( unsigned int  chan)

Definition at line 191 of file dma.c.

EXPORT_SYMBOL ( dma_spin_lock  )
EXPORT_SYMBOL ( request_dma  )
EXPORT_SYMBOL ( free_dma  )
EXPORT_SYMBOL ( set_dma_sg  )
EXPORT_SYMBOL ( __set_dma_addr  )
EXPORT_SYMBOL ( set_dma_count  )
EXPORT_SYMBOL ( set_dma_mode  )
EXPORT_SYMBOL ( enable_dma  )
EXPORT_SYMBOL ( disable_dma  )
EXPORT_SYMBOL ( dma_channel_active  )
EXPORT_SYMBOL ( set_dma_page  )
EXPORT_SYMBOL ( set_dma_speed  )
EXPORT_SYMBOL ( get_dma_residue  )
void free_dma ( unsigned int  chan)

Definition at line 95 of file dma.c.

int get_dma_residue ( unsigned int  chan)

Definition at line 258 of file dma.c.

int __init isa_dma_add ( unsigned int  chan,
dma_t dma 

Definition at line 39 of file dma.c.

int request_dma ( unsigned int  chan,
const char device_id 

Definition at line 57 of file dma.c.

void set_dma_count ( unsigned int  chan,
unsigned long  count 

Definition at line 160 of file dma.c.

void set_dma_mode ( unsigned int  chan,
unsigned int  mode 

Definition at line 176 of file dma.c.

void set_dma_page ( unsigned int  chan,
char  pagenr 

Definition at line 241 of file dma.c.

void set_dma_sg ( unsigned int  chan,
struct scatterlist sg,
int  nr_sg 

Definition at line 124 of file dma.c.

void set_dma_speed ( unsigned int  chan,
int  cycle_ns 

Definition at line 247 of file dma.c.