|
OpenBIC
OpenSource Bridge-IC
|
#include "hal_gpio.h"#include "util_sys.h"#include "util_worker.h"#include "pldm_monitor.h"#include "power_status.h"#include "plat_gpio.h"#include "plat_power_seq.h"#include "plat_pldm_monitor.h"#include "plat_pldm_sensor.h"#include "plat_isr.h"#include "plat_mctp.h"#include "plat_i2c_target.h"#include "libutil.h"#include "plat_class.h"#include <logging/log.h>
Macros | |
| #define | DEF_PLAT_CONFIG_PRIORITY 77 |
| #define | DEF_PROJ_GPIO_PRIORITY 78 |
Functions | |
| LOG_MODULE_REGISTER (plat_init) | |
| DEVICE_DEFINE (PRE_DEF_PLAT_CONFIG, "PRE_DEF_PLATFOMR", &init_platform_config, NULL, NULL, NULL, POST_KERNEL, DEF_PLAT_CONFIG_PRIORITY, NULL) | |
| DEVICE_DEFINE (PRE_DEF_PROJ_GPIO, "PRE_DEF_PROJ_GPIO_NAME", &gpio_init, NULL, NULL, NULL, POST_KERNEL, DEF_PROJ_GPIO_PRIORITY, NULL) | |
| K_WORK_DELAYABLE_DEFINE (cxl1_ready_check, cxl1_ready_handler) | |
| K_WORK_DELAYABLE_DEFINE (cxl2_ready_check, cxl2_ready_handler) | |
| void | pal_set_sys_status () |
| void | enable_gpio_debounce (void) |
| void | pal_pre_init () |
| void | pal_post_init () |
Variables | |
| SCU_CFG | scu_cfg [] |
| #define DEF_PLAT_CONFIG_PRIORITY 77 |
| #define DEF_PROJ_GPIO_PRIORITY 78 |
| DEVICE_DEFINE | ( | PRE_DEF_PLAT_CONFIG | , |
| "PRE_DEF_PLATFOMR" | , | ||
| & | init_platform_config, | ||
| NULL | , | ||
| NULL | , | ||
| NULL | , | ||
| POST_KERNEL | , | ||
| DEF_PLAT_CONFIG_PRIORITY | , | ||
| NULL | |||
| ) |
| DEVICE_DEFINE | ( | PRE_DEF_PROJ_GPIO | , |
| "PRE_DEF_PROJ_GPIO_NAME" | , | ||
| & | gpio_init, | ||
| NULL | , | ||
| NULL | , | ||
| NULL | , | ||
| POST_KERNEL | , | ||
| DEF_PROJ_GPIO_PRIORITY | , | ||
| NULL | |||
| ) |
| void enable_gpio_debounce | ( | void | ) |
| K_WORK_DELAYABLE_DEFINE | ( | cxl1_ready_check | , |
| cxl1_ready_handler | |||
| ) |
| K_WORK_DELAYABLE_DEFINE | ( | cxl2_ready_check | , |
| cxl2_ready_handler | |||
| ) |
| LOG_MODULE_REGISTER | ( | plat_init | ) |
| void pal_post_init | ( | ) |

| void pal_pre_init | ( | ) |

| void pal_set_sys_status | ( | ) |

| SCU_CFG scu_cfg[] |