Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vram.c File Reference
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/seq_file.h>
#include <linux/memblock.h>
#include <linux/completion.h>
#include <linux/debugfs.h>
#include <linux/jiffies.h>
#include <linux/module.h>
#include <asm/setup.h>
#include <plat/vram.h>

Go to the source code of this file.

Data Structures

struct  vram_alloc
struct  vram_region


#define DBG(format,...)


int omap_vram_add_region (unsigned long paddr, size_t size)
int omap_vram_free (unsigned long paddr, size_t size)
 EXPORT_SYMBOL (omap_vram_free)
int omap_vram_reserve (unsigned long paddr, size_t size)
 EXPORT_SYMBOL (omap_vram_reserve)
int omap_vram_alloc (size_t size, unsigned long *paddr)
 EXPORT_SYMBOL (omap_vram_alloc)
void omap_vram_get_info (unsigned long *vram, unsigned long *free_vram, unsigned long *largest_free_block)
 EXPORT_SYMBOL (omap_vram_get_info)
 arch_initcall (omap_vram_init)
 early_param ("vram", omap_vram_early_vram)
void __init omap_vram_reserve_sdram_memblock (void)
void __init omap_vram_set_sdram_vram (u32 size, u32 start)

Macro Definition Documentation

#define DBG (   format,

Definition at line 41 of file vram.c.


Definition at line 46 of file vram.c.

Function Documentation

arch_initcall ( omap_vram_init  )
early_param ( "vram"  ,
EXPORT_SYMBOL ( omap_vram_free  )
EXPORT_SYMBOL ( omap_vram_reserve  )
EXPORT_SYMBOL ( omap_vram_alloc  )
EXPORT_SYMBOL ( omap_vram_get_info  )
int omap_vram_add_region ( unsigned long  paddr,
size_t  size 

Definition at line 125 of file vram.c.

int omap_vram_alloc ( size_t  size,
unsigned long paddr 

Definition at line 292 of file vram.c.

int omap_vram_free ( unsigned long  paddr,
size_t  size 

Definition at line 154 of file vram.c.

void omap_vram_get_info ( unsigned long vram,
unsigned long free_vram,
unsigned long largest_free_block 

Definition at line 314 of file vram.c.

int omap_vram_reserve ( unsigned long  paddr,
size_t  size 

Definition at line 232 of file vram.c.

void __init omap_vram_reserve_sdram_memblock ( void  )

Definition at line 448 of file vram.c.

void __init omap_vram_set_sdram_vram ( u32  size,
u32  start 

Definition at line 510 of file vram.c.

Variable Documentation

unsigned long paddr

Definition at line 51 of file vram.c.

size_t size

Definition at line 52 of file vram.c.