Lines Matching refs:reg_a
59 uchar reg_a; in rtc_get() local
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()
105 uchar reg_a; in rtc_set() local
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()
135 uchar reg_a, reg_b; in rtc_reset() local
137 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
143 reg_a |= RTC_CA_WRITE; in rtc_reset()
146 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
151 reg_a &= ~( RTC_CA_WRITE | RTC_CA_READ ); in rtc_reset()
152 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()