Lines Matching refs:reg_a
56 unsigned char reg_a, xctrl_a, xctrl_b; in ip32_machine_power_off() local
59 reg_a = CMOS_READ(RTC_REG_A); in ip32_machine_power_off()
62 reg_a &= ~DS_REGA_DV2; in ip32_machine_power_off()
63 reg_a |= DS_REGA_DV1; in ip32_machine_power_off()
65 CMOS_WRITE(reg_a | DS_REGA_DV0, RTC_REG_A); in ip32_machine_power_off()
75 CMOS_WRITE(reg_a, RTC_REG_A); in ip32_machine_power_off()
94 unsigned char reg_a, reg_c, xctrl_a; in debounce() local
97 reg_a = CMOS_READ(RTC_REG_A); in debounce()
98 CMOS_WRITE(reg_a | DS_REGA_DV0, RTC_REG_A); in debounce()
108 CMOS_WRITE(reg_a & ~DS_REGA_DV0, RTC_REG_A); in debounce()
111 CMOS_WRITE(reg_a & ~DS_REGA_DV0, RTC_REG_A); in debounce()