Home
last modified time | relevance | path

Searched refs:RTC_CONTROLA (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/drivers/rtc/
Dds164x.c44 #define RTC_CONTROLA RTC_CONTROL /* W=bit6, R=bit5 */ macro
61 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()
63 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_READ )); in rtc_get()
74 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_READ )); in rtc_get()
113 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()
114 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_WRITE )); in rtc_set()
128 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_WRITE )); in rtc_set()
137 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
146 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
152 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
Dds1556.c38 #define RTC_CONTROLA RTC_CENTURY macro
61 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()
63 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_READ )); in rtc_get()
75 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_READ )); in rtc_get()
113 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()
114 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_WRITE )); in rtc_set()
129 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_WRITE )); in rtc_set()
138 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
147 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
153 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
Dds174x.c35 #define RTC_CONTROLA RTC_CENTURY macro
58 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()
60 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_READ )); in rtc_get()
72 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_READ )); in rtc_get()
110 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()
111 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_WRITE )); in rtc_set()
126 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_WRITE )); in rtc_set()
135 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
144 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
150 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
Dmk48t59.c83 save_ctrl_a = rtc_read(RTC_CONTROLA); in rtc_get()
87 rtc_write(RTC_CONTROLA, save_ctrl_a); in rtc_get()
99 rtc_write(RTC_CONTROLA, save_ctrl_a); in rtc_get()
138 save_ctrl_a = rtc_read(RTC_CONTROLA); in rtc_set()
141 rtc_write(RTC_CONTROLA, save_ctrl_a); /* disables the RTC to update the regs */ in rtc_set()
153 rtc_write(RTC_CONTROLA, save_ctrl_a); /* enables the RTC to update the regs */ in rtc_set()
/external/u-boot/include/
Dmk48t59.h27 #define RTC_CONTROLA 0x1FF8 macro