• Home
  • Raw
  • Download

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
749 return ctx->ctx_pmds[i].val + (ia64_get_pmd(i) & pmu_conf->ovfl_val); in pfm_read_soft_counter()
760 ctx->ctx_pmds[i].val = val & ~ovfl_val; in pfm_write_soft_counter()
959 ctx->ctx_pmds[i].val += (val & ovfl_mask); in pfm_mask_monitoring()
961 ctx->ctx_pmds[i].val = val; in pfm_mask_monitoring()
965 ctx->ctx_pmds[i].val, in pfm_mask_monitoring()
1045 val = ctx->ctx_pmds[i].val & ovfl_mask; in pfm_restore_monitoring()
1046 ctx->ctx_pmds[i].val &= ~ovfl_mask; in pfm_restore_monitoring()
1048 val = ctx->ctx_pmds[i].val; in pfm_restore_monitoring()
1054 ctx->ctx_pmds[i].val, in pfm_restore_monitoring()
1134 val = ctx->ctx_pmds[i].val; in pfm_copy_pmds()
1143 ctx->ctx_pmds[i].val = val & ~ovfl_val; in pfm_copy_pmds()
1151 ctx->ctx_pmds[i].val)); in pfm_copy_pmds()
2749 ctx->ctx_pmds[i].val = val = pfm_new_counter_value(ctx->ctx_pmds+ i, is_long_reset); in pfm_reset_regs_masked()
2750 reset_others |= ctx->ctx_pmds[i].reset_pmds[0]; in pfm_reset_regs_masked()
2762 ctx->ctx_pmds[i].val = val = pfm_new_counter_value(ctx->ctx_pmds + i, is_long_reset); in pfm_reset_regs_masked()
2792 val = pfm_new_counter_value(ctx->ctx_pmds+ i, is_long_reset); in pfm_reset_regs()
2793 reset_others |= ctx->ctx_pmds[i].reset_pmds[0]; in pfm_reset_regs()
2807 val = pfm_new_counter_value(ctx->ctx_pmds + i, is_long_reset); in pfm_reset_regs()
2956 ctx->ctx_pmds[cnum].flags = flags; in pfm_write_pmcs()
2958 ctx->ctx_pmds[cnum].reset_pmds[0] = reset_pmds; in pfm_write_pmcs()
2959 ctx->ctx_pmds[cnum].smpl_pmds[0] = smpl_pmds; in pfm_write_pmcs()
2960 ctx->ctx_pmds[cnum].eventid = req->reg_smpl_eventid; in pfm_write_pmcs()
3041 ctx->ctx_pmds[cnum].eventid, in pfm_write_pmcs()
3141 ctx->ctx_pmds[cnum].lval = value; in pfm_write_pmds()
3154 ctx->ctx_pmds[cnum].long_reset = req->reg_long_reset; in pfm_write_pmds()
3155 ctx->ctx_pmds[cnum].short_reset = req->reg_short_reset; in pfm_write_pmds()
3160 ctx->ctx_pmds[cnum].seed = req->reg_random_seed; in pfm_write_pmds()
3161 ctx->ctx_pmds[cnum].mask = req->reg_random_mask; in pfm_write_pmds()
3166 ctx->ctx_pmds[cnum].val = value; in pfm_write_pmds()
3219 ctx->ctx_pmds[cnum].val, in pfm_write_pmds()
3220 ctx->ctx_pmds[cnum].short_reset, in pfm_write_pmds()
3221 ctx->ctx_pmds[cnum].long_reset, in pfm_write_pmds()
3223 ctx->ctx_pmds[cnum].seed, in pfm_write_pmds()
3224 ctx->ctx_pmds[cnum].mask, in pfm_write_pmds()
3226 ctx->ctx_pmds[cnum].reset_pmds[0], in pfm_write_pmds()
3326 sval = ctx->ctx_pmds[cnum].val; in pfm_read_pmds()
3327 lval = ctx->ctx_pmds[cnum].lval; in pfm_read_pmds()
5223 old_val = new_val = ctx->ctx_pmds[i].val; in pfm_overflow_handler()
5225 ctx->ctx_pmds[i].val = new_val; in pfm_overflow_handler()
5280 ovfl_arg->smpl_pmds[0] = smpl_pmds = ctx->ctx_pmds[i].smpl_pmds[0]; in pfm_overflow_handler()
5282 ovfl_arg->pmd_value = ctx->ctx_pmds[i].val; in pfm_overflow_handler()
5283 ovfl_arg->pmd_last_reset = ctx->ctx_pmds[i].lval; in pfm_overflow_handler()
5284 ovfl_arg->pmd_eventid = ctx->ctx_pmds[i].eventid; in pfm_overflow_handler()
6346 ctx->ctx_pmds[i].val, in pfm_flush_pmds()
6352 val = ctx->ctx_pmds[i].val + (val & ovfl_val); in pfm_flush_pmds()
6374 ctx->ctx_pmds[i].val = val; in pfm_flush_pmds()