Home
last modified time | relevance | path

Searched refs:RTC_Read (Results 1 – 6 of 6) sorted by relevance

/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/rtc/
Drtc.c16 pmic_reg = RTC_Read(addr); in RTC_Config_Interface()
28 reboot = (RTC_Read(RTC_AL_SEC) & ~RTC_BBPU_2SEC_EN) & in rtc_disable_2sec_reboot()
47 bbpu = RTC_Read(RTC_BBPU) | RTC_BBPU_KEY | RTC_BBPU_RELOAD; in rtc_xosc_write()
98 RTC_Read(RTC_BBPU) | RTC_BBPU_KEY | RTC_BBPU_RELOAD); in rtc_enable_k_eosc()
101 RTC_Write(RTC_AL_YEA, ((RTC_Read(RTC_AL_YEA) | RTC_K_EOSC_RSV_0) in rtc_enable_k_eosc()
105 osc32 = RTC_Read(RTC_OSC32CON); in rtc_enable_k_eosc()
126 bbpu = RTC_Read(RTC_BBPU) | RTC_BBPU_KEY | RTC_BBPU_RELOAD; in rtc_power_off_sequence()
130 RTC_Read(RTC_BBPU), RTC_Read(RTC_IRQ_EN), in rtc_power_off_sequence()
131 RTC_Read(RTC_AL_MASK), RTC_Read(RTC_AL_SEC)); in rtc_power_off_sequence()
Drtc.h140 uint16_t RTC_Read(uint32_t addr);
/external/arm-trusted-firmware/plat/mediatek/mt8192/drivers/rtc/
Drtc.c17 pmic_reg = RTC_Read(addr); in RTC_Config_Interface()
29 reboot = (RTC_Read(RTC_AL_SEC) & ~RTC_BBPU_2SEC_EN) & in rtc_disable_2sec_reboot()
46 alm_sec = RTC_Read(RTC_AL_SEC) & (~RTC_LPD_OPT_MASK); in rtc_enable_k_eosc()
79 alm_dow = (RTC_Read(RTC_AL_DOW) & (~RTC_RG_EOSC_CALI_TD_MASK)) | in rtc_enable_k_eosc()
88 RTC_Read(RTC_BBPU) | RTC_BBPU_KEY | RTC_BBPU_RELOAD); in rtc_enable_k_eosc()
95 RTC_Write(RTC_AL_YEA, (((RTC_Read(RTC_AL_YEA) | RTC_K_EOSC_RSV_0) in rtc_enable_k_eosc()
134 bbpu = RTC_Read(RTC_BBPU); in rtc_power_off_sequence()
141 bbpu = RTC_Read(RTC_BBPU) | RTC_BBPU_KEY | RTC_BBPU_RELOAD; in rtc_power_off_sequence()
Drtc.h190 uint16_t RTC_Read(uint32_t addr);
/external/arm-trusted-firmware/plat/mediatek/common/drivers/rtc/
Drtc_common.c19 uint16_t RTC_Read(uint32_t addr) in RTC_Read() function
38 if (!(RTC_Read(RTC_BBPU) & RTC_BBPU_CBUSY)) in rtc_busy_wait()
/external/arm-trusted-firmware/plat/mediatek/mt8173/drivers/rtc/
Drtc.h53 uint16_t RTC_Read(uint32_t addr);