Lines Matching refs:cnum
9 static int pfm_mck_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsig…
57 pfm_mck_reserved(unsigned int cnum, unsigned long *val, struct pt_regs *regs) in pfm_mck_reserved() argument
62 tmp1 = ival & PMC_RSVD_MASK(cnum); in pfm_mck_reserved()
65 tmp2 = PMC_DFL_VAL(cnum) & ~PMC_RSVD_MASK(cnum); in pfm_mck_reserved()
70 cnum, ival, PMC_RSVD_MASK(cnum), PMC_DFL_VAL(cnum), *val)); in pfm_mck_reserved()
78 pfm_mck_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *v… in pfm_mck_pmc_check() argument
85 pfm_mck_reserved(cnum, val, regs); in pfm_mck_pmc_check()
102 …DPRINT(("cnum=%u val=0x%lx, using_dbreg=%d loaded=%d\n", cnum, *val, ctx->ctx_fl_using_dbreg, is_l… in pfm_mck_pmc_check()
104 if (cnum == 13 && is_loaded in pfm_mck_pmc_check()
107 DPRINT(("pmc[%d]=0x%lx has active pmc13 settings, clearing dbr\n", cnum, *val)); in pfm_mck_pmc_check()
123 if (cnum == 14 && is_loaded && ((*val & 0x2222UL) != 0x2222UL) && ctx->ctx_fl_using_dbreg == 0) { in pfm_mck_pmc_check()
125 DPRINT(("pmc[%d]=0x%lx has active pmc14 settings, clearing ibr\n", cnum, *val)); in pfm_mck_pmc_check()
139 switch(cnum) { in pfm_mck_pmc_check()