|
OpenBIC
OpenSource Bridge-IC
|
#include <zephyr.h>#include <stdio.h>#include <string.h>#include "cmsis_os.h"#include "hal_gpio.h"#include "plat_gpio.h"#include "plat_isr.h"#include "plat_class.h"#include "plat_i2c.h"#include "plat_mctp.h"#include <logging/log.h>#include "libipmi.h"#include "plat_sensor_table.h"#include <errno.h>
Macros | |
| #define | gpio_name_to_num(x) #x, |
Enumerations | |
| enum | { IPMI_EVENT_OFFSET_SYS_VFPRESENT = 0xA8 } |
Functions | |
| LOG_MODULE_REGISTER (plat_gpio) | |
| bool | pal_load_gpio_config (void) |
| void | enable_PRDY_interrupt () |
| void | disable_PRDY_interrupt () |
| K_THREAD_STACK_DEFINE (monitor_vf_present_stack, 2048) | |
| void | vf_present_pin_monitor () |
| void | start_monitor_vf_present () |
Variables | |
| char * | gpio_name [] |
| GPIO_CFG | plat_gpio_cfg [] |
| struct k_thread | monitor_vf_present_thread |
| k_tid_t | monitor_vf_present_tid |
| #define gpio_name_to_num | ( | x | ) | #x, |
| void disable_PRDY_interrupt | ( | ) |

| void enable_PRDY_interrupt | ( | ) |

| K_THREAD_STACK_DEFINE | ( | monitor_vf_present_stack | , |
| 2048 | |||
| ) |
| LOG_MODULE_REGISTER | ( | plat_gpio | ) |
| bool pal_load_gpio_config | ( | void | ) |
| void start_monitor_vf_present | ( | ) |

| void vf_present_pin_monitor | ( | ) |

| char* gpio_name[] |
| struct k_thread monitor_vf_present_thread |
| k_tid_t monitor_vf_present_tid |
| GPIO_CFG plat_gpio_cfg[] |