Lines Matching refs:cnum
9 static int pfm_mont_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsi…
135 pfm_mont_reserved(unsigned int cnum, unsigned long *val, struct pt_regs *regs) in pfm_mont_reserved() argument
140 tmp1 = ival & PMC_RSVD_MASK(cnum); in pfm_mont_reserved()
143 tmp2 = PMC_DFL_VAL(cnum) & ~PMC_RSVD_MASK(cnum); in pfm_mont_reserved()
148 cnum, ival, PMC_RSVD_MASK(cnum), PMC_DFL_VAL(cnum), *val)); in pfm_mont_reserved()
156 pfm_mont_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *… in pfm_mont_pmc_check() argument
165 pfm_mont_reserved(cnum, val, regs); in pfm_mont_pmc_check()
186 …DPRINT(("cnum=%u val=0x%lx, using_dbreg=%d loaded=%d\n", cnum, tmpval, ctx->ctx_fl_using_dbreg, is… in pfm_mont_pmc_check()
188 if (cnum == 41 && is_loaded in pfm_mont_pmc_check()
191 DPRINT(("pmc[%d]=0x%lx has active pmc41 settings, clearing dbr\n", cnum, tmpval)); in pfm_mont_pmc_check()
209 if (cnum == 38 && is_loaded && ((tmpval & 0x492UL) != 0x492UL) && ctx->ctx_fl_using_dbreg == 0) { in pfm_mont_pmc_check()
224 switch(cnum) { in pfm_mont_pmc_check()