Lines Matching refs:high
269 u32 low, high; in smca_set_misc_banks_map() local
275 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_CONFIG(bank), &low, &high)) in smca_set_misc_banks_map()
281 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_MISC(bank), &low, &high)) in smca_set_misc_banks_map()
294 u32 high, low; in smca_configure() local
298 if (!rdmsr_safe(smca_config, &low, &high)) { in smca_configure()
308 high |= BIT(0); in smca_configure()
321 if ((low & BIT(5)) && !((high >> 5) & 0x3)) in smca_configure()
322 high |= BIT(5); in smca_configure()
326 wrmsr(smca_config, low, high); in smca_configure()
331 if (rdmsr_safe(MSR_AMD64_SMCA_MCx_IPID(bank), &low, &high)) { in smca_configure()
336 hwid_mcatype = HWID_MCATYPE(high & MCI_IPID_HWID, in smca_configure()
337 (high & MCI_IPID_MCATYPE) >> 16); in smca_configure()
504 u32 low = 0, high = 0; in deferred_error_interrupt_enable() local
507 if (rdmsr_safe(MSR_CU_DEF_ERR, &low, &high)) in deferred_error_interrupt_enable()
525 wrmsr(MSR_CU_DEF_ERR, low, high); in deferred_error_interrupt_enable()
540 static u32 get_block_address(u32 current_addr, u32 low, u32 high, in get_block_address() argument
684 u32 low = 0, high = 0, address = 0; in mce_amd_feature_init() local
695 address = get_block_address(address, low, high, bank, block, cpu); in mce_amd_feature_init()
699 if (rdmsr_safe(address, &low, &high)) in mce_amd_feature_init()
702 if (!(high & MASK_VALID_HI)) in mce_amd_feature_init()
705 if (!(high & MASK_CNTP_HI) || in mce_amd_feature_init()
706 (high & MASK_LOCKED_HI)) in mce_amd_feature_init()
709 offset = prepare_threshold_block(bank, block, address, offset, high); in mce_amd_feature_init()
907 u32 low = 0, high = 0; in log_and_reset_block() local
912 if (rdmsr_safe(block->address, &low, &high)) in log_and_reset_block()
915 if (!(high & MASK_OVERFLOW_HI)) in log_and_reset_block()
919 log_error_thresholding(block->bank, ((u64)high << 32) | low); in log_and_reset_block()
1145 u32 low, high; in allocate_threshold_blocks() local
1151 if (rdmsr_safe(address, &low, &high)) in allocate_threshold_blocks()
1154 if (!(high & MASK_VALID_HI)) { in allocate_threshold_blocks()
1161 if (!(high & MASK_CNTP_HI) || in allocate_threshold_blocks()
1162 (high & MASK_LOCKED_HI)) in allocate_threshold_blocks()
1174 b->interrupt_capable = lvt_interrupt_supported(bank, high); in allocate_threshold_blocks()
1196 address = get_block_address(address, low, high, bank, ++block, cpu); in allocate_threshold_blocks()