Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
jazzdma.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/bootmem.h>
#include <linux/spinlock.h>
#include <linux/gfp.h>
#include <asm/mipsregs.h>
#include <asm/jazz.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/dma.h>
#include <asm/jazzdma.h>
#include <asm/pgtable.h>

Go to the source code of this file.

Macros

#define CONF_DEBUG_VDMA   0
 
#define vdma_debug   ((CONF_DEBUG_VDMA) ? debuglvl : 0)
 

Functions

unsigned long vdma_alloc (unsigned long paddr, unsigned long size)
 
 EXPORT_SYMBOL (vdma_alloc)
 
int vdma_free (unsigned long laddr)
 
 EXPORT_SYMBOL (vdma_free)
 
int vdma_remap (unsigned long laddr, unsigned long paddr, unsigned long size)
 
unsigned long vdma_phys2log (unsigned long paddr)
 
 EXPORT_SYMBOL (vdma_phys2log)
 
unsigned long vdma_log2phys (unsigned long laddr)
 
 EXPORT_SYMBOL (vdma_log2phys)
 
void vdma_stats (void)
 
void vdma_enable (int channel)
 
 EXPORT_SYMBOL (vdma_enable)
 
void vdma_disable (int channel)
 
 EXPORT_SYMBOL (vdma_disable)
 
void vdma_set_mode (int channel, int mode)
 
 EXPORT_SYMBOL (vdma_set_mode)
 
void vdma_set_addr (int channel, long addr)
 
 EXPORT_SYMBOL (vdma_set_addr)
 
void vdma_set_count (int channel, int count)
 
 EXPORT_SYMBOL (vdma_set_count)
 
int vdma_get_residue (int channel)
 
int vdma_get_enable (int channel)
 
 arch_initcall (vdma_init)
 

Macro Definition Documentation

#define CONF_DEBUG_VDMA   0

Definition at line 29 of file jazzdma.c.

#define vdma_debug   ((CONF_DEBUG_VDMA) ? debuglvl : 0)

Definition at line 38 of file jazzdma.c.

Function Documentation

arch_initcall ( vdma_init  )
EXPORT_SYMBOL ( vdma_alloc  )
EXPORT_SYMBOL ( vdma_free  )
EXPORT_SYMBOL ( vdma_phys2log  )
EXPORT_SYMBOL ( vdma_log2phys  )
EXPORT_SYMBOL ( vdma_enable  )
EXPORT_SYMBOL ( vdma_disable  )
EXPORT_SYMBOL ( vdma_set_mode  )
EXPORT_SYMBOL ( vdma_set_addr  )
EXPORT_SYMBOL ( vdma_set_count  )
unsigned long vdma_alloc ( unsigned long  paddr,
unsigned long  size 
)

Definition at line 92 of file jazzdma.c.

void vdma_disable ( int  channel)

Definition at line 395 of file jazzdma.c.

void vdma_enable ( int  channel)

Definition at line 357 of file jazzdma.c.

int vdma_free ( unsigned long  laddr)

Definition at line 181 of file jazzdma.c.

int vdma_get_enable ( int  channel)

Definition at line 545 of file jazzdma.c.

int vdma_get_residue ( int  channel)

Definition at line 529 of file jazzdma.c.

unsigned long vdma_log2phys ( unsigned long  laddr)

Definition at line 306 of file jazzdma.c.

unsigned long vdma_phys2log ( unsigned long  paddr)

Definition at line 283 of file jazzdma.c.

int vdma_remap ( unsigned long  laddr,
unsigned long  paddr,
unsigned long  size 
)

Definition at line 212 of file jazzdma.c.

void vdma_set_addr ( int  channel,
long  addr 
)

Definition at line 501 of file jazzdma.c.

void vdma_set_count ( int  channel,
int  count 
)

Definition at line 515 of file jazzdma.c.

void vdma_set_mode ( int  channel,
int  mode 
)

Definition at line 438 of file jazzdma.c.

void vdma_stats ( void  )

Definition at line 316 of file jazzdma.c.