Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
tcm.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/stddef.h>
#include <linux/ioport.h>
#include <linux/genalloc.h>
#include <linux/string.h>
#include <asm/cputype.h>
#include <asm/mach/map.h>
#include <asm/memory.h>
#include <asm/system_info.h>
#include "tcm.h"

Go to the source code of this file.

Functions

voidtcm_alloc (size_t len)
 
 EXPORT_SYMBOL (tcm_alloc)
 
void tcm_free (void *addr, size_t len)
 
 EXPORT_SYMBOL (tcm_free)
 
bool tcm_dtcm_present (void)
 
 EXPORT_SYMBOL (tcm_dtcm_present)
 
bool tcm_itcm_present (void)
 
 EXPORT_SYMBOL (tcm_itcm_present)
 
void __init tcm_init (void)
 
 core_initcall (setup_tcm_pool)
 

Variables

char __itcm_start
 
char __sitcm_text
 
char __eitcm_text
 
char __dtcm_start
 
char __sdtcm_data
 
char __edtcm_data
 
u32 dtcm_end = DTCM_OFFSET
 
u32 itcm_end = ITCM_OFFSET
 

Function Documentation

core_initcall ( setup_tcm_pool  )
EXPORT_SYMBOL ( tcm_alloc  )
EXPORT_SYMBOL ( tcm_free  )
EXPORT_SYMBOL ( tcm_dtcm_present  )
EXPORT_SYMBOL ( tcm_itcm_present  )
void* tcm_alloc ( size_t  len)

Definition at line 72 of file tcm.c.

bool tcm_dtcm_present ( void  )

Definition at line 96 of file tcm.c.

void tcm_free ( void addr,
size_t  len 
)

Definition at line 90 of file tcm.c.

void __init tcm_init ( void  )

Definition at line 182 of file tcm.c.

bool tcm_itcm_present ( void  )

Definition at line 102 of file tcm.c.

Variable Documentation

char __dtcm_start
char __edtcm_data
char __eitcm_text
char __itcm_start
char __sdtcm_data
char __sitcm_text
u32 dtcm_end = DTCM_OFFSET

Definition at line 31 of file tcm.c.

u32 itcm_end = ITCM_OFFSET

Definition at line 32 of file tcm.c.