Lines Matching refs:ctl2
1317 uint64_t ctl2; in gcpu_mca_init() local
1319 (void) cmi_hdl_rdmsr(hdl, IA32_MSR_MC_CTL2(i), &ctl2); in gcpu_mca_init()
1320 if (ctl2 & MSR_MC_CTL2_EN) in gcpu_mca_init()
1322 ctl2 |= MSR_MC_CTL2_EN; in gcpu_mca_init()
1323 (void) cmi_hdl_wrmsr(hdl, IA32_MSR_MC_CTL2(i), ctl2); in gcpu_mca_init()
1324 (void) cmi_hdl_rdmsr(hdl, IA32_MSR_MC_CTL2(i), &ctl2); in gcpu_mca_init()
1326 (ctl2 & MSR_MC_CTL2_EN) ? 1 : 0; in gcpu_mca_init()
1333 ctl2 = (ctl2 & (~MSR_MC_CTL2_EN)) | 1; in gcpu_mca_init()
1334 (void) cmi_hdl_wrmsr(hdl, IA32_MSR_MC_CTL2(i), ctl2); in gcpu_mca_init()
1608 uint64_t ctl2; in gcpu_cmci_logout() local
1630 IA32_MSR_MC_CTL2(bank), &ctl2); in gcpu_cmci_logout()
1631 ctl2 |= MSR_MC_CTL2_EN; in gcpu_cmci_logout()
1633 IA32_MSR_MC_CTL2(bank), ctl2); in gcpu_cmci_logout()
1654 uint64_t ctl2 = 0; in gcpu_cmci_throttle() local
1671 &ctl2); in gcpu_cmci_throttle()
1672 ctl2 &= ~MSR_MC_CTL2_EN; in gcpu_cmci_throttle()
1674 ctl2); in gcpu_cmci_throttle()