Home
last modified time | relevance | path

Searched refs:reg_a (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/arch/mips/sgi-ip32/
Dip32-reset.c56 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()
[all …]