Lines Matching refs:reg_a
56 uchar reg_a; in rtc_get() local
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()
103 uchar reg_a; in rtc_set() local
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()
133 uchar reg_a, reg_b, reg_c; in rtc_reset() local
135 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
141 reg_a |= RTC_CA_WRITE; in rtc_reset()
144 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
149 reg_a &= ~( RTC_CA_WRITE | RTC_CA_READ ); in rtc_reset()
150 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()