coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
rtc_osc_init.c File Reference
#include <soc/rtc.h>
#include <soc/rtc_common.h>
Include dependency graph for rtc_osc_init.c:

Go to the source code of this file.

Functions

static int rtc_eosc_cali (void)
 
void rtc_osc_init (void)
 

Function Documentation

◆ rtc_eosc_cali()

static int rtc_eosc_cali ( void  )
static

Definition at line 7 of file rtc_osc_init.c.

References ABS, PMIC_FQMTR_CKSEL_MASK, PMIC_FQMTR_CON0_FQM26M_CK, PMIC_FQMTR_FIX_CLK_EOSC_32K, PMIC_RG_FQMTR_CKSEL, RTC_FQMTR_HIGH_BASE, RTC_FQMTR_LOW_BASE, rtc_get_frequency_meter(), rtc_info, rtc_read(), rtc_write(), RTC_XOSCCALI_END, RTC_XOSCCALI_START, and val.

Referenced by rtc_osc_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rtc_osc_init()

void rtc_osc_init ( void  )

Definition at line 54 of file rtc_osc_init.c.