Lines Matching refs:ctx_soft_pmds

92 #define PMC_OVFL_NOTIFY(ctx, i)	((ctx)->ctx_soft_pmds[i].flags &  PFM_REGFL_OVFL_NOTIFY)
280 pfm_counter_t ctx_soft_pmds[IA64_NUM_PMD_REGS]; /* XXX: size should be dynamic */ member
584 return ctx->ctx_soft_pmds[i].val + (ia64_get_pmd(i) & pmu_conf.ovfl_val); in pfm_read_soft_counter()
590 ctx->ctx_soft_pmds[i].val = val & ~pmu_conf.ovfl_val; in pfm_write_soft_counter()
1456 val = pfm_new_counter_value(ctx->ctx_soft_pmds + i, is_long_reset); in pfm_reset_regs()
1457 reset_others |= ctx->ctx_soft_pmds[i].reset_pmds[0]; in pfm_reset_regs()
1474 val = pfm_new_counter_value(ctx->ctx_soft_pmds + i, is_long_reset); in pfm_reset_regs()
1602 ctx->ctx_soft_pmds[cnum].flags = flags; in pfm_write_pmcs()
1605 ctx->ctx_soft_pmds[cnum].reset_pmds[0] = reset_pmds; in pfm_write_pmcs()
1627 ctx->ctx_soft_pmds[cnum].flags, in pfm_write_pmcs()
1700 ctx->ctx_soft_pmds[cnum].lval = value; in pfm_write_pmds()
1701 ctx->ctx_soft_pmds[cnum].val = value & ~pmu_conf.ovfl_val; in pfm_write_pmds()
1705 ctx->ctx_soft_pmds[cnum].long_reset = tmp.reg_long_reset; in pfm_write_pmds()
1706 ctx->ctx_soft_pmds[cnum].short_reset = tmp.reg_short_reset; in pfm_write_pmds()
1708 ctx->ctx_soft_pmds[cnum].seed = tmp.reg_random_seed; in pfm_write_pmds()
1709 ctx->ctx_soft_pmds[cnum].mask = tmp.reg_random_mask; in pfm_write_pmds()
1728 ctx->ctx_soft_pmds[cnum].val, in pfm_write_pmds()
1729 ctx->ctx_soft_pmds[cnum].short_reset, in pfm_write_pmds()
1730 ctx->ctx_soft_pmds[cnum].long_reset, in pfm_write_pmds()
1734 ctx->ctx_soft_pmds[cnum].reset_pmds[0], ia64_psr(regs)->sp)); in pfm_write_pmds()
1832 val += ctx->ctx_soft_pmds[cnum].val; in pfm_read_pmds()
1834 lval = ctx->ctx_soft_pmds[cnum].lval; in pfm_read_pmds()
2874 h->last_reset_value = ovfl_mask ? ctx->ctx_soft_pmds[ffz(~ovfl_mask)].lval : 0UL; in pfm_record_sample()
2990 i, ia64_get_pmd(i), ctx->ctx_soft_pmds[i].val)); in pfm_overflow_handler()
2998 old_val = ctx->ctx_soft_pmds[i].val; in pfm_overflow_handler()
2999 ctx->ctx_soft_pmds[i].val += 1 + pmu_conf.ovfl_val; in pfm_overflow_handler()
3004 if (old_val > ctx->ctx_soft_pmds[i].val) { in pfm_overflow_handler()
3018 i, ctx->ctx_soft_pmds[i].val, old_val, in pfm_overflow_handler()
3944 ctx->ctx_soft_pmds[i].val, in pfm_flush_regs()
3948 ctx->ctx_soft_pmds[i].val += val & pmu_conf.ovfl_val; in pfm_flush_regs()
3961 ctx->ctx_soft_pmds[i].val += 1 + pmu_conf.ovfl_val; in pfm_flush_regs()
3963 task->pid, i, ctx->ctx_soft_pmds[i].val)); in pfm_flush_regs()
4099 nctx->ctx_soft_pmds[i].val = nctx->ctx_soft_pmds[i].lval & ~pmu_conf.ovfl_val; in pfm_inherit()
4100 thread->pmd[i] = nctx->ctx_soft_pmds[i].lval & pmu_conf.ovfl_val; in pfm_inherit()