Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
memc.h File Reference

Go to the source code of this file.

Macros

#define VDMA_ALIGNMENT   PAGE_SIZE
 
#define VDMA_XFERSIZE   16
 
#define VDMA_INIT   0
 
#define VDMA_START   1
 
#define VDMA_END   2
 
#define video_set_dma(start, end, offset)
 

Functions

void memc_write (unsigned int reg, unsigned long val)
 

Macro Definition Documentation

#define VDMA_ALIGNMENT   PAGE_SIZE

Definition at line 10 of file memc.h.

#define VDMA_END   2

Definition at line 14 of file memc.h.

#define VDMA_INIT   0

Definition at line 12 of file memc.h.

#define VDMA_START   1

Definition at line 13 of file memc.h.

#define VDMA_XFERSIZE   16

Definition at line 11 of file memc.h.

#define video_set_dma (   start,
  end,
  offset 
)
Value:
do { \
memc_write (VDMA_START, (start >> 2)); \
memc_write (VDMA_END, (end - VDMA_XFERSIZE) >> 2); \
memc_write (VDMA_INIT, (offset >> 2)); \
} while (0)

Definition at line 19 of file memc.h.

Function Documentation

void memc_write ( unsigned int  reg,
unsigned long  val 
)