Lines Matching refs:tr

425 	struct thresh_restart *tr = _tr;  in threshold_restart_bank()  local
429 if (!this_cpu_read(threshold_banks) && !tr->set_lvt_off) in threshold_restart_bank()
432 rdmsr(tr->b->address, lo, hi); in threshold_restart_bank()
438 if (hi & MASK_OVERFLOW_HI || tr->set_lvt_off) { in threshold_restart_bank()
440 hi |= THRESHOLD_MAX - tr->b->threshold_limit; in threshold_restart_bank()
441 } else if (tr->old_limit) { /* change limit w/o reset */ in threshold_restart_bank()
443 (tr->old_limit - tr->b->threshold_limit); in threshold_restart_bank()
452 if (!tr->b->interrupt_capable) in threshold_restart_bank()
455 if (tr->set_lvt_off) { in threshold_restart_bank()
456 if (lvt_off_valid(tr->b, tr->lvt_off, lo, hi)) { in threshold_restart_bank()
459 hi |= tr->lvt_off << 20; in threshold_restart_bank()
463 if (tr->b->interrupt_enable) in threshold_restart_bank()
469 wrmsr(tr->b->address, lo, hi); in threshold_restart_bank()
474 struct thresh_restart tr = { in mce_threshold_block_init() local
481 threshold_restart_bank(&tr); in mce_threshold_block_init()
906 struct thresh_restart tr; in log_and_reset_block() local
922 memset(&tr, 0, sizeof(tr)); in log_and_reset_block()
923 tr.b = block; in log_and_reset_block()
924 threshold_restart_bank(&tr); in log_and_reset_block()
984 struct thresh_restart tr; in SHOW_FIELDS() local
995 memset(&tr, 0, sizeof(tr)); in SHOW_FIELDS()
996 tr.b = b; in SHOW_FIELDS()
998 if (smp_call_function_single(b->cpu, threshold_restart_bank, &tr, 1)) in SHOW_FIELDS()
1007 struct thresh_restart tr; in store_threshold_limit() local
1018 memset(&tr, 0, sizeof(tr)); in store_threshold_limit()
1019 tr.old_limit = b->threshold_limit; in store_threshold_limit()
1021 tr.b = b; in store_threshold_limit()
1023 if (smp_call_function_single(b->cpu, threshold_restart_bank, &tr, 1)) in store_threshold_limit()