Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dmabrg.c File Reference
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <asm/dma.h>
#include <asm/dmabrg.h>
#include <asm/io.h>

Go to the source code of this file.

Data Structures

struct  dmabrg_handler
 

Macros

#define DMARSRA   0xfe090000
 
#define DMAOR   0xffa00040
 
#define DMACHCR0   0xffa0000c
 
#define DMABRGCR   0xfe3c0000
 
#define DMAOR_BRG   0x0000c000
 
#define DMAOR_DMEN   0x00000001
 
#define DMABRGI0   68
 
#define DMABRGI1   69
 
#define DMABRGI2   70
 

Functions

int dmabrg_request_irq (unsigned int dmairq, void(*handler)(void *), void *data)
 
 EXPORT_SYMBOL_GPL (dmabrg_request_irq)
 
void dmabrg_free_irq (unsigned int dmairq)
 
 EXPORT_SYMBOL_GPL (dmabrg_free_irq)
 
 subsys_initcall (dmabrg_init)
 

Variables

struct dmabrg_handlerdmabrg_handlers
 

Macro Definition Documentation

#define DMABRGCR   0xfe3c0000

Definition at line 60 of file dmabrg.c.

#define DMABRGI0   68

Definition at line 65 of file dmabrg.c.

#define DMABRGI1   69

Definition at line 66 of file dmabrg.c.

#define DMABRGI2   70

Definition at line 67 of file dmabrg.c.

#define DMACHCR0   0xffa0000c

Definition at line 59 of file dmabrg.c.

#define DMAOR   0xffa00040

Definition at line 58 of file dmabrg.c.

#define DMAOR_BRG   0x0000c000

Definition at line 62 of file dmabrg.c.

#define DMAOR_DMEN   0x00000001

Definition at line 63 of file dmabrg.c.

#define DMARSRA   0xfe090000

Definition at line 57 of file dmabrg.c.

Function Documentation

void dmabrg_free_irq ( unsigned int  dmairq)

Definition at line 142 of file dmabrg.c.

int dmabrg_request_irq ( unsigned int  dmairq,
void(*)(void *)  handler,
void data 
)

Definition at line 126 of file dmabrg.c.

EXPORT_SYMBOL_GPL ( dmabrg_request_irq  )
EXPORT_SYMBOL_GPL ( dmabrg_free_irq  )
subsys_initcall ( dmabrg_init  )

Variable Documentation

struct dmabrg_handler * dmabrg_handlers