Lines Matching refs:cnum
8 static int pfm_mont_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsi…
134 pfm_mont_reserved(unsigned int cnum, unsigned long *val, struct pt_regs *regs) in pfm_mont_reserved() argument
139 tmp1 = ival & PMC_RSVD_MASK(cnum); in pfm_mont_reserved()
142 tmp2 = PMC_DFL_VAL(cnum) & ~PMC_RSVD_MASK(cnum); in pfm_mont_reserved()
147 cnum, ival, PMC_RSVD_MASK(cnum), PMC_DFL_VAL(cnum), *val)); in pfm_mont_reserved()
155 pfm_mont_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *… in pfm_mont_pmc_check() argument
164 pfm_mont_reserved(cnum, val, regs); in pfm_mont_pmc_check()
185 …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()
187 if (cnum == 41 && is_loaded in pfm_mont_pmc_check()
190 DPRINT(("pmc[%d]=0x%lx has active pmc41 settings, clearing dbr\n", cnum, tmpval)); in pfm_mont_pmc_check()
208 if (cnum == 38 && is_loaded && ((tmpval & 0x492UL) != 0x492UL) && ctx->ctx_fl_using_dbreg == 0) { in pfm_mont_pmc_check()
223 switch(cnum) { in pfm_mont_pmc_check()