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()
75 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_READ )); in rtc_get()
106 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()
129 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_WRITE )); in rtc_set()
136 uchar reg_a, reg_b, reg_c; in rtc_reset() local
138 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset()
144 reg_a |= RTC_CA_WRITE; in rtc_reset()
147 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()
152 reg_a &= ~( RTC_CA_WRITE | RTC_CA_READ ); in rtc_reset()
153 rtc_write( RTC_CONTROLA, reg_a ); in rtc_reset()