Lines Matching defs:ctr
84 static int fsl7450_cpu_setup(struct op_counter_config *ctr)
98 static int fsl7450_reg_setup(struct op_counter_config *ctr,
111 reset_value[i] = 0x80000000UL - ctr[i].count;
114 mmcr0_val = MMCR0_INIT | mmcr0_event1(ctr[0].event)
115 | mmcr0_event2(ctr[1].event);
125 mmcr1_val = mmcr1_event3(ctr[2].event)
126 | mmcr1_event4(ctr[3].event);
128 mmcr1_val |= mmcr1_event5(ctr[4].event)
129 | mmcr1_event6(ctr[5].event);
137 static int fsl7450_start(struct op_counter_config *ctr)
144 if (ctr[i].enabled)
175 struct op_counter_config *ctr)
191 if (oprofile_running && ctr[i].enabled) {