Lines Matching refs:counter
145 unsigned int counter[4]; member
158 reg.counter[i] = 0; in mipsxx_reg_setup()
173 reg.counter[i] = 0x80000000 - ctr[i].count; in mipsxx_reg_setup()
189 w_c0_perfcntr3(reg.counter[3]); in mipsxx_cpu_setup()
192 w_c0_perfcntr2(reg.counter[2]); in mipsxx_cpu_setup()
195 w_c0_perfcntr1(reg.counter[1]); in mipsxx_cpu_setup()
198 w_c0_perfcntr0(reg.counter[0]); in mipsxx_cpu_setup()
246 unsigned int counter; in mipsxx_perfcount_handler() local
256 counter = r_c0_perfcntr ## n(); \ in mipsxx_perfcount_handler()
258 (counter & M_COUNTER_OVERFLOW)) { \ in mipsxx_perfcount_handler()
260 w_c0_perfcntr ## n(reg.counter[n]); \ in mipsxx_perfcount_handler()