Lines Matching refs:tr

340 	struct thresh_restart *tr = _tr;  in threshold_restart_bank()  local
343 rdmsr(tr->b->address, lo, hi); in threshold_restart_bank()
345 if (tr->b->threshold_limit < (hi & THRESHOLD_MAX)) in threshold_restart_bank()
346 tr->reset = 1; /* limit cannot be lower than err count */ in threshold_restart_bank()
348 if (tr->reset) { /* reset err count and overflow bit */ in threshold_restart_bank()
351 (THRESHOLD_MAX - tr->b->threshold_limit); in threshold_restart_bank()
352 } else if (tr->old_limit) { /* change limit w/o reset */ in threshold_restart_bank()
354 (tr->old_limit - tr->b->threshold_limit); in threshold_restart_bank()
363 if (!tr->b->interrupt_capable) in threshold_restart_bank()
366 if (tr->set_lvt_off) { in threshold_restart_bank()
367 if (lvt_off_valid(tr->b, tr->lvt_off, lo, hi)) { in threshold_restart_bank()
370 hi |= tr->lvt_off << 20; in threshold_restart_bank()
374 if (tr->b->interrupt_enable) in threshold_restart_bank()
380 wrmsr(tr->b->address, lo, hi); in threshold_restart_bank()
385 struct thresh_restart tr = { in mce_threshold_block_init() local
392 threshold_restart_bank(&tr); in mce_threshold_block_init()
909 struct thresh_restart tr; in log_and_reset_block() local
925 memset(&tr, 0, sizeof(tr)); in log_and_reset_block()
926 tr.b = block; in log_and_reset_block()
927 threshold_restart_bank(&tr); in log_and_reset_block()
978 struct thresh_restart tr; in SHOW_FIELDS() local
989 memset(&tr, 0, sizeof(tr)); in SHOW_FIELDS()
990 tr.b = b; in SHOW_FIELDS()
992 smp_call_function_single(b->cpu, threshold_restart_bank, &tr, 1); in SHOW_FIELDS()
1000 struct thresh_restart tr; in store_threshold_limit() local
1011 memset(&tr, 0, sizeof(tr)); in store_threshold_limit()
1012 tr.old_limit = b->threshold_limit; in store_threshold_limit()
1014 tr.b = b; in store_threshold_limit()
1016 smp_call_function_single(b->cpu, threshold_restart_bank, &tr, 1); in store_threshold_limit()