Lines Matching refs:control
128 unsigned int control[4]; member
141 reg.control[i] = 0; in mipsxx_reg_setup()
147 reg.control[i] = M_PERFCTL_EVENT(ctr[i].event) | in mipsxx_reg_setup()
150 reg.control[i] |= M_PERFCTL_KERNEL; in mipsxx_reg_setup()
152 reg.control[i] |= M_PERFCTL_USER; in mipsxx_reg_setup()
154 reg.control[i] |= M_PERFCTL_EXL; in mipsxx_reg_setup()
188 w_c0_perfctrl3(WHAT | reg.control[3]); in mipsxx_cpu_start()
190 w_c0_perfctrl2(WHAT | reg.control[2]); in mipsxx_cpu_start()
192 w_c0_perfctrl1(WHAT | reg.control[1]); in mipsxx_cpu_start()
194 w_c0_perfctrl0(WHAT | reg.control[0]); in mipsxx_cpu_start()
218 unsigned int control; in mipsxx_perfcount_handler() local
228 control = r_c0_perfctrl ## n(); \ in mipsxx_perfcount_handler()
230 if ((control & M_PERFCTL_INTERRUPT_ENABLE) && \ in mipsxx_perfcount_handler()