Lines Matching defs:ctr
22 struct op_counter_config *ctr,
30 if (ctr[0].enabled && ctr[0].event)
31 ctl |= (ctr[0].event & 1) << 4;
32 if (ctr[1].enabled)
33 ctl |= (ctr[1].event - 2) & 15;
48 unsigned long count = ctr[i].count;
49 if (!ctr[i].enabled)
54 ctr[i].count = count;
80 ev6_reset_ctr(struct op_register_config *reg, unsigned long ctr)
82 wrperfmon(6, reg->reset_values | (1 << ctr));
87 struct op_counter_config *ctr)