Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dma.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-au1x00/au1000_dma.h>

Go to the source code of this file.

Data Structures

struct  dma_dev
 

Macros

#define DMA_CHANNEL_LEN   0x00000100
 

Functions

 DEFINE_SPINLOCK (au1000_dma_spin_lock)
 
 EXPORT_SYMBOL (au1000_dma_table)
 
int au1000_dma_read_proc (char *buf, char **start, off_t fpos, int length, int *eof, void *data)
 
void dump_au1000_dma_channel (unsigned int dmanr)
 
int request_au1000_dma (int dev_id, const char *dev_str, irq_handler_t irqhandler, unsigned long irqflags, void *irq_dev_id)
 
 EXPORT_SYMBOL (request_au1000_dma)
 
void free_au1000_dma (unsigned int dmanr)
 
 EXPORT_SYMBOL (free_au1000_dma)
 
 arch_initcall (au1000_dma_init)
 

Variables

struct dma_chan au1000_dma_table [NUM_AU1000_DMA_CHANNELS]
 

Macro Definition Documentation

#define DMA_CHANNEL_LEN   0x00000100

Definition at line 60 of file dma.c.

Function Documentation

arch_initcall ( au1000_dma_init  )
int au1000_dma_read_proc ( char buf,
char **  start,
off_t  fpos,
int  length,
int eof,
void data 
)

Definition at line 100 of file dma.c.

DEFINE_SPINLOCK ( au1000_dma_spin_lock  )
void dump_au1000_dma_channel ( unsigned int  dmanr)

Definition at line 134 of file dma.c.

EXPORT_SYMBOL ( au1000_dma_table  )
EXPORT_SYMBOL ( request_au1000_dma  )
EXPORT_SYMBOL ( free_au1000_dma  )
void free_au1000_dma ( unsigned int  dmanr)

Definition at line 220 of file dma.c.

int request_au1000_dma ( int  dev_id,
const char dev_str,
irq_handler_t  irqhandler,
unsigned long  irqflags,
void irq_dev_id 
)

Definition at line 162 of file dma.c.

Variable Documentation

Initial value:
= {
{.dev_id = -1,},
{.dev_id = -1,},
{.dev_id = -1,},
{.dev_id = -1,},
{.dev_id = -1,},
{.dev_id = -1,},
{.dev_id = -1,},
{.dev_id = -1,}
}

Definition at line 64 of file dma.c.