Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
sys.h File Reference

Go to the source code of this file.

Macros

#define SYS_CHIP_RESET   0x00
 HAL for System configuration registers.
 
#define SYS_POWER_ON_RESET_CFG   0x01
 
#define SYS_EFUSE_DEVICE_CFG_STATUS0   0x02
 
#define SYS_EFUSE_DEVICE_CFG_STATUS1   0x03
 
#define SYS_EFUSE_DEVICE_CFG_STATUS2   0x04
 
#define SYS_EFUSE_DEVICE_CFG3   0x05
 
#define SYS_EFUSE_DEVICE_CFG4   0x06
 
#define SYS_EFUSE_DEVICE_CFG5   0x07
 
#define SYS_EFUSE_DEVICE_CFG6   0x08
 
#define SYS_EFUSE_DEVICE_CFG7   0x09
 
#define SYS_PLL_CTRL   0x0a
 
#define SYS_CPU_RESET   0x0b
 
#define SYS_CPU_NONCOHERENT_MODE   0x0d
 
#define SYS_CORE_DFS_DIS_CTRL   0x0e
 
#define SYS_CORE_DFS_RST_CTRL   0x0f
 
#define SYS_CORE_DFS_BYP_CTRL   0x10
 
#define SYS_CORE_DFS_PHA_CTRL   0x11
 
#define SYS_CORE_DFS_DIV_INC_CTRL   0x12
 
#define SYS_CORE_DFS_DIV_DEC_CTRL   0x13
 
#define SYS_CORE_DFS_DIV_VALUE   0x14
 
#define SYS_RESET   0x15
 
#define SYS_DFS_DIS_CTRL   0x16
 
#define SYS_DFS_RST_CTRL   0x17
 
#define SYS_DFS_BYP_CTRL   0x18
 
#define SYS_DFS_DIV_INC_CTRL   0x19
 
#define SYS_DFS_DIV_DEC_CTRL   0x1a
 
#define SYS_DFS_DIV_VALUE0   0x1b
 
#define SYS_DFS_DIV_VALUE1   0x1c
 
#define SYS_SENSE_AMP_DLY   0x1d
 
#define SYS_SOC_SENSE_AMP_DLY   0x1e
 
#define SYS_CTRL0   0x1f
 
#define SYS_CTRL1   0x20
 
#define SYS_TIMEOUT_BS1   0x21
 
#define SYS_BYTE_SWAP   0x22
 
#define SYS_VRM_VID   0x23
 
#define SYS_PWR_RAM_CMD   0x24
 
#define SYS_PWR_RAM_ADDR   0x25
 
#define SYS_PWR_RAM_DATA0   0x26
 
#define SYS_PWR_RAM_DATA1   0x27
 
#define SYS_PWR_RAM_DATA2   0x28
 
#define SYS_PWR_UCODE   0x29
 
#define SYS_CPU0_PWR_STATUS   0x2a
 
#define SYS_CPU1_PWR_STATUS   0x2b
 
#define SYS_CPU2_PWR_STATUS   0x2c
 
#define SYS_CPU3_PWR_STATUS   0x2d
 
#define SYS_CPU4_PWR_STATUS   0x2e
 
#define SYS_CPU5_PWR_STATUS   0x2f
 
#define SYS_CPU6_PWR_STATUS   0x30
 
#define SYS_CPU7_PWR_STATUS   0x31
 
#define SYS_STATUS   0x32
 
#define SYS_INT_POL   0x33
 
#define SYS_INT_TYPE   0x34
 
#define SYS_INT_STATUS   0x35
 
#define SYS_INT_MASK0   0x36
 
#define SYS_INT_MASK1   0x37
 
#define SYS_UCO_S_ECC   0x38
 
#define SYS_UCO_M_ECC   0x39
 
#define SYS_UCO_ADDR   0x3a
 
#define SYS_UCO_INSTR   0x3b
 
#define SYS_MEM_BIST0   0x3c
 
#define SYS_MEM_BIST1   0x3d
 
#define SYS_MEM_BIST2   0x3e
 
#define SYS_MEM_BIST3   0x3f
 
#define SYS_MEM_BIST4   0x40
 
#define SYS_MEM_BIST5   0x41
 
#define SYS_MEM_BIST6   0x42
 
#define SYS_MEM_BIST7   0x43
 
#define SYS_MEM_BIST8   0x44
 
#define SYS_MEM_BIST9   0x45
 
#define SYS_MEM_BIST10   0x46
 
#define SYS_MEM_BIST11   0x47
 
#define SYS_MEM_BIST12   0x48
 
#define SYS_SCRTCH0   0x49
 
#define SYS_SCRTCH1   0x4a
 
#define SYS_SCRTCH2   0x4b
 
#define SYS_SCRTCH3   0x4c
 
#define nlm_read_sys_reg(b, r)   nlm_read_reg(b, r)
 
#define nlm_write_sys_reg(b, r, v)   nlm_write_reg(b, r, v)
 
#define nlm_get_sys_pcibase(node)   nlm_pcicfg_base(XLP_IO_SYS_OFFSET(node))
 
#define nlm_get_sys_regbase(node)   (nlm_get_sys_pcibase(node) + XLP_IO_PCI_HDRSZ)
 

Variables

uint64_t nlm_sys_base
 

Macro Definition Documentation

#define nlm_get_sys_pcibase (   node)    nlm_pcicfg_base(XLP_IO_SYS_OFFSET(node))

Definition at line 124 of file sys.h.

#define nlm_get_sys_regbase (   node)    (nlm_get_sys_pcibase(node) + XLP_IO_PCI_HDRSZ)

Definition at line 125 of file sys.h.

#define nlm_read_sys_reg (   b,
  r 
)    nlm_read_reg(b, r)

Definition at line 122 of file sys.h.

#define nlm_write_sys_reg (   b,
  r,
  v 
)    nlm_write_reg(b, r, v)

Definition at line 123 of file sys.h.

#define SYS_BYTE_SWAP   0x22

Definition at line 76 of file sys.h.

#define SYS_CHIP_RESET   0x00

HAL for System configuration registers.

sys.h

Author
Netlogic Microsystems

Definition at line 43 of file sys.h.

#define SYS_CORE_DFS_BYP_CTRL   0x10

Definition at line 58 of file sys.h.

#define SYS_CORE_DFS_DIS_CTRL   0x0e

Definition at line 56 of file sys.h.

#define SYS_CORE_DFS_DIV_DEC_CTRL   0x13

Definition at line 61 of file sys.h.

#define SYS_CORE_DFS_DIV_INC_CTRL   0x12

Definition at line 60 of file sys.h.

#define SYS_CORE_DFS_DIV_VALUE   0x14

Definition at line 62 of file sys.h.

#define SYS_CORE_DFS_PHA_CTRL   0x11

Definition at line 59 of file sys.h.

#define SYS_CORE_DFS_RST_CTRL   0x0f

Definition at line 57 of file sys.h.

#define SYS_CPU0_PWR_STATUS   0x2a

Definition at line 84 of file sys.h.

#define SYS_CPU1_PWR_STATUS   0x2b

Definition at line 85 of file sys.h.

#define SYS_CPU2_PWR_STATUS   0x2c

Definition at line 86 of file sys.h.

#define SYS_CPU3_PWR_STATUS   0x2d

Definition at line 87 of file sys.h.

#define SYS_CPU4_PWR_STATUS   0x2e

Definition at line 88 of file sys.h.

#define SYS_CPU5_PWR_STATUS   0x2f

Definition at line 89 of file sys.h.

#define SYS_CPU6_PWR_STATUS   0x30

Definition at line 90 of file sys.h.

#define SYS_CPU7_PWR_STATUS   0x31

Definition at line 91 of file sys.h.

#define SYS_CPU_NONCOHERENT_MODE   0x0d

Definition at line 55 of file sys.h.

#define SYS_CPU_RESET   0x0b

Definition at line 54 of file sys.h.

#define SYS_CTRL0   0x1f

Definition at line 73 of file sys.h.

#define SYS_CTRL1   0x20

Definition at line 74 of file sys.h.

#define SYS_DFS_BYP_CTRL   0x18

Definition at line 66 of file sys.h.

#define SYS_DFS_DIS_CTRL   0x16

Definition at line 64 of file sys.h.

#define SYS_DFS_DIV_DEC_CTRL   0x1a

Definition at line 68 of file sys.h.

#define SYS_DFS_DIV_INC_CTRL   0x19

Definition at line 67 of file sys.h.

#define SYS_DFS_DIV_VALUE0   0x1b

Definition at line 69 of file sys.h.

#define SYS_DFS_DIV_VALUE1   0x1c

Definition at line 70 of file sys.h.

#define SYS_DFS_RST_CTRL   0x17

Definition at line 65 of file sys.h.

#define SYS_EFUSE_DEVICE_CFG3   0x05

Definition at line 48 of file sys.h.

#define SYS_EFUSE_DEVICE_CFG4   0x06

Definition at line 49 of file sys.h.

#define SYS_EFUSE_DEVICE_CFG5   0x07

Definition at line 50 of file sys.h.

#define SYS_EFUSE_DEVICE_CFG6   0x08

Definition at line 51 of file sys.h.

#define SYS_EFUSE_DEVICE_CFG7   0x09

Definition at line 52 of file sys.h.

#define SYS_EFUSE_DEVICE_CFG_STATUS0   0x02

Definition at line 45 of file sys.h.

#define SYS_EFUSE_DEVICE_CFG_STATUS1   0x03

Definition at line 46 of file sys.h.

#define SYS_EFUSE_DEVICE_CFG_STATUS2   0x04

Definition at line 47 of file sys.h.

#define SYS_INT_MASK0   0x36

Definition at line 96 of file sys.h.

#define SYS_INT_MASK1   0x37

Definition at line 97 of file sys.h.

#define SYS_INT_POL   0x33

Definition at line 93 of file sys.h.

#define SYS_INT_STATUS   0x35

Definition at line 95 of file sys.h.

#define SYS_INT_TYPE   0x34

Definition at line 94 of file sys.h.

#define SYS_MEM_BIST0   0x3c

Definition at line 102 of file sys.h.

#define SYS_MEM_BIST1   0x3d

Definition at line 103 of file sys.h.

#define SYS_MEM_BIST10   0x46

Definition at line 112 of file sys.h.

#define SYS_MEM_BIST11   0x47

Definition at line 113 of file sys.h.

#define SYS_MEM_BIST12   0x48

Definition at line 114 of file sys.h.

#define SYS_MEM_BIST2   0x3e

Definition at line 104 of file sys.h.

#define SYS_MEM_BIST3   0x3f

Definition at line 105 of file sys.h.

#define SYS_MEM_BIST4   0x40

Definition at line 106 of file sys.h.

#define SYS_MEM_BIST5   0x41

Definition at line 107 of file sys.h.

#define SYS_MEM_BIST6   0x42

Definition at line 108 of file sys.h.

#define SYS_MEM_BIST7   0x43

Definition at line 109 of file sys.h.

#define SYS_MEM_BIST8   0x44

Definition at line 110 of file sys.h.

#define SYS_MEM_BIST9   0x45

Definition at line 111 of file sys.h.

#define SYS_PLL_CTRL   0x0a

Definition at line 53 of file sys.h.

#define SYS_POWER_ON_RESET_CFG   0x01

Definition at line 44 of file sys.h.

#define SYS_PWR_RAM_ADDR   0x25

Definition at line 79 of file sys.h.

#define SYS_PWR_RAM_CMD   0x24

Definition at line 78 of file sys.h.

#define SYS_PWR_RAM_DATA0   0x26

Definition at line 80 of file sys.h.

#define SYS_PWR_RAM_DATA1   0x27

Definition at line 81 of file sys.h.

#define SYS_PWR_RAM_DATA2   0x28

Definition at line 82 of file sys.h.

#define SYS_PWR_UCODE   0x29

Definition at line 83 of file sys.h.

#define SYS_RESET   0x15

Definition at line 63 of file sys.h.

#define SYS_SCRTCH0   0x49

Definition at line 115 of file sys.h.

#define SYS_SCRTCH1   0x4a

Definition at line 116 of file sys.h.

#define SYS_SCRTCH2   0x4b

Definition at line 117 of file sys.h.

#define SYS_SCRTCH3   0x4c

Definition at line 118 of file sys.h.

#define SYS_SENSE_AMP_DLY   0x1d

Definition at line 71 of file sys.h.

#define SYS_SOC_SENSE_AMP_DLY   0x1e

Definition at line 72 of file sys.h.

#define SYS_STATUS   0x32

Definition at line 92 of file sys.h.

#define SYS_TIMEOUT_BS1   0x21

Definition at line 75 of file sys.h.

#define SYS_UCO_ADDR   0x3a

Definition at line 100 of file sys.h.

#define SYS_UCO_INSTR   0x3b

Definition at line 101 of file sys.h.

#define SYS_UCO_M_ECC   0x39

Definition at line 99 of file sys.h.

#define SYS_UCO_S_ECC   0x38

Definition at line 98 of file sys.h.

#define SYS_VRM_VID   0x23

Definition at line 77 of file sys.h.

Variable Documentation

uint64_t nlm_sys_base

Definition at line 51 of file nlm_hal.c.