OpenBIC
OpenSource Bridge-IC
|
#include <zephyr.h>
#include <stdio.h>
#include <stdlib.h>
#include <logging/log.h>
#include <sys/timeutil.h>
#include "plat_datetime.h"
#include "pldm_firmware_update.h"
#include "mctp.h"
#include "pldm.h"
Functions | |
LOG_MODULE_REGISTER (plat_datetime) | |
K_WORK_DEFINE (rtc_sync_work, rtc_sync_work_handler) | |
int | get_datetime_from_bmc (struct tm *tm_now) |
K_TIMER_DEFINE (rtc_sync_timer, rtc_sync_timer_handler, NULL) | |
void | rtc_init_once (void) |
time_t | rtc_time (time_t *tloc) |
void | rtc_get_tm (struct tm *tm_now) |
int get_datetime_from_bmc | ( | struct tm * | tm_now | ) |
K_TIMER_DEFINE | ( | rtc_sync_timer | , |
rtc_sync_timer_handler | , | ||
NULL | |||
) |
K_WORK_DEFINE | ( | rtc_sync_work | , |
rtc_sync_work_handler | |||
) |
LOG_MODULE_REGISTER | ( | plat_datetime | ) |
void rtc_get_tm | ( | struct tm * | tm_now | ) |
void rtc_init_once | ( | void | ) |
time_t rtc_time | ( | time_t * | tloc | ) |