Lines Matching refs:reg8
131 u8 reg8; in pch_power_options() local
180 reg8 = inb(0x61); in pch_power_options()
181 reg8 &= 0x0f; /* Higher Nibble must be 0 */ in pch_power_options()
182 reg8 &= ~(1 << 3); /* IOCHK# NMI Enable */ in pch_power_options()
183 reg8 |= (1 << 2); /* PCI SERR# Disable for now */ in pch_power_options()
184 outb(reg8, 0x61); in pch_power_options()
186 reg8 = inb(0x70); in pch_power_options()
191 reg8 &= ~(1 << 7); /* Set NMI. */ in pch_power_options()
195 reg8 |= (1 << 7); in pch_power_options()
197 outb(reg8, 0x70); in pch_power_options()
238 u8 reg8; in pch_rtc_init() local
240 dm_pci_read_config8(pch, GEN_PMCON_3, ®8); in pch_rtc_init()
241 rtc_failed = reg8 & RTC_BATTERY_DEAD; in pch_rtc_init()
243 reg8 &= ~RTC_BATTERY_DEAD; in pch_rtc_init()
244 dm_pci_write_config8(pch, GEN_PMCON_3, reg8); in pch_rtc_init()
386 u8 reg8; in pch_disable_smm_only_flashing() local
389 dm_pci_read_config8(pch, 0xdc, ®8); /* BIOS_CNTL */ in pch_disable_smm_only_flashing()
390 reg8 &= ~(1 << 5); in pch_disable_smm_only_flashing()
391 dm_pci_write_config8(pch, 0xdc, reg8); in pch_disable_smm_only_flashing()