Lines Matching refs:new
208 static int setup_APIC_mce_threshold(int reserved, int new) in setup_APIC_mce_threshold() argument
210 if (reserved < 0 && !setup_APIC_eilvt(new, THRESHOLD_APIC_VECTOR, in setup_APIC_mce_threshold()
212 return new; in setup_APIC_mce_threshold()
217 static int setup_APIC_deferred_error(int reserved, int new) in setup_APIC_deferred_error() argument
219 if (reserved < 0 && !setup_APIC_eilvt(new, DEFERRED_ERROR_VECTOR, in setup_APIC_deferred_error()
221 return new; in setup_APIC_deferred_error()
257 int offset = -1, new; in mce_amd_feature_init() local
296 new = (high & MASK_LVTOFF_HI) >> 20; in mce_amd_feature_init()
297 offset = setup_APIC_mce_threshold(offset, new); in mce_amd_feature_init()
299 if ((offset == new) && in mce_amd_feature_init()
458 unsigned long new; in SHOW_FIELDS() local
463 if (kstrtoul(buf, 0, &new) < 0) in SHOW_FIELDS()
466 b->interrupt_enable = !!new; in SHOW_FIELDS()
480 unsigned long new; in store_threshold_limit() local
482 if (kstrtoul(buf, 0, &new) < 0) in store_threshold_limit()
485 if (new > THRESHOLD_MAX) in store_threshold_limit()
486 new = THRESHOLD_MAX; in store_threshold_limit()
487 if (new < 1) in store_threshold_limit()
488 new = 1; in store_threshold_limit()
492 b->threshold_limit = new; in store_threshold_limit()