Home
last modified time | relevance | path

Searched refs:THRESHOLD_MAX (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c34 #define THRESHOLD_MAX 0xFFF macro
345 if (tr->b->threshold_limit < (hi & THRESHOLD_MAX)) in threshold_restart_bank()
351 (THRESHOLD_MAX - tr->b->threshold_limit); in threshold_restart_bank()
353 int new_count = (hi & THRESHOLD_MAX) + in threshold_restart_bank()
357 (new_count & THRESHOLD_MAX); in threshold_restart_bank()
391 b->threshold_limit = THRESHOLD_MAX; in mce_threshold_block_init()
1006 if (new > THRESHOLD_MAX) in store_threshold_limit()
1007 new = THRESHOLD_MAX; in store_threshold_limit()
1027 return sprintf(buf, "%u\n", ((hi & THRESHOLD_MAX) - in show_error_count()
1028 (THRESHOLD_MAX - b->threshold_limit))); in show_error_count()
[all …]