Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
sram-alloc.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
#include <linux/ioport.h>
#include <linux/fcntl.h>
#include <linux/init.h>
#include <linux/poll.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/spinlock.h>
#include <linux/rtc.h>
#include <linux/slab.h>
#include <asm/blackfin.h>
#include <asm/mem_map.h>
#include "blackfin_sram.h"

Go to the source code of this file.

Data Structures

struct  sram_piece
 

Functions

 pure_initcall (bfin_sram_init)
 
int sram_free (const void *addr)
 
 EXPORT_SYMBOL (sram_free)
 
voidl1_data_A_sram_alloc (size_t size)
 
 EXPORT_SYMBOL (l1_data_A_sram_alloc)
 
int l1_data_A_sram_free (const void *addr)
 
 EXPORT_SYMBOL (l1_data_A_sram_free)
 
voidl1_data_B_sram_alloc (size_t size)
 
 EXPORT_SYMBOL (l1_data_B_sram_alloc)
 
int l1_data_B_sram_free (const void *addr)
 
 EXPORT_SYMBOL (l1_data_B_sram_free)
 
voidl1_data_sram_alloc (size_t size)
 
 EXPORT_SYMBOL (l1_data_sram_alloc)
 
voidl1_data_sram_zalloc (size_t size)
 
 EXPORT_SYMBOL (l1_data_sram_zalloc)
 
int l1_data_sram_free (const void *addr)
 
 EXPORT_SYMBOL (l1_data_sram_free)
 
voidl1_inst_sram_alloc (size_t size)
 
 EXPORT_SYMBOL (l1_inst_sram_alloc)
 
int l1_inst_sram_free (const void *addr)
 
 EXPORT_SYMBOL (l1_inst_sram_free)
 
voidl1sram_alloc (size_t size)
 
voidl1sram_alloc_max (size_t *psize)
 
int l1sram_free (const void *addr)
 
voidl2_sram_alloc (size_t size)
 
 EXPORT_SYMBOL (l2_sram_alloc)
 
voidl2_sram_zalloc (size_t size)
 
 EXPORT_SYMBOL (l2_sram_zalloc)
 
int l2_sram_free (const void *addr)
 
 EXPORT_SYMBOL (l2_sram_free)
 
int sram_free_with_lsl (const void *addr)
 
 EXPORT_SYMBOL (sram_free_with_lsl)
 
voidsram_alloc_with_lsl (size_t size, unsigned long flags)
 
 EXPORT_SYMBOL (sram_alloc_with_lsl)
 

Function Documentation

EXPORT_SYMBOL ( sram_free  )
EXPORT_SYMBOL ( l1_data_A_sram_alloc  )
EXPORT_SYMBOL ( l1_data_A_sram_free  )
EXPORT_SYMBOL ( l1_data_B_sram_alloc  )
EXPORT_SYMBOL ( l1_data_B_sram_free  )
EXPORT_SYMBOL ( l1_data_sram_alloc  )
EXPORT_SYMBOL ( l1_data_sram_zalloc  )
EXPORT_SYMBOL ( l1_data_sram_free  )
EXPORT_SYMBOL ( l1_inst_sram_alloc  )
EXPORT_SYMBOL ( l1_inst_sram_free  )
EXPORT_SYMBOL ( l2_sram_alloc  )
EXPORT_SYMBOL ( l2_sram_zalloc  )
EXPORT_SYMBOL ( l2_sram_free  )
EXPORT_SYMBOL ( sram_free_with_lsl  )
EXPORT_SYMBOL ( sram_alloc_with_lsl  )
void* l1_data_A_sram_alloc ( size_t  size)

Definition at line 437 of file sram-alloc.c.

int l1_data_A_sram_free ( const void addr)

Definition at line 464 of file sram-alloc.c.

void* l1_data_B_sram_alloc ( size_t  size)

Definition at line 488 of file sram-alloc.c.

int l1_data_B_sram_free ( const void addr)

Definition at line 515 of file sram-alloc.c.

void* l1_data_sram_alloc ( size_t  size)

Definition at line 539 of file sram-alloc.c.

int l1_data_sram_free ( const void addr)

Definition at line 561 of file sram-alloc.c.

void* l1_data_sram_zalloc ( size_t  size)

Definition at line 550 of file sram-alloc.c.

void* l1_inst_sram_alloc ( size_t  size)

Definition at line 571 of file sram-alloc.c.

int l1_inst_sram_free ( const void addr)

Definition at line 598 of file sram-alloc.c.

void* l1sram_alloc ( size_t  size)

Definition at line 623 of file sram-alloc.c.

void* l1sram_alloc_max ( size_t psize)

Definition at line 643 of file sram-alloc.c.

int l1sram_free ( const void addr)

Definition at line 663 of file sram-alloc.c.

void* l2_sram_alloc ( size_t  size)

Definition at line 682 of file sram-alloc.c.

int l2_sram_free ( const void addr)

Definition at line 718 of file sram-alloc.c.

void* l2_sram_zalloc ( size_t  size)

Definition at line 707 of file sram-alloc.c.

pure_initcall ( bfin_sram_init  )
void* sram_alloc_with_lsl ( size_t  size,
unsigned long  flags 
)

Definition at line 763 of file sram-alloc.c.

int sram_free ( const void addr)

Definition at line 406 of file sram-alloc.c.

int sram_free_with_lsl ( const void addr)

Definition at line 740 of file sram-alloc.c.