Lines Matching defs:counter
130 unsigned int counter[4];
140 /* Compute the performance counter control word. */
143 reg.counter[i] = 0;
158 reg.counter[i] = 0x80000000 - ctr[i].count;
174 w_c0_perfcntr3(reg.counter[3]);
178 w_c0_perfcntr2(reg.counter[2]);
182 w_c0_perfcntr1(reg.counter[1]);
186 w_c0_perfcntr0(reg.counter[0]);
240 unsigned int counter;
250 counter = r_c0_perfcntr ## n(); \
252 (counter & M_COUNTER_OVERFLOW)) { \
254 w_c0_perfcntr ## n(reg.counter[n]); \