|
OpenBIC
OpenSource Bridge-IC
|
#include "plat_kernel_obj.h"#include "plat_gpio.h"#include "plat_log.h"#include "plat_hook.h"#include <shell_plat_power_sequence.h>#include <logging/log.h>
Functions | |
| LOG_MODULE_REGISTER (plat_kernel) | |
| K_TIMER_DEFINE (ragular_cpld_polling_sem_timer, plat_ragular_cpld_polling_sem_handler, NULL) | |
| void | plat_ragular_cpld_polling_sem_handler (struct k_timer *timer) |
| void | plat_activate_cpld_polling_semaphore_timer (void) |
| void | plat_wait_for_cpld_polling_trigger (void) |
| void | plat_trigger_cpld_polling (void) |
| void | plat_check_ubc_delayed_timer_handler (struct k_timer *timer) |
| K_TIMER_DEFINE (check_ubc_delayed_timer, plat_check_ubc_delayed_timer_handler, NULL) | |
| void | plat_update_ubc_status (void) |
| bool | plat_get_ubc_status (void) |
| void | pwr_sequence_event_timer_handler (struct k_timer *timer) |
| K_TIMER_DEFINE (pwr_sequence_event_work_timer, pwr_sequence_event_timer_handler, NULL) | |
| void | pwr_sequence_event (struct k_work *work) |
| K_WORK_DEFINE (pwr_sequence_event_work, pwr_sequence_event) | |
| void | plat_handle_pwr_sequence_event (void) |
| int | pwr_level_mutex_lock (k_timeout_t timeout) |
| int | pwr_level_mutex_unlock (void) |
| void | pwr_level_mutex_init (void) |
Variables | |
| bool | ubc_status = false |
| K_TIMER_DEFINE | ( | check_ubc_delayed_timer | , |
| plat_check_ubc_delayed_timer_handler | , | ||
| NULL | |||
| ) |
| K_TIMER_DEFINE | ( | pwr_sequence_event_work_timer | , |
| pwr_sequence_event_timer_handler | , | ||
| NULL | |||
| ) |
| K_TIMER_DEFINE | ( | ragular_cpld_polling_sem_timer | , |
| plat_ragular_cpld_polling_sem_handler | , | ||
| NULL | |||
| ) |
| K_WORK_DEFINE | ( | pwr_sequence_event_work | , |
| pwr_sequence_event | |||
| ) |
| LOG_MODULE_REGISTER | ( | plat_kernel | ) |
| void plat_activate_cpld_polling_semaphore_timer | ( | void | ) |
| void plat_check_ubc_delayed_timer_handler | ( | struct k_timer * | timer | ) |

| bool plat_get_ubc_status | ( | void | ) |
| void plat_handle_pwr_sequence_event | ( | void | ) |
| void plat_ragular_cpld_polling_sem_handler | ( | struct k_timer * | timer | ) |
| void plat_trigger_cpld_polling | ( | void | ) |
| void plat_update_ubc_status | ( | void | ) |
| void plat_wait_for_cpld_polling_trigger | ( | void | ) |
| void pwr_level_mutex_init | ( | void | ) |
| int pwr_level_mutex_lock | ( | k_timeout_t | timeout | ) |
| int pwr_level_mutex_unlock | ( | void | ) |
| void pwr_sequence_event | ( | struct k_work * | work | ) |

| void pwr_sequence_event_timer_handler | ( | struct k_timer * | timer | ) |
| bool ubc_status = false |