Home
last modified time | relevance | path

Searched refs:RTC_Write (Results 1 – 9 of 9) sorted by relevance

/trusted-firmware-a-3.6.0-3.5.0/plat/mediatek/drivers/rtc/
Drtc_mt6359p.c22 RTC_Write(addr, pmic_reg); in RTC_Config_Interface()
31 RTC_Write(RTC_AL_SEC, reboot); in rtc_disable_2sec_reboot()
47 RTC_Write(RTC_AL_SEC, alm_sec); in rtc_enable_k_eosc()
53 RTC_Write(RTC_CON, RTC_LPD_EN); in rtc_enable_k_eosc()
59 RTC_Write(RTC_CON, RTC_LPD_RST); in rtc_enable_k_eosc()
65 RTC_Write(RTC_CON, RTC_LPD_EN); in rtc_enable_k_eosc()
71 RTC_Write(RTC_POWERKEY1, RTC_POWERKEY1_KEY); in rtc_enable_k_eosc()
72 RTC_Write(RTC_POWERKEY2, RTC_POWERKEY2_KEY); in rtc_enable_k_eosc()
81 RTC_Write(RTC_AL_DOW, alm_dow); in rtc_enable_k_eosc()
87 RTC_Write(RTC_BBPU, in rtc_enable_k_eosc()
[all …]
Drtc_common.c27 void RTC_Write(uint32_t addr, uint16_t data) in RTC_Write() function
49 RTC_Write(RTC_WRTGR, 1); in RTC_Write_Trigger()
55 RTC_Write(RTC_PROT, RTC_PROT_UNLOCK1); in Writeif_unlock()
58 RTC_Write(RTC_PROT, RTC_PROT_UNLOCK2); in Writeif_unlock()
Drtc_mt6359p.h191 void RTC_Write(uint32_t addr, uint16_t data);
/trusted-firmware-a-3.6.0-3.5.0/plat/mediatek/mt8186/drivers/rtc/
Drtc.c21 RTC_Write(addr, pmic_reg); in RTC_Config_Interface()
30 RTC_Write(RTC_AL_SEC, reboot); in rtc_disable_2sec_reboot()
38 RTC_Write(RTC_OSC32CON, RTC_OSC32CON_UNLOCK1); in rtc_xosc_write()
40 RTC_Write(RTC_OSC32CON, RTC_OSC32CON_UNLOCK2); in rtc_xosc_write()
43 RTC_Write(RTC_OSC32CON, val); in rtc_xosc_write()
48 RTC_Write(RTC_BBPU, bbpu); in rtc_xosc_write()
97 RTC_Write(RTC_BBPU, 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()
120 RTC_Write(RTC_BBPU, bbpu); in rtc_power_off_sequence()
122 RTC_Write(RTC_AL_MASK, RTC_AL_MASK_DOW); in rtc_power_off_sequence()
[all …]
Drtc.h139 void RTC_Write(uint32_t addr, uint16_t data);
/trusted-firmware-a-3.6.0-3.5.0/plat/mediatek/mt8183/drivers/rtc/
Drtc.c21 RTC_Write(addr, pmic_reg); in RTC_Config_Interface()
30 RTC_Write(RTC_AL_SEC, reboot); in rtc_disable_2sec_reboot()
38 RTC_Write(RTC_OSC32CON, RTC_OSC32CON_UNLOCK1); in rtc_xosc_write()
40 RTC_Write(RTC_OSC32CON, RTC_OSC32CON_UNLOCK2); in rtc_xosc_write()
43 RTC_Write(RTC_OSC32CON, val); in rtc_xosc_write()
48 RTC_Write(RTC_BBPU, bbpu); in rtc_xosc_write()
97 RTC_Write(RTC_BBPU, 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()
120 RTC_Write(RTC_BBPU, bbpu); in rtc_power_off_sequence()
122 RTC_Write(RTC_AL_MASK, RTC_AL_MASK_DOW); in rtc_power_off_sequence()
[all …]
Drtc.h141 void RTC_Write(uint32_t addr, uint16_t data);
/trusted-firmware-a-3.6.0-3.5.0/plat/mediatek/mt8173/drivers/rtc/
Drtc.c20 RTC_Write(RTC_BBPU, bbpu); in rtc_bbpu_power_down()
Drtc.h54 void RTC_Write(uint32_t addr, uint16_t data);