Lines Matching refs:scfg
135 u8 scfg; in k8temp_probe() local
171 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
172 scfg &= ~(SEL_PLACE | SEL_CORE); /* Select sensor 0, core0 */ in k8temp_probe()
173 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
174 pci_read_config_byte(pdev, REG_TEMP, &scfg); in k8temp_probe()
176 if (scfg & (SEL_PLACE | SEL_CORE)) { in k8temp_probe()
181 scfg |= (SEL_PLACE | SEL_CORE); in k8temp_probe()
182 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
188 scfg &= ~SEL_CORE; /* Select sensor 1, core0 */ in k8temp_probe()
189 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()
191 scfg |= SEL_CORE; /* prepare for next selection */ in k8temp_probe()
197 scfg &= ~SEL_PLACE; /* Select sensor 0, core1 */ in k8temp_probe()
198 pci_write_config_byte(pdev, REG_TEMP, scfg); in k8temp_probe()