Lines Matching refs:ctx_pmds

99 #define PMC_OVFL_NOTIFY(ctx, i)	((ctx)->ctx_pmds[i].flags &  PFM_REGFL_OVFL_NOTIFY)
311 pfm_counter_t ctx_pmds[PFM_NUM_PMD_REGS]; /* software state for PMDS */ member
760 return ctx->ctx_pmds[i].val + (ia64_get_pmd(i) & pmu_conf->ovfl_val); in pfm_read_soft_counter()
771 ctx->ctx_pmds[i].val = val & ~ovfl_val; in pfm_write_soft_counter()
970 ctx->ctx_pmds[i].val += (val & ovfl_mask); in pfm_mask_monitoring()
972 ctx->ctx_pmds[i].val = val; in pfm_mask_monitoring()
976 ctx->ctx_pmds[i].val, in pfm_mask_monitoring()
1056 val = ctx->ctx_pmds[i].val & ovfl_mask; in pfm_restore_monitoring()
1057 ctx->ctx_pmds[i].val &= ~ovfl_mask; in pfm_restore_monitoring()
1059 val = ctx->ctx_pmds[i].val; in pfm_restore_monitoring()
1065 ctx->ctx_pmds[i].val, in pfm_restore_monitoring()
1145 val = ctx->ctx_pmds[i].val; in pfm_copy_pmds()
1154 ctx->ctx_pmds[i].val = val & ~ovfl_val; in pfm_copy_pmds()
1162 ctx->ctx_pmds[i].val)); in pfm_copy_pmds()
2788 ctx->ctx_pmds[i].val = val = pfm_new_counter_value(ctx->ctx_pmds+ i, is_long_reset); in pfm_reset_regs_masked()
2789 reset_others |= ctx->ctx_pmds[i].reset_pmds[0]; in pfm_reset_regs_masked()
2801 ctx->ctx_pmds[i].val = val = pfm_new_counter_value(ctx->ctx_pmds + i, is_long_reset); in pfm_reset_regs_masked()
2831 val = pfm_new_counter_value(ctx->ctx_pmds+ i, is_long_reset); in pfm_reset_regs()
2832 reset_others |= ctx->ctx_pmds[i].reset_pmds[0]; in pfm_reset_regs()
2846 val = pfm_new_counter_value(ctx->ctx_pmds + i, is_long_reset); in pfm_reset_regs()
2995 ctx->ctx_pmds[cnum].flags = flags; in pfm_write_pmcs()
2997 ctx->ctx_pmds[cnum].reset_pmds[0] = reset_pmds; in pfm_write_pmcs()
2998 ctx->ctx_pmds[cnum].smpl_pmds[0] = smpl_pmds; in pfm_write_pmcs()
2999 ctx->ctx_pmds[cnum].eventid = req->reg_smpl_eventid; in pfm_write_pmcs()
3080 ctx->ctx_pmds[cnum].eventid, in pfm_write_pmcs()
3180 ctx->ctx_pmds[cnum].lval = value; in pfm_write_pmds()
3193 ctx->ctx_pmds[cnum].long_reset = req->reg_long_reset; in pfm_write_pmds()
3194 ctx->ctx_pmds[cnum].short_reset = req->reg_short_reset; in pfm_write_pmds()
3199 ctx->ctx_pmds[cnum].seed = req->reg_random_seed; in pfm_write_pmds()
3200 ctx->ctx_pmds[cnum].mask = req->reg_random_mask; in pfm_write_pmds()
3205 ctx->ctx_pmds[cnum].val = value; in pfm_write_pmds()
3258 ctx->ctx_pmds[cnum].val, in pfm_write_pmds()
3259 ctx->ctx_pmds[cnum].short_reset, in pfm_write_pmds()
3260 ctx->ctx_pmds[cnum].long_reset, in pfm_write_pmds()
3262 ctx->ctx_pmds[cnum].seed, in pfm_write_pmds()
3263 ctx->ctx_pmds[cnum].mask, in pfm_write_pmds()
3265 ctx->ctx_pmds[cnum].reset_pmds[0], in pfm_write_pmds()
3365 sval = ctx->ctx_pmds[cnum].val; in pfm_read_pmds()
3366 lval = ctx->ctx_pmds[cnum].lval; in pfm_read_pmds()
5262 old_val = new_val = ctx->ctx_pmds[i].val; in pfm_overflow_handler()
5264 ctx->ctx_pmds[i].val = new_val; in pfm_overflow_handler()
5319 ovfl_arg->smpl_pmds[0] = smpl_pmds = ctx->ctx_pmds[i].smpl_pmds[0]; in pfm_overflow_handler()
5321 ovfl_arg->pmd_value = ctx->ctx_pmds[i].val; in pfm_overflow_handler()
5322 ovfl_arg->pmd_last_reset = ctx->ctx_pmds[i].lval; in pfm_overflow_handler()
5323 ovfl_arg->pmd_eventid = ctx->ctx_pmds[i].eventid; in pfm_overflow_handler()
6401 ctx->ctx_pmds[i].val, in pfm_flush_pmds()
6407 val = ctx->ctx_pmds[i].val + (val & ovfl_val); in pfm_flush_pmds()
6429 ctx->ctx_pmds[i].val = val; in pfm_flush_pmds()