Home
last modified time | relevance | path

Searched refs:RTC_SECONDS (Results 1 – 8 of 8) sorted by relevance

/rk3399_rockchip-uboot/drivers/rtc/
H A Dds164x.c42 #define RTC_SECONDS ( RTC_BASE + 0x01 ) macro
48 #define RTC_CONTROLB RTC_SECONDS /* OSC=bit7 */
66 sec = rtc_read( RTC_SECONDS ); in rtc_get()
123 rtc_write( RTC_SECONDS, bin2bcd( tmp->tm_sec )); in rtc_set()
H A Dds1556.c36 #define RTC_SECONDS ( RTC_BASE + 0x9 ) macro
40 #define RTC_CONTROLB RTC_SECONDS
66 sec = rtc_read( RTC_SECONDS ); in rtc_get()
123 rtc_write( RTC_SECONDS, bin2bcd( tmp->tm_sec )); in rtc_set()
H A Dds174x.c33 #define RTC_SECONDS ( RTC_BASE + 1 ) macro
37 #define RTC_CONTROLB RTC_SECONDS
63 sec = rtc_read( RTC_SECONDS ); in rtc_get()
120 rtc_write( RTC_SECONDS, bin2bcd( tmp->tm_sec )); in rtc_set()
H A Dmc146818.c29 #define RTC_SECONDS 0x00 macro
93 sec = mc146818_read8(RTC_SECONDS); in mc146818_get()
149 mc146818_write8(RTC_SECONDS, bin2bcd(tmp->tm_sec)); in mc146818_set()
H A Dmk48t59.c90 sec = rtc_read (RTC_SECONDS); in rtc_get()
151 rtc_write (RTC_SECONDS, bin2bcd(tmp->tm_sec )); in rtc_set()
H A Dds1306.c25 #define RTC_SECONDS 0x00 macro
306 sec = rtc_read (RTC_SECONDS); in rtc_get()
373 rtc_write (RTC_SECONDS, bin2bcd (tmp->tm_sec)); in rtc_set()
/rk3399_rockchip-uboot/include/
H A Dmk48t59.h20 #define RTC_SECONDS 0x1FF9 macro
/rk3399_rockchip-uboot/include/linux/
H A Dmc146818rtc.h21 #define RTC_SECONDS 0 macro