Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ip27-klconfig.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/kernel_stat.h>
#include <linux/param.h>
#include <linux/timex.h>
#include <linux/mm.h>
#include <asm/sn/klconfig.h>
#include <asm/sn/arch.h>
#include <asm/sn/gda.h>

Go to the source code of this file.

Functions

klinfo_tfind_component (lboard_t *brd, klinfo_t *kli, unsigned char struct_type)
 
klinfo_tfind_first_component (lboard_t *brd, unsigned char struct_type)
 
lboard_tfind_lboard (lboard_t *start, unsigned char brd_type)
 
lboard_tfind_lboard_class (lboard_t *start, unsigned char brd_type)
 
cnodeid_t get_cpu_cnode (cpuid_t cpu)
 
klcpu_tnasid_slice_to_cpuinfo (nasid_t nasid, int slice)
 
klcpu_tsn_get_cpuinfo (cpuid_t cpu)
 
int get_cpu_slice (cpuid_t cpu)
 

Function Documentation

klinfo_t* find_component ( lboard_t brd,
klinfo_t kli,
unsigned char  struct_type 
)

Definition at line 18 of file ip27-klconfig.c.

klinfo_t* find_first_component ( lboard_t brd,
unsigned char  struct_type 
)

Definition at line 46 of file ip27-klconfig.c.

lboard_t* find_lboard ( lboard_t start,
unsigned char  brd_type 
)

Definition at line 51 of file ip27-klconfig.c.

lboard_t* find_lboard_class ( lboard_t start,
unsigned char  brd_type 
)

Definition at line 63 of file ip27-klconfig.c.

cnodeid_t get_cpu_cnode ( cpuid_t  cpu)

Definition at line 76 of file ip27-klconfig.c.

int get_cpu_slice ( cpuid_t  cpu)

Definition at line 128 of file ip27-klconfig.c.

klcpu_t* nasid_slice_to_cpuinfo ( nasid_t  nasid,
int  slice 
)

Definition at line 81 of file ip27-klconfig.c.

klcpu_t* sn_get_cpuinfo ( cpuid_t  cpu)

Definition at line 100 of file ip27-klconfig.c.