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

Go to the source code of this file.

Data Structures

struct  dma_channel
 

Macros

#define DMA_DEBUG_NAME   "pxa_dma"
 
#define DMA_MAX_REQUESTERS   64
 

Functions

int pxa_request_dma (char *name, pxa_dma_prio prio, void(*irq_handler)(int, void *), void *data)
 
 EXPORT_SYMBOL (pxa_request_dma)
 
void pxa_free_dma (int dma_ch)
 
 EXPORT_SYMBOL (pxa_free_dma)
 
int __init pxa_init_dma (int irq, int num_ch)
 

Macro Definition Documentation

#define DMA_DEBUG_NAME   "pxa_dma"

Definition at line 28 of file dma.c.

#define DMA_MAX_REQUESTERS   64

Definition at line 29 of file dma.c.

Function Documentation

EXPORT_SYMBOL ( pxa_request_dma  )
EXPORT_SYMBOL ( pxa_free_dma  )
void pxa_free_dma ( int  dma_ch)

Definition at line 320 of file dma.c.

int __init pxa_init_dma ( int  irq,
int  num_ch 
)

Definition at line 361 of file dma.c.

int pxa_request_dma ( char name,
pxa_dma_prio  prio,
void(*)(int, void *)  irq_handler,
void data 
)

Definition at line 280 of file dma.c.