Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
numachip_csr.h File Reference
#include <linux/numa.h>
#include <linux/percpu.h>
#include <linux/io.h>
#include <linux/swab.h>
#include <asm/types.h>
#include <asm/processor.h>

Go to the source code of this file.

Data Structures

union  numachip_csr_g0_state_clear
 
struct  numachip_csr_g0_state_clear::numachip_csr_g0_state_clear_s
 
union  numachip_csr_g0_node_ids
 
struct  numachip_csr_g0_node_ids::numachip_csr_g0_node_ids_s
 
union  numachip_csr_g3_ext_irq_gen
 
struct  numachip_csr_g3_ext_irq_gen::numachip_csr_g3_ext_irq_gen_s
 
union  numachip_csr_g3_ext_irq_status
 
struct  numachip_csr_g3_ext_irq_status::numachip_csr_g3_ext_irq_status_s
 
union  numachip_csr_g3_ext_irq_dest
 
struct  numachip_csr_g3_ext_irq_dest::numachip_csr_g3_ext_irq_dest_s
 
union  numachip_csr_g3_nc_att_map_select
 
struct  numachip_csr_g3_nc_att_map_select::numachip_csr_g3_nc_att_map_select_s
 

Macros

#define CSR_NODE_SHIFT   16
 
#define CSR_NODE_BITS(p)   (((unsigned long)(p)) << CSR_NODE_SHIFT)
 
#define CSR_NODE_MASK   0x0fff /* 4K nodes */
 
#define CSR_OFFSET_MASK   0x7fffUL
 
#define NUMACHIP_GCSR_BASE   0x3fff00000000ULL
 
#define NUMACHIP_GCSR_LIM   0x3fff0fffffffULL
 
#define NUMACHIP_GCSR_SIZE   (NUMACHIP_GCSR_LIM - NUMACHIP_GCSR_BASE + 1)
 
#define NUMACHIP_LCSR_BASE   0x3ffffe000000ULL
 
#define NUMACHIP_LCSR_LIM   0x3fffffffffffULL
 
#define NUMACHIP_LCSR_SIZE   (NUMACHIP_LCSR_LIM - NUMACHIP_LCSR_BASE + 1)
 
#define CSR_G0_STATE_CLEAR   (0x000 + (0 << 12))
 
#define CSR_G0_NODE_IDS   (0x008 + (0 << 12))
 
#define CSR_G3_EXT_IRQ_GEN   (0x030 + (3 << 12))
 
#define CSR_G3_EXT_IRQ_STATUS   (0x034 + (3 << 12))
 
#define CSR_G3_EXT_IRQ_DEST   (0x038 + (3 << 12))
 
#define CSR_G3_NC_ATT_MAP_SELECT   (0x7fc + (3 << 12))
 
#define CSR_G3_NC_ATT_MAP_SELECT_0   (0x800 + (3 << 12))
 

Macro Definition Documentation

#define CSR_G0_NODE_IDS   (0x008 + (0 << 12))

Definition at line 96 of file numachip_csr.h.

#define CSR_G0_STATE_CLEAR   (0x000 + (0 << 12))

Definition at line 81 of file numachip_csr.h.

#define CSR_G3_EXT_IRQ_DEST   (0x038 + (3 << 12))

Definition at line 137 of file numachip_csr.h.

#define CSR_G3_EXT_IRQ_GEN   (0x030 + (3 << 12))

Definition at line 110 of file numachip_csr.h.

#define CSR_G3_EXT_IRQ_STATUS   (0x034 + (3 << 12))

Definition at line 125 of file numachip_csr.h.

#define CSR_G3_NC_ATT_MAP_SELECT   (0x7fc + (3 << 12))

Definition at line 150 of file numachip_csr.h.

#define CSR_G3_NC_ATT_MAP_SELECT_0   (0x800 + (3 << 12))

Definition at line 164 of file numachip_csr.h.

#define CSR_NODE_BITS (   p)    (((unsigned long)(p)) << CSR_NODE_SHIFT)

Definition at line 25 of file numachip_csr.h.

#define CSR_NODE_MASK   0x0fff /* 4K nodes */

Definition at line 26 of file numachip_csr.h.

#define CSR_NODE_SHIFT   16

Definition at line 24 of file numachip_csr.h.

#define CSR_OFFSET_MASK   0x7fffUL

Definition at line 29 of file numachip_csr.h.

#define NUMACHIP_GCSR_BASE   0x3fff00000000ULL

Definition at line 32 of file numachip_csr.h.

#define NUMACHIP_GCSR_LIM   0x3fff0fffffffULL

Definition at line 33 of file numachip_csr.h.

#define NUMACHIP_GCSR_SIZE   (NUMACHIP_GCSR_LIM - NUMACHIP_GCSR_BASE + 1)

Definition at line 34 of file numachip_csr.h.

#define NUMACHIP_LCSR_BASE   0x3ffffe000000ULL

Definition at line 41 of file numachip_csr.h.

#define NUMACHIP_LCSR_LIM   0x3fffffffffffULL

Definition at line 42 of file numachip_csr.h.

#define NUMACHIP_LCSR_SIZE   (NUMACHIP_LCSR_LIM - NUMACHIP_LCSR_BASE + 1)

Definition at line 43 of file numachip_csr.h.