#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
|
enum | SLOT_EID {
SLOT1_EID = 0x0A
, SLOT2_EID = 0x14
, SLOT3_EID = 0x1E
, SLOT4_EID = 0x28
,
SLOT5_EID = 0x32
, SLOT6_EID = 0x3C
, SLOT7_EID = 0x46
, SLOT8_EID = 0x50
} |
|
enum | SLOT_PID {
SLOT1_PID = 0x0000
, SLOT2_PID = 0x0005
, SLOT3_PID = 0x000A
, SLOT4_PID = 0x000F
,
SLOT5_PID = 0x0014
, SLOT6_PID = 0x0019
, SLOT7_PID = 0x001E
, SLOT8_PID = 0x0023
} |
|
enum | BOARD_REV_ID {
BOARD_REV_POC = 0x00
, BOARD_REV_EVT = 0x01
, BOARD_REV_DVT = 0x03
, BOARD_REV_PVT = 0x05
,
BOARD_REV_MP = 0x06
, BOARD_POC = 0
, BOARD_POC2
, BOARD_EVT
,
BOARD_DVT
, BOARD_PVT
, BOARD_MP
, UNKNOWN
} |
|
enum | ADC_CHANNEL {
CHANNEL_6 = 6
, CHANNEL_7 = 7
, CHANNEL_6 = 6
, CHANNEL_7 = 7
,
CHANNEL_6 = 6
, CHANNEL_7 = 7
, CHANNEL_6 = 6
, CHANNEL_6 = 6
,
CHANNEL_6 = 6
, CHANNEL_7 = 7
, CHANNEL_5 = 5
, NUMBER_OF_ADC_CHANNEL = 16
,
ADC_CHANNEL_2 = 2
, ADC_CHANNEL_12 = 12
, ADC_CHANNEL_13 = 13
, NUMBER_OF_ADC_CHANNEL = 16
} |
|
enum | BLADE_CONFIG { BLADE_CONFIG_T1M = 0x00
, BLADE_CONFIG_T1C = 0x10
, BLADE_CONFIG_UNKNOWN = 0xff
} |
|
enum | RETIMER_TYPE {
RETIMER_TYPE_PT5161L
, RETIMER_TYPE_M88RT51632
, RETIMER_TYPE_UNKNOWN
, RETIMER_TYPE_ASTERALABS
,
RETIMER_TYPE_NO_RETIMER
, RETIMER_TYPE_KANDOU
, RETIMER_TYPE_BROADCOM
} |
|
◆ AST1030_ADC_BASE_ADDR
#define AST1030_ADC_BASE_ADDR 0x7e6e9000 |
◆ ADC_CHANNEL
Enumerator |
---|
CHANNEL_6 | |
CHANNEL_7 | |
CHANNEL_6 | |
CHANNEL_7 | |
CHANNEL_6 | |
CHANNEL_7 | |
CHANNEL_6 | |
CHANNEL_6 | |
CHANNEL_6 | |
CHANNEL_7 | |
CHANNEL_5 | |
NUMBER_OF_ADC_CHANNEL | |
ADC_CHANNEL_2 | |
ADC_CHANNEL_12 | |
ADC_CHANNEL_13 | |
NUMBER_OF_ADC_CHANNEL | |
◆ BLADE_CONFIG
Enumerator |
---|
BLADE_CONFIG_T1M | |
BLADE_CONFIG_T1C | |
BLADE_CONFIG_UNKNOWN | |
◆ BOARD_REV_ID
Enumerator |
---|
BOARD_REV_POC | |
BOARD_REV_EVT | |
BOARD_REV_DVT | |
BOARD_REV_PVT | |
BOARD_REV_MP | |
BOARD_POC | |
BOARD_POC2 | |
BOARD_EVT | |
BOARD_DVT | |
BOARD_PVT | |
BOARD_MP | |
UNKNOWN | |
◆ RETIMER_TYPE
Enumerator |
---|
RETIMER_TYPE_PT5161L | |
RETIMER_TYPE_M88RT51632 | |
RETIMER_TYPE_UNKNOWN | |
RETIMER_TYPE_ASTERALABS | |
RETIMER_TYPE_NO_RETIMER | |
RETIMER_TYPE_KANDOU | |
RETIMER_TYPE_BROADCOM | |
◆ SLOT_EID
Enumerator |
---|
SLOT1_EID | |
SLOT2_EID | |
SLOT3_EID | |
SLOT4_EID | |
SLOT5_EID | |
SLOT6_EID | |
SLOT7_EID | |
SLOT8_EID | |
◆ SLOT_PID
Enumerator |
---|
SLOT1_PID | |
SLOT2_PID | |
SLOT3_PID | |
SLOT4_PID | |
SLOT5_PID | |
SLOT6_PID | |
SLOT7_PID | |
SLOT8_PID | |
◆ get_adc_voltage()
bool get_adc_voltage |
( |
int |
channel, |
|
|
float * |
voltage |
|
) |
| |
◆ get_blade_config()
bool get_blade_config |
( |
uint8_t * |
blade_config | ) |
|
◆ get_board_rev()
bool get_board_rev |
( |
uint8_t * |
board_rev | ) |
|
◆ get_retimer_type()
uint8_t get_retimer_type |
( |
| ) |
|
◆ get_slot_eid()
◆ get_slot_id()
◆ init_platform_config()
void init_platform_config |
( |
| ) |
|
◆ init_retimer_type()
void init_retimer_type |
( |
| ) |
|