Lines Matching refs:ctr
21 struct op_counter_config *ctr,
29 if (ctr[0].enabled && ctr[0].event)
30 ctl |= (ctr[0].event & 1) << 4;
31 if (ctr[1].enabled)
32 ctl |= (ctr[1].event - 2) & 15;
47 unsigned long count = ctr[i].count;
48 if (!ctr[i].enabled)
53 ctr[i].count = count;
79 ev6_reset_ctr(struct op_register_config *reg, unsigned long ctr)
81 wrperfmon(6, reg->reset_values | (1 << ctr));
86 struct op_counter_config *ctr)