OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include "util_worker.h"
#include "ipmi.h"
#include "sensor.h"
#include "power_status.h"
#include "expansion_board.h"
#include "plat_sensor_table.h"
#include "plat_class.h"
#include "plat_hwmon.h"
#include "plat_m2.h"
#include "plat_isr.h"
#include "plat_power_seq.h"
#include "plat_led.h"
#include "plat_gpio.h"
#include "plat_util.h"
#include <logging/log.h>
Macros | |
#define | DEF_PROJ_GPIO_PRIORITY 78 |
Functions | |
LOG_MODULE_REGISTER (plat_init) | |
uint8_t | ina230_init (sensor_cfg *cfg) |
K_WORK_DELAYABLE_DEFINE (up_1sec_handler, BICup1secTickHandler) | |
K_WORK_DELAYABLE_DEFINE (up_5sec_handler, BICup5secTickHandler) | |
void | pal_pre_init () |
void | pal_set_sys_status () |
void | pal_post_init () |
DEVICE_DEFINE (PRE_DEF_PROJ_GPIO, "PRE_DEF_PROJ_GPIO_NAME", &gpio_init, NULL, NULL, NULL, POST_KERNEL, DEF_PROJ_GPIO_PRIORITY, NULL) | |
Variables | |
SCU_CFG | scu_cfg [] |
#define DEF_PROJ_GPIO_PRIORITY 78 |
DEVICE_DEFINE | ( | PRE_DEF_PROJ_GPIO | , |
"PRE_DEF_PROJ_GPIO_NAME" | , | ||
& | gpio_init, | ||
NULL | , | ||
NULL | , | ||
NULL | , | ||
POST_KERNEL | , | ||
DEF_PROJ_GPIO_PRIORITY | , | ||
NULL | |||
) |
uint8_t ina230_init | ( | sensor_cfg * | cfg | ) |
K_WORK_DELAYABLE_DEFINE | ( | up_1sec_handler | , |
BICup1secTickHandler | |||
) |
K_WORK_DELAYABLE_DEFINE | ( | up_5sec_handler | , |
BICup5secTickHandler | |||
) |
LOG_MODULE_REGISTER | ( | plat_init | ) |
void pal_post_init | ( | ) |
void pal_pre_init | ( | ) |
void pal_set_sys_status | ( | ) |
SCU_CFG scu_cfg[] |