|
OpenBIC
OpenSource Bridge-IC
|
#include <logging/log.h>#include "plat_util.h"#include "plat_pldm_sensor.h"#include "plat_vr_test_mode.h"#include "plat_hook.h"#include "plat_class.h"
Functions | |
| LOG_MODULE_REGISTER (plat_vr_test_mode) | |
| K_KERNEL_STACK_MEMBER (vr_test_mode_thread_stack, 512) | |
| bool | get_vr_test_mode_flag (void) |
| bool | dma_write_vr (uint8_t rail, uint16_t reg, uint8_t *data, uint8_t len) |
| bool | dma_read_vr (uint8_t rail, uint16_t reg, uint8_t *data, uint8_t len) |
| bool | get_vr_offset_uvp_ovp (uint8_t rail, uint16_t *uvp, uint16_t *ovp) |
| bool | use_offset_uvp_ovp (uint8_t rail) |
| bool | get_vr_fixed_uvp_ovp_enable (uint8_t rail) |
| bool | set_vr_fixed_uvp_ovp_enable (uint8_t rail, uint8_t enable) |
| void | vr_test_mode_enable (bool onoff) |
| void | vr_test_mode_handler (void *arg1, void *arg2, void *arg3) |
| void | init_vr_test_mode_polling (void) |
Variables | |
| struct k_thread | vr_test_mode_thread |
| k_tid_t | vr_test_mode_tid |
| bool | vr_test_mode_flag = false |
| const vr_test_mode_setting_t | vr_test_mode_table [] |
| const vr_test_mode_setting_t | vr_test_mode_table_default [] |
| const mps_vr_test_mode_setting_t | vr_mps_test_mode_table [] |
| const mps_vr_test_mode_setting_t | vr_mps_normal_mode_table [] |
| const uint8_t | vr_test_mode_table_size = ARRAY_SIZE(vr_test_mode_table) |
| const uint8_t | vr_test_mode_table_dafault_size = ARRAY_SIZE(vr_test_mode_table_default) |
| const uint8_t | vr_mps_test_mode_table_size = ARRAY_SIZE(vr_mps_test_mode_table) |
| const uint8_t | vr_mps_normal_mode_table_size = ARRAY_SIZE(vr_mps_normal_mode_table) |
| bool dma_read_vr | ( | uint8_t | rail, |
| uint16_t | reg, | ||
| uint8_t * | data, | ||
| uint8_t | len | ||
| ) |
| bool dma_write_vr | ( | uint8_t | rail, |
| uint16_t | reg, | ||
| uint8_t * | data, | ||
| uint8_t | len | ||
| ) |
| bool get_vr_fixed_uvp_ovp_enable | ( | uint8_t | rail | ) |

| bool get_vr_offset_uvp_ovp | ( | uint8_t | rail, |
| uint16_t * | uvp, | ||
| uint16_t * | ovp | ||
| ) |

| bool get_vr_test_mode_flag | ( | void | ) |
| void init_vr_test_mode_polling | ( | void | ) |

| K_KERNEL_STACK_MEMBER | ( | vr_test_mode_thread_stack | , |
| 512 | |||
| ) |
| LOG_MODULE_REGISTER | ( | plat_vr_test_mode | ) |
| bool set_vr_fixed_uvp_ovp_enable | ( | uint8_t | rail, |
| uint8_t | enable | ||
| ) |

| bool use_offset_uvp_ovp | ( | uint8_t | rail | ) |
| void vr_test_mode_enable | ( | bool | onoff | ) |

| void vr_test_mode_handler | ( | void * | arg1, |
| void * | arg2, | ||
| void * | arg3 | ||
| ) |
| const mps_vr_test_mode_setting_t vr_mps_normal_mode_table[] |
| const uint8_t vr_mps_normal_mode_table_size = ARRAY_SIZE(vr_mps_normal_mode_table) |
| const mps_vr_test_mode_setting_t vr_mps_test_mode_table[] |
| const uint8_t vr_mps_test_mode_table_size = ARRAY_SIZE(vr_mps_test_mode_table) |
| bool vr_test_mode_flag = false |
| const vr_test_mode_setting_t vr_test_mode_table[] |
| const uint8_t vr_test_mode_table_dafault_size = ARRAY_SIZE(vr_test_mode_table_default) |
| const vr_test_mode_setting_t vr_test_mode_table_default[] |
| const uint8_t vr_test_mode_table_size = ARRAY_SIZE(vr_test_mode_table) |
| struct k_thread vr_test_mode_thread |
| k_tid_t vr_test_mode_tid |