24 lines
854 B
C
24 lines
854 B
C
|
|
||
|
#define CSR_REGISTER_BASE 0xfffff0000000ULL
|
||
|
|
||
|
/* register offsets relative to CSR_REGISTER_BASE */
|
||
|
#define CSR_STATE_CLEAR 0x0
|
||
|
#define CSR_STATE_SET 0x4
|
||
|
#define CSR_NODE_IDS 0x8
|
||
|
#define CSR_RESET_START 0xc
|
||
|
#define CSR_SPLIT_TIMEOUT_HI 0x18
|
||
|
#define CSR_SPLIT_TIMEOUT_LO 0x1c
|
||
|
#define CSR_CYCLE_TIME 0x200
|
||
|
#define CSR_BUS_TIME 0x204
|
||
|
#define CSR_BUSY_TIMEOUT 0x210
|
||
|
#define CSR_BUS_MANAGER_ID 0x21c
|
||
|
#define CSR_BANDWIDTH_AVAILABLE 0x220
|
||
|
#define CSR_CHANNELS_AVAILABLE_HI 0x224
|
||
|
#define CSR_CHANNELS_AVAILABLE_LO 0x228
|
||
|
#define CSR_CONFIG_ROM 0x400
|
||
|
#define CSR_CONFIG_ROM_END 0x800
|
||
|
#define CSR_TOPOLOGY_MAP 0x1000
|
||
|
#define CSR_TOPOLOGY_MAP_END 0x1400
|
||
|
#define CSR_SPEED_MAP 0x2000
|
||
|
#define CSR_SPEED_MAP_END 0x3000
|