Searched refs:RTC_CONTROLA (Results 1 – 5 of 5) sorted by relevance
/u-boot/drivers/rtc/ |
A D | ds164x.c | 42 #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 D | ds1556.c | 38 #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 D | ds174x.c | 33 #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 D | mk48t59.c | 81 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 D | mk48t59.h | 27 #define RTC_CONTROLA 0x1FF8 macro
|
Completed in 6 milliseconds