Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
sram.c File Reference
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <linux/ioport.h>
#include <linux/of.h>
#include <asm/io.h>
#include <asm/mmu.h>
#include "sram.h"

Go to the source code of this file.

Functions

 EXPORT_SYMBOL_GPL (bcom_sram)
 
int bcom_sram_init (struct device_node *sram_node, char *owner)
 
 EXPORT_SYMBOL_GPL (bcom_sram_init)
 
void bcom_sram_cleanup (void)
 
 EXPORT_SYMBOL_GPL (bcom_sram_cleanup)
 
voidbcom_sram_alloc (int size, int align, phys_addr_t *phys)
 
 EXPORT_SYMBOL_GPL (bcom_sram_alloc)
 
void bcom_sram_free (void *ptr)
 
 EXPORT_SYMBOL_GPL (bcom_sram_free)
 

Variables

struct bcom_srambcom_sram = NULL
 

Function Documentation

void* bcom_sram_alloc ( int  size,
int  align,
phys_addr_t phys 
)

Definition at line 148 of file sram.c.

void bcom_sram_cleanup ( void  )

Definition at line 135 of file sram.c.

void bcom_sram_free ( void ptr)

Definition at line 164 of file sram.c.

int bcom_sram_init ( struct device_node sram_node,
char owner 
)

Definition at line 40 of file sram.c.

EXPORT_SYMBOL_GPL ( bcom_sram  )
EXPORT_SYMBOL_GPL ( bcom_sram_init  )
EXPORT_SYMBOL_GPL ( bcom_sram_cleanup  )
EXPORT_SYMBOL_GPL ( bcom_sram_alloc  )
EXPORT_SYMBOL_GPL ( bcom_sram_free  )

Variable Documentation

Definition at line 30 of file sram.c.