Lines Matching refs:counter
129 unsigned int counter[4];
139 /* Compute the performance counter control word. */
142 reg.counter[i] = 0;
155 reg.counter[i] = 0x80000000 - ctr[i].count;
168 w_c0_perfcntr3(reg.counter[3]);
171 w_c0_perfcntr2(reg.counter[2]);
174 w_c0_perfcntr1(reg.counter[1]);
177 w_c0_perfcntr0(reg.counter[0]);
219 unsigned int counter;
229 counter = r_c0_perfcntr ## n(); \
231 (counter & M_COUNTER_OVERFLOW)) { \
233 w_c0_perfcntr ## n(reg.counter[n]); \