#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
|
enum | DIMM_CHANNEL_NUM {
DIMM_CHANNEL_NUM_0
, DIMM_CHANNEL_NUM_1
, DIMM_CHANNEL_NUM_2
, DIMM_CHANNEL_NUM_3
,
DIMM_CHANNEL_NUM_4
, DIMM_CHANNEL_NUM_5
, DIMM_CHANNEL_NUM_6
, DIMM_CHANNEL_NUM_7
} |
|
enum | DIMM_NUMBER { DIMM_NUMBER_0
, DIMM_NUMBER_1
, DIMM_NUMBER_2
, DIMM_NUMBER_3
} |
|
enum | CPU_USE_RANGE { USE_CPU_0_TO_3 = 0x0
, USE_CPU_4_TO_7 = 0x1
, USE_CPU_8_TO_11 = 0x2
} |
|
enum | MEMORY_CHANNEL { MEMORY_CHANNEL_0_TO_3 = 0x0
, MEMORY_CHANNEL_4_TO_7 = 0x1
} |
|
enum | DIMM_CHANNEL_ADDR { ADDR_DIMM_CHANNEL_0_4 = 0x90
, ADDR_DIMM_CHANNEL_1_5 = 0x94
, ADDR_DIMM_CHANNEL_2_6 = 0x98
, ADDR_DIMM_CHANNEL_3_7 = 0x9C
} |
|
enum | BUS_ID { BUS_ID_DIMM_CHANNEL_0_TO_3
, BUS_ID_DIMM_CHANNEL_4_TO_7
} |
|
◆ CHANNEL_0_4_DIMM_NUM_0
#define CHANNEL_0_4_DIMM_NUM_0 BIT(0) |
◆ CHANNEL_0_4_DIMM_NUM_1
#define CHANNEL_0_4_DIMM_NUM_1 BIT(1) |
◆ CHANNEL_0_4_DIMM_NUM_2
#define CHANNEL_0_4_DIMM_NUM_2 BIT(2) |
◆ CHANNEL_0_4_DIMM_NUM_3
#define CHANNEL_0_4_DIMM_NUM_3 BIT(3) |
◆ CHANNEL_1_5_DIMM_NUM_0
#define CHANNEL_1_5_DIMM_NUM_0 BIT(4) |
◆ CHANNEL_1_5_DIMM_NUM_1
#define CHANNEL_1_5_DIMM_NUM_1 BIT(5) |
◆ CHANNEL_1_5_DIMM_NUM_2
#define CHANNEL_1_5_DIMM_NUM_2 BIT(6) |
◆ CHANNEL_1_5_DIMM_NUM_3
#define CHANNEL_1_5_DIMM_NUM_3 BIT(7) |
◆ CHANNEL_2_6_DIMM_NUM_0
#define CHANNEL_2_6_DIMM_NUM_0 BIT(8) |
◆ CHANNEL_2_6_DIMM_NUM_1
#define CHANNEL_2_6_DIMM_NUM_1 BIT(9) |
◆ CHANNEL_2_6_DIMM_NUM_2
#define CHANNEL_2_6_DIMM_NUM_2 BIT(10) |
◆ CHANNEL_2_6_DIMM_NUM_3
#define CHANNEL_2_6_DIMM_NUM_3 BIT(11) |
◆ CHANNEL_3_7_DIMM_NUM_0
#define CHANNEL_3_7_DIMM_NUM_0 BIT(12) |
◆ CHANNEL_3_7_DIMM_NUM_1
#define CHANNEL_3_7_DIMM_NUM_1 BIT(13) |
◆ CHANNEL_3_7_DIMM_NUM_2
#define CHANNEL_3_7_DIMM_NUM_2 BIT(14) |
◆ CHANNEL_3_7_DIMM_NUM_3
#define CHANNEL_3_7_DIMM_NUM_3 BIT(15) |
◆ CMD_GET_CPU_MEMORY_TEMP
#define CMD_GET_CPU_MEMORY_TEMP 0x4B |
◆ CMD_GET_CPU_MEMORY_TEMP_DATA_LEN
#define CMD_GET_CPU_MEMORY_TEMP_DATA_LEN 12 |
◆ RESPONSE_DIMM_TEMP_INDEX
#define RESPONSE_DIMM_TEMP_INDEX 3 |
◆ get_cpu_memory_temp_req
◆ BUS_ID
Enumerator |
---|
BUS_ID_DIMM_CHANNEL_0_TO_3 | |
BUS_ID_DIMM_CHANNEL_4_TO_7 | |
◆ CPU_USE_RANGE
Enumerator |
---|
USE_CPU_0_TO_3 | |
USE_CPU_4_TO_7 | |
USE_CPU_8_TO_11 | |
◆ DIMM_CHANNEL_ADDR
Enumerator |
---|
ADDR_DIMM_CHANNEL_0_4 | |
ADDR_DIMM_CHANNEL_1_5 | |
ADDR_DIMM_CHANNEL_2_6 | |
ADDR_DIMM_CHANNEL_3_7 | |
◆ DIMM_CHANNEL_NUM
Enumerator |
---|
DIMM_CHANNEL_NUM_0 | |
DIMM_CHANNEL_NUM_1 | |
DIMM_CHANNEL_NUM_2 | |
DIMM_CHANNEL_NUM_3 | |
DIMM_CHANNEL_NUM_4 | |
DIMM_CHANNEL_NUM_5 | |
DIMM_CHANNEL_NUM_6 | |
DIMM_CHANNEL_NUM_7 | |
◆ DIMM_NUMBER
Enumerator |
---|
DIMM_NUMBER_0 | |
DIMM_NUMBER_1 | |
DIMM_NUMBER_2 | |
DIMM_NUMBER_3 | |
◆ MEMORY_CHANNEL
Enumerator |
---|
MEMORY_CHANNEL_0_TO_3 | |
MEMORY_CHANNEL_4_TO_7 | |
◆ pal_get_pmic_pwr()
int pal_get_pmic_pwr |
( |
uint8_t |
sensor_num, |
|
|
uint8_t * |
data |
|
) |
| |
◆ pal_get_spd_temp()
int pal_get_spd_temp |
( |
uint8_t |
sensor_num, |
|
|
uint8_t * |
data |
|
) |
| |