Home
last modified time | relevance | path

Searched refs:bbpu (Results 1 – 4 of 4) sorted by relevance

/arm-trusted-firmware-2.8.0/plat/mediatek/drivers/rtc/
A Drtc_mt6359p.c109 uint16_t bbpu; in rtc_power_off_sequence() local
122 bbpu = RTC_BBPU_KEY | RTC_BBPU_PWREN; in rtc_power_off_sequence()
126 bbpu | RTC_BBPU_RESET_ALARM | RTC_BBPU_RESET_SPAR); in rtc_power_off_sequence()
134 bbpu = RTC_Read(RTC_BBPU); in rtc_power_off_sequence()
136 if (((bbpu & RTC_BBPU_RESET_ALARM) > 0) || in rtc_power_off_sequence()
137 ((bbpu & RTC_BBPU_RESET_SPAR) > 0)) { in rtc_power_off_sequence()
141 bbpu = RTC_Read(RTC_BBPU) | RTC_BBPU_KEY | RTC_BBPU_RELOAD; in rtc_power_off_sequence()
142 RTC_Write(RTC_BBPU, bbpu); in rtc_power_off_sequence()
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8186/drivers/rtc/
A Drtc.c36 uint16_t bbpu; in rtc_xosc_write() local
47 bbpu = RTC_Read(RTC_BBPU) | RTC_BBPU_KEY | RTC_BBPU_RELOAD; in rtc_xosc_write()
48 RTC_Write(RTC_BBPU, bbpu); in rtc_xosc_write()
112 uint16_t bbpu; in rtc_power_off_sequence() local
118 bbpu = RTC_BBPU_KEY | RTC_BBPU_CLR | RTC_BBPU_PWREN; in rtc_power_off_sequence()
120 RTC_Write(RTC_BBPU, bbpu); in rtc_power_off_sequence()
126 bbpu = RTC_Read(RTC_BBPU) | RTC_BBPU_KEY | RTC_BBPU_RELOAD; in rtc_power_off_sequence()
127 RTC_Write(RTC_BBPU, bbpu); in rtc_power_off_sequence()
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8183/drivers/rtc/
A Drtc.c36 uint16_t bbpu; in rtc_xosc_write() local
47 bbpu = RTC_Read(RTC_BBPU) | RTC_BBPU_KEY | RTC_BBPU_RELOAD; in rtc_xosc_write()
48 RTC_Write(RTC_BBPU, bbpu); in rtc_xosc_write()
112 uint16_t bbpu; in rtc_power_off_sequence() local
118 bbpu = RTC_BBPU_KEY | RTC_BBPU_CLR | RTC_BBPU_PWREN; in rtc_power_off_sequence()
120 RTC_Write(RTC_BBPU, bbpu); in rtc_power_off_sequence()
126 bbpu = RTC_Read(RTC_BBPU) | RTC_BBPU_KEY | RTC_BBPU_RELOAD; in rtc_power_off_sequence()
127 RTC_Write(RTC_BBPU, bbpu); in rtc_power_off_sequence()
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8173/drivers/rtc/
A Drtc.c15 uint16_t bbpu; in rtc_bbpu_power_down() local
18 bbpu = RTC_BBPU_KEY | RTC_BBPU_AUTO | RTC_BBPU_PWREN; in rtc_bbpu_power_down()
20 RTC_Write(RTC_BBPU, bbpu); in rtc_bbpu_power_down()

Completed in 7 milliseconds