Lines Matching refs:ctx_pmds
101 #define PMC_OVFL_NOTIFY(ctx, i) ((ctx)->ctx_pmds[i].flags & PFM_REGFL_OVFL_NOTIFY)
313 pfm_counter_t ctx_pmds[PFM_NUM_PMD_REGS]; /* software state for PMDS */ member
751 return ctx->ctx_pmds[i].val + (ia64_get_pmd(i) & pmu_conf->ovfl_val); in pfm_read_soft_counter()
762 ctx->ctx_pmds[i].val = val & ~ovfl_val; in pfm_write_soft_counter()
961 ctx->ctx_pmds[i].val += (val & ovfl_mask); in pfm_mask_monitoring()
963 ctx->ctx_pmds[i].val = val; in pfm_mask_monitoring()
967 ctx->ctx_pmds[i].val, in pfm_mask_monitoring()
1047 val = ctx->ctx_pmds[i].val & ovfl_mask; in pfm_restore_monitoring()
1048 ctx->ctx_pmds[i].val &= ~ovfl_mask; in pfm_restore_monitoring()
1050 val = ctx->ctx_pmds[i].val; in pfm_restore_monitoring()
1056 ctx->ctx_pmds[i].val, in pfm_restore_monitoring()
1136 val = ctx->ctx_pmds[i].val; in pfm_copy_pmds()
1145 ctx->ctx_pmds[i].val = val & ~ovfl_val; in pfm_copy_pmds()
1153 ctx->ctx_pmds[i].val)); in pfm_copy_pmds()
2741 ctx->ctx_pmds[i].val = val = pfm_new_counter_value(ctx->ctx_pmds+ i, is_long_reset); in pfm_reset_regs_masked()
2742 reset_others |= ctx->ctx_pmds[i].reset_pmds[0]; in pfm_reset_regs_masked()
2754 ctx->ctx_pmds[i].val = val = pfm_new_counter_value(ctx->ctx_pmds + i, is_long_reset); in pfm_reset_regs_masked()
2784 val = pfm_new_counter_value(ctx->ctx_pmds+ i, is_long_reset); in pfm_reset_regs()
2785 reset_others |= ctx->ctx_pmds[i].reset_pmds[0]; in pfm_reset_regs()
2799 val = pfm_new_counter_value(ctx->ctx_pmds + i, is_long_reset); in pfm_reset_regs()
2948 ctx->ctx_pmds[cnum].flags = flags; in pfm_write_pmcs()
2950 ctx->ctx_pmds[cnum].reset_pmds[0] = reset_pmds; in pfm_write_pmcs()
2951 ctx->ctx_pmds[cnum].smpl_pmds[0] = smpl_pmds; in pfm_write_pmcs()
2952 ctx->ctx_pmds[cnum].eventid = req->reg_smpl_eventid; in pfm_write_pmcs()
3033 ctx->ctx_pmds[cnum].eventid, in pfm_write_pmcs()
3133 ctx->ctx_pmds[cnum].lval = value; in pfm_write_pmds()
3146 ctx->ctx_pmds[cnum].long_reset = req->reg_long_reset; in pfm_write_pmds()
3147 ctx->ctx_pmds[cnum].short_reset = req->reg_short_reset; in pfm_write_pmds()
3152 ctx->ctx_pmds[cnum].seed = req->reg_random_seed; in pfm_write_pmds()
3153 ctx->ctx_pmds[cnum].mask = req->reg_random_mask; in pfm_write_pmds()
3158 ctx->ctx_pmds[cnum].val = value; in pfm_write_pmds()
3211 ctx->ctx_pmds[cnum].val, in pfm_write_pmds()
3212 ctx->ctx_pmds[cnum].short_reset, in pfm_write_pmds()
3213 ctx->ctx_pmds[cnum].long_reset, in pfm_write_pmds()
3215 ctx->ctx_pmds[cnum].seed, in pfm_write_pmds()
3216 ctx->ctx_pmds[cnum].mask, in pfm_write_pmds()
3218 ctx->ctx_pmds[cnum].reset_pmds[0], in pfm_write_pmds()
3318 sval = ctx->ctx_pmds[cnum].val; in pfm_read_pmds()
3319 lval = ctx->ctx_pmds[cnum].lval; in pfm_read_pmds()
5215 old_val = new_val = ctx->ctx_pmds[i].val; in pfm_overflow_handler()
5217 ctx->ctx_pmds[i].val = new_val; in pfm_overflow_handler()
5272 ovfl_arg->smpl_pmds[0] = smpl_pmds = ctx->ctx_pmds[i].smpl_pmds[0]; in pfm_overflow_handler()
5274 ovfl_arg->pmd_value = ctx->ctx_pmds[i].val; in pfm_overflow_handler()
5275 ovfl_arg->pmd_last_reset = ctx->ctx_pmds[i].lval; in pfm_overflow_handler()
5276 ovfl_arg->pmd_eventid = ctx->ctx_pmds[i].eventid; in pfm_overflow_handler()
6331 ctx->ctx_pmds[i].val, in pfm_flush_pmds()
6337 val = ctx->ctx_pmds[i].val + (val & ovfl_val); in pfm_flush_pmds()
6359 ctx->ctx_pmds[i].val = val; in pfm_flush_pmds()