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

Go to the source code of this file.

Data Structures

struct  cache_desc
 
struct  cpuinfo_mips
 

Macros

#define MIPS_CACHE_NOT_PRESENT   0x00000001
 
#define MIPS_CACHE_VTAG   0x00000002 /* Virtually tagged cache */
 
#define MIPS_CACHE_ALIASES   0x00000004 /* Cache could have aliases */
 
#define MIPS_CACHE_IC_F_DC   0x00000008 /* Ic can refill from D-cache */
 
#define MIPS_IC_SNOOPS_REMOTE   0x00000010 /* Ic snoops remote stores */
 
#define MIPS_CACHE_PINDEX   0x00000020 /* Physically indexed cache */
 
#define NUM_WATCH_REGS   4
 
#define current_cpu_data   cpu_data[smp_processor_id()]
 
#define raw_current_cpu_data   cpu_data[raw_smp_processor_id()]
 
#define cpu_name_string()   __cpu_name[smp_processor_id()]
 

Functions

struct cpuinfo_mips __attribute__ ((aligned(SMP_CACHE_BYTES)))
 
void cpu_probe (void)
 
void cpu_report (void)
 

Variables

unsigned int udelay_val
 
unsigned int asid_cache
 
unsigned long options
 
unsigned long ases
 
unsigned int processor_id
 
unsigned int fpu_id
 
unsigned int cputype
 
int isa_level
 
int tlbsize
 
struct cache_desc icache
 
struct cache_desc dcache
 
struct cache_desc scache
 
struct cache_desc tcache
 
int srsets
 
int core
 
voiddata
 
unsigned int watch_reg_count
 
unsigned int watch_reg_use_cnt
 
u16 watch_reg_masks [NUM_WATCH_REGS]
 
unsigned int kscratch_mask
 
struct cpuinfo_mips cpu_data []
 
const char__cpu_name []
 

Macro Definition Documentation

#define cpu_name_string ( )    __cpu_name[smp_processor_id()]

Definition at line 92 of file cpu-info.h.

#define current_cpu_data   cpu_data[smp_processor_id()]

Definition at line 85 of file cpu-info.h.

#define MIPS_CACHE_ALIASES   0x00000004 /* Cache could have aliases */

Definition at line 36 of file cpu-info.h.

#define MIPS_CACHE_IC_F_DC   0x00000008 /* Ic can refill from D-cache */

Definition at line 37 of file cpu-info.h.

#define MIPS_CACHE_NOT_PRESENT   0x00000001

Definition at line 34 of file cpu-info.h.

#define MIPS_CACHE_PINDEX   0x00000020 /* Physically indexed cache */

Definition at line 39 of file cpu-info.h.

#define MIPS_CACHE_VTAG   0x00000002 /* Virtually tagged cache */

Definition at line 35 of file cpu-info.h.

#define MIPS_IC_SNOOPS_REMOTE   0x00000010 /* Ic snoops remote stores */

Definition at line 38 of file cpu-info.h.

#define NUM_WATCH_REGS   4

Definition at line 120 of file cpu-info.h.

#define raw_current_cpu_data   cpu_data[raw_smp_processor_id()]

Definition at line 86 of file cpu-info.h.

Function Documentation

void cpu_probe ( void  )

Definition at line 1127 of file cpu-probe.c.

void cpu_report ( void  )

Definition at line 1214 of file cpu-probe.c.

Variable Documentation

const char* __cpu_name[]

Definition at line 1124 of file cpu-probe.c.

unsigned long ases

Definition at line 90 of file cpu-info.h.

unsigned int asid_cache

Definition at line 84 of file cpu-info.h.

int core

Definition at line 101 of file cpu-info.h.

Definition at line 55 of file smp.c.

unsigned int cputype

Definition at line 93 of file cpu-info.h.

Definition at line 117 of file cpu-info.h.

Definition at line 97 of file cpu-info.h.

unsigned int fpu_id

Definition at line 92 of file cpu-info.h.

Definition at line 96 of file cpu-info.h.

int isa_level

Definition at line 94 of file cpu-info.h.

unsigned int kscratch_mask

Definition at line 122 of file cpu-info.h.

__le32 options

Definition at line 89 of file cpu-info.h.

unsigned int processor_id

Definition at line 91 of file cpu-info.h.

Definition at line 98 of file cpu-info.h.

int srsets

Definition at line 100 of file cpu-info.h.

Definition at line 99 of file cpu-info.h.

int tlbsize

Definition at line 95 of file cpu-info.h.

unsigned int udelay_val

Definition at line 83 of file cpu-info.h.

unsigned int watch_reg_count

Definition at line 118 of file cpu-info.h.

u16 watch_reg_masks[NUM_WATCH_REGS]

Definition at line 121 of file cpu-info.h.

unsigned int watch_reg_use_cnt

Definition at line 119 of file cpu-info.h.