Lines Matching refs:hi
117 static int lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi) in lvt_off_valid() argument
119 int msr = (hi & MASK_LVTOFF_HI) >> 20; in lvt_off_valid()
124 b->bank, b->block, b->address, hi, lo); in lvt_off_valid()
131 b->cpu, apic, b->bank, b->block, b->address, hi, lo); in lvt_off_valid()
145 u32 hi, lo; in threshold_restart_bank() local
147 rdmsr(tr->b->address, lo, hi); in threshold_restart_bank()
149 if (tr->b->threshold_limit < (hi & THRESHOLD_MAX)) in threshold_restart_bank()
153 hi = in threshold_restart_bank()
154 (hi & ~(MASK_ERR_COUNT_HI | MASK_OVERFLOW_HI)) | in threshold_restart_bank()
157 int new_count = (hi & THRESHOLD_MAX) + in threshold_restart_bank()
160 hi = (hi & ~MASK_ERR_COUNT_HI) | in threshold_restart_bank()
165 hi &= ~MASK_INT_TYPE_HI; in threshold_restart_bank()
171 if (lvt_off_valid(tr->b, tr->lvt_off, lo, hi)) { in threshold_restart_bank()
173 hi &= ~MASK_LVTOFF_HI; in threshold_restart_bank()
174 hi |= tr->lvt_off << 20; in threshold_restart_bank()
179 hi |= INT_TYPE_APIC; in threshold_restart_bank()
183 hi |= MASK_COUNT_EN_HI; in threshold_restart_bank()
184 wrmsr(tr->b->address, lo, hi); in threshold_restart_bank()
401 u32 lo, hi; in show_error_count() local
403 rdmsr_on_cpu(b->cpu, b->address, &lo, &hi); in show_error_count()
405 return sprintf(buf, "%u\n", ((hi & THRESHOLD_MAX) - in show_error_count()