Home
last modified time | relevance | path

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

/u-boot/drivers/rtc/
A Dds164x.c42 #define RTC_CONTROLA RTC_CONTROL /* W=bit6, R=bit5 */ macro
59 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()
61 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()
111 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()
112 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()
A 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()
A Dds174x.c33 #define RTC_CONTROLA RTC_CENTURY macro
56 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get()
58 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_READ )); in rtc_get()
70 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_READ )); in rtc_get()
108 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set()
109 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_WRITE )); in rtc_set()
124 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_WRITE )); in rtc_set()
133 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
142 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
148 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
A Dmk48t59.c81 save_ctrl_a = rtc_read(RTC_CONTROLA); in rtc_get()
85 rtc_write(RTC_CONTROLA, save_ctrl_a); in rtc_get()
97 rtc_write(RTC_CONTROLA, save_ctrl_a); in rtc_get()
136 save_ctrl_a = rtc_read(RTC_CONTROLA); in rtc_set()
139 rtc_write(RTC_CONTROLA, save_ctrl_a); /* disables the RTC to update the regs */ in rtc_set()
151 rtc_write(RTC_CONTROLA, save_ctrl_a); /* enables the RTC to update the regs */ in rtc_set()
/u-boot/include/
A Dmk48t59.h27 #define RTC_CONTROLA 0x1FF8 macro

Completed in 6 milliseconds