Lines Matching refs:tr

379 	struct thresh_restart *tr = _tr;  in threshold_restart_bank()  local
382 rdmsr(tr->b->address, lo, hi); in threshold_restart_bank()
384 if (tr->b->threshold_limit < (hi & THRESHOLD_MAX)) in threshold_restart_bank()
385 tr->reset = 1; /* limit cannot be lower than err count */ in threshold_restart_bank()
387 if (tr->reset) { /* reset err count and overflow bit */ in threshold_restart_bank()
390 (THRESHOLD_MAX - tr->b->threshold_limit); in threshold_restart_bank()
391 } else if (tr->old_limit) { /* change limit w/o reset */ in threshold_restart_bank()
393 (tr->old_limit - tr->b->threshold_limit); in threshold_restart_bank()
402 if (!tr->b->interrupt_capable) in threshold_restart_bank()
405 if (tr->set_lvt_off) { in threshold_restart_bank()
406 if (lvt_off_valid(tr->b, tr->lvt_off, lo, hi)) { in threshold_restart_bank()
409 hi |= tr->lvt_off << 20; in threshold_restart_bank()
413 if (tr->b->interrupt_enable) in threshold_restart_bank()
419 wrmsr(tr->b->address, lo, hi); in threshold_restart_bank()
424 struct thresh_restart tr = { in mce_threshold_block_init() local
431 threshold_restart_bank(&tr); in mce_threshold_block_init()
989 struct thresh_restart tr; in log_and_reset_block() local
1005 memset(&tr, 0, sizeof(tr)); in log_and_reset_block()
1006 tr.b = block; in log_and_reset_block()
1007 threshold_restart_bank(&tr); in log_and_reset_block()
1058 struct thresh_restart tr; in SHOW_FIELDS() local
1069 memset(&tr, 0, sizeof(tr)); in SHOW_FIELDS()
1070 tr.b = b; in SHOW_FIELDS()
1072 smp_call_function_single(b->cpu, threshold_restart_bank, &tr, 1); in SHOW_FIELDS()
1080 struct thresh_restart tr; in store_threshold_limit() local
1091 memset(&tr, 0, sizeof(tr)); in store_threshold_limit()
1092 tr.old_limit = b->threshold_limit; in store_threshold_limit()
1094 tr.b = b; in store_threshold_limit()
1096 smp_call_function_single(b->cpu, threshold_restart_bank, &tr, 1); in store_threshold_limit()