Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
bfin-global.h File Reference
#include <linux/linkage.h>
#include <linux/types.h>

Go to the source code of this file.

Macros

#define DMA_UNCACHED_REGION   (0)
 
#define dump_bfin_process(regs)
 
#define dump_bfin_mem(regs)
 
#define dump_bfin_trace_buffer()
 
#define L1_INST_SRAM   0x00000001
 
#define L1_DATA_A_SRAM   0x00000002
 
#define L1_DATA_B_SRAM   0x00000004
 
#define L1_DATA_SRAM   0x00000006
 
#define L2_SRAM   0x00000008
 

Functions

void bfin_setup_caches (unsigned int cpu)
 
void bfin_setup_cpudata (unsigned int cpu)
 
unsigned long get_cclk (void)
 
unsigned long get_sclk (void)
 
unsigned long sclk_to_usecs (unsigned long sclk)
 
unsigned long usecs_to_sclk (unsigned long usecs)
 
voidl1_data_A_sram_alloc (size_t)
 
voidl1_data_B_sram_alloc (size_t)
 
voidl1_inst_sram_alloc (size_t)
 
voidl1_data_sram_alloc (size_t)
 
voidl1_data_sram_zalloc (size_t)
 
voidl2_sram_alloc (size_t)
 
voidl2_sram_zalloc (size_t)
 
int l1_data_A_sram_free (const void *)
 
int l1_data_B_sram_free (const void *)
 
int l1_inst_sram_free (const void *)
 
int l1_data_sram_free (const void *)
 
int l2_sram_free (const void *)
 
int sram_free (const void *)
 
voidsram_alloc_with_lsl (size_t, unsigned long)
 
int sram_free_with_lsl (const void *)
 
voidisram_memcpy (void *dest, const void *src, size_t n)
 

Variables

const char bfin_board_name []
 
unsigned long bfin_sic_iwr []
 
unsigned vr_wakeup
 
u16 _bfin_swrst
 

Macro Definition Documentation

#define DMA_UNCACHED_REGION   (0)

Definition at line 36 of file bfin-global.h.

#define dump_bfin_mem (   regs)

Definition at line 59 of file bfin-global.h.

#define dump_bfin_process (   regs)

Definition at line 58 of file bfin-global.h.

#define dump_bfin_trace_buffer (   void)

Definition at line 60 of file bfin-global.h.

#define L1_DATA_A_SRAM   0x00000002

Definition at line 78 of file bfin-global.h.

#define L1_DATA_B_SRAM   0x00000004

Definition at line 79 of file bfin-global.h.

#define L1_DATA_SRAM   0x00000006

Definition at line 80 of file bfin-global.h.

#define L1_INST_SRAM   0x00000001

Definition at line 77 of file bfin-global.h.

#define L2_SRAM   0x00000008

Definition at line 81 of file bfin-global.h.

Function Documentation

void bfin_setup_caches ( unsigned int  cpu)

Definition at line 102 of file setup.c.

void bfin_setup_cpudata ( unsigned int  cpu)

Definition at line 168 of file setup.c.

unsigned long get_cclk ( void  )

Definition at line 1164 of file setup.c.

unsigned long get_sclk ( void  )

Definition at line 1216 of file setup.c.

void* isram_memcpy ( void dest,
const void src,
size_t  n 
)

Definition at line 137 of file isram-driver.c.

void* l1_data_A_sram_alloc ( size_t  )

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

int l1_data_A_sram_free ( const void )

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

void* l1_data_B_sram_alloc ( size_t  )

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

int l1_data_B_sram_free ( const void )

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

void* l1_data_sram_alloc ( size_t  )

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

int l1_data_sram_free ( const void )

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

void* l1_data_sram_zalloc ( size_t  )

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

void* l1_inst_sram_alloc ( size_t  )

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

int l1_inst_sram_free ( const void )

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

void* l2_sram_alloc ( size_t  )

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

int l2_sram_free ( const void )

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

void* l2_sram_zalloc ( size_t  )

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

unsigned long sclk_to_usecs ( unsigned long  sclk)

Definition at line 1245 of file setup.c.

void* sram_alloc_with_lsl ( size_t  ,
unsigned  long 
)

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

int sram_free ( const void )

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

int sram_free_with_lsl ( const void )

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

unsigned long usecs_to_sclk ( unsigned long  usecs)

Definition at line 1253 of file setup.c.

Variable Documentation

u16 _bfin_swrst

Definition at line 39 of file setup.c.

const char bfin_board_name[]

Definition at line 33 of file ezbrd.c.

unsigned long bfin_sic_iwr[]
unsigned vr_wakeup