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

Go to the source code of this file.

Functions

 DEFINE_SPINLOCK (dma_spin_lock)
 
int request_dma (unsigned int dmanr, const char *device_id)
 
void free_dma (unsigned int dmanr)
 
 EXPORT_SYMBOL (request_dma)
 
 EXPORT_SYMBOL (free_dma)
 
 EXPORT_SYMBOL (dma_spin_lock)
 

Function Documentation

DEFINE_SPINLOCK ( dma_spin_lock  )
EXPORT_SYMBOL ( request_dma  )
EXPORT_SYMBOL ( free_dma  )
EXPORT_SYMBOL ( dma_spin_lock  )
void free_dma ( unsigned int  dmanr)

Definition at line 108 of file dma.c.

int request_dma ( unsigned int  dmanr,
const char device_id 
)

request_dma - request a DMA channel

Request the specific DMA channel from the system if it's available.

Definition at line 103 of file dma.c.