Lines Matching refs:reg_a
54 uchar reg_a; in rtc_get() local
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()
101 uchar reg_a; in rtc_set() local
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()
131 uchar reg_a, reg_b, reg_c; in rtc_reset() local
133 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
139 reg_a |= RTC_CA_WRITE; in rtc_reset()
142 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
147 reg_a &= ~( RTC_CA_WRITE | RTC_CA_READ ); in rtc_reset()
148 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()