Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
sram.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/genalloc.h>
#include <mach/common.h>
#include <mach/sram.h>

Go to the source code of this file.

Functions

voidsram_alloc (size_t len, dma_addr_t *dma)
 
 EXPORT_SYMBOL (sram_alloc)
 
void sram_free (void *addr, size_t len)
 
 EXPORT_SYMBOL (sram_free)
 
 core_initcall (sram_init)
 

Function Documentation

core_initcall ( sram_init  )
EXPORT_SYMBOL ( sram_alloc  )
EXPORT_SYMBOL ( sram_free  )
void* sram_alloc ( size_t  len,
dma_addr_t dma 
)

Definition at line 20 of file sram.c.

void sram_free ( void addr,
size_t  len 
)

Definition at line 41 of file sram.c.