Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
cbe_regs.c File Reference
#include <linux/percpu.h>
#include <linux/types.h>
#include <linux/export.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>
#include <asm/io.h>
#include <asm/pgtable.h>
#include <asm/prom.h>
#include <asm/ptrace.h>
#include <asm/cell-regs.h>

Go to the source code of this file.

Data Structures

struct  cbe_regs_map
 
struct  cbe_thread_map
 

Functions

struct cbe_pmd_regs __iomemcbe_get_pmd_regs (struct device_node *np)
 
 EXPORT_SYMBOL_GPL (cbe_get_pmd_regs)
 
struct cbe_pmd_regs __iomemcbe_get_cpu_pmd_regs (int cpu)
 
 EXPORT_SYMBOL_GPL (cbe_get_cpu_pmd_regs)
 
struct cbe_pmd_shadow_regscbe_get_pmd_shadow_regs (struct device_node *np)
 
struct cbe_pmd_shadow_regscbe_get_cpu_pmd_shadow_regs (int cpu)
 
struct cbe_iic_regs __iomemcbe_get_iic_regs (struct device_node *np)
 
struct cbe_iic_regs __iomemcbe_get_cpu_iic_regs (int cpu)
 
struct cbe_mic_tm_regs __iomemcbe_get_mic_tm_regs (struct device_node *np)
 
struct cbe_mic_tm_regs __iomemcbe_get_cpu_mic_tm_regs (int cpu)
 
 EXPORT_SYMBOL_GPL (cbe_get_cpu_mic_tm_regs)
 
u32 cbe_get_hw_thread_id (int cpu)
 
 EXPORT_SYMBOL_GPL (cbe_get_hw_thread_id)
 
u32 cbe_cpu_to_node (int cpu)
 
 EXPORT_SYMBOL_GPL (cbe_cpu_to_node)
 
u32 cbe_node_to_cpu (int node)
 
 EXPORT_SYMBOL_GPL (cbe_node_to_cpu)
 
void __init cbe_fill_regs_map (struct cbe_regs_map *map)
 
void __init cbe_regs_init (void)
 

Function Documentation

u32 cbe_cpu_to_node ( int  cpu)

Definition at line 154 of file cbe_regs.c.

void __init cbe_fill_regs_map ( struct cbe_regs_map *  map)

Definition at line 192 of file cbe_regs.c.

struct cbe_iic_regs __iomem* cbe_get_cpu_iic_regs ( int  cpu)
read

Definition at line 123 of file cbe_regs.c.

struct cbe_mic_tm_regs __iomem* cbe_get_cpu_mic_tm_regs ( int  cpu)
read

Definition at line 139 of file cbe_regs.c.

struct cbe_pmd_regs __iomem* cbe_get_cpu_pmd_regs ( int  cpu)
read

Definition at line 90 of file cbe_regs.c.

struct cbe_pmd_shadow_regs* cbe_get_cpu_pmd_shadow_regs ( int  cpu)
read

Definition at line 107 of file cbe_regs.c.

u32 cbe_get_hw_thread_id ( int  cpu)

Definition at line 148 of file cbe_regs.c.

struct cbe_iic_regs __iomem* cbe_get_iic_regs ( struct device_node np)
read

Definition at line 115 of file cbe_regs.c.

struct cbe_mic_tm_regs __iomem* cbe_get_mic_tm_regs ( struct device_node np)
read

Definition at line 131 of file cbe_regs.c.

struct cbe_pmd_regs __iomem* cbe_get_pmd_regs ( struct device_node np)
read

Definition at line 81 of file cbe_regs.c.

struct cbe_pmd_shadow_regs* cbe_get_pmd_shadow_regs ( struct device_node np)
read

Definition at line 99 of file cbe_regs.c.

u32 cbe_node_to_cpu ( int  node)

Definition at line 160 of file cbe_regs.c.

void __init cbe_regs_init ( void  )

Definition at line 235 of file cbe_regs.c.

EXPORT_SYMBOL_GPL ( cbe_get_pmd_regs  )
EXPORT_SYMBOL_GPL ( cbe_get_cpu_pmd_regs  )
EXPORT_SYMBOL_GPL ( cbe_get_cpu_mic_tm_regs  )
EXPORT_SYMBOL_GPL ( cbe_get_hw_thread_id  )
EXPORT_SYMBOL_GPL ( cbe_cpu_to_node  )
EXPORT_SYMBOL_GPL ( cbe_node_to_cpu  )