Lines Matching refs:control
144 unsigned int control[4]; member
157 reg.control[i] = 0; in mipsxx_reg_setup()
163 reg.control[i] = M_PERFCTL_EVENT(ctr[i].event) | in mipsxx_reg_setup()
166 reg.control[i] |= M_PERFCTL_KERNEL; in mipsxx_reg_setup()
168 reg.control[i] |= M_PERFCTL_USER; in mipsxx_reg_setup()
170 reg.control[i] |= M_PERFCTL_EXL; in mipsxx_reg_setup()
172 reg.control[i] |= M_PERFCTL_COUNT_ALL_THREADS; in mipsxx_reg_setup()
212 w_c0_perfctrl3(WHAT | reg.control[3]); in mipsxx_cpu_start()
214 w_c0_perfctrl2(WHAT | reg.control[2]); in mipsxx_cpu_start()
216 w_c0_perfctrl1(WHAT | reg.control[1]); in mipsxx_cpu_start()
218 w_c0_perfctrl0(WHAT | reg.control[0]); in mipsxx_cpu_start()
245 unsigned int control; in mipsxx_perfcount_handler() local
255 control = r_c0_perfctrl ## n(); \ in mipsxx_perfcount_handler()
257 if ((control & M_PERFCTL_INTERRUPT_ENABLE) && \ in mipsxx_perfcount_handler()