Lines Matching defs:ctr
23 struct op_counter_config *ctr,
31 if (ctr[0].enabled && ctr[0].event)
32 ctl |= (ctr[0].event & 1) << 4;
33 if (ctr[1].enabled)
34 ctl |= (ctr[1].event - 2) & 15;
49 unsigned long count = ctr[i].count;
50 if (!ctr[i].enabled)
55 ctr[i].count = count;
81 ev6_reset_ctr(struct op_register_config *reg, unsigned long ctr)
83 wrperfmon(6, reg->reset_values | (1 << ctr));
88 struct op_counter_config *ctr)