Lines Matching refs:ctr
78 static int fsl7450_cpu_setup(struct op_counter_config *ctr)
92 static int fsl7450_reg_setup(struct op_counter_config *ctr,
105 reset_value[i] = 0x80000000UL - ctr[i].count;
108 mmcr0_val = MMCR0_INIT | mmcr0_event1(ctr[0].event)
109 | mmcr0_event2(ctr[1].event);
119 mmcr1_val = mmcr1_event3(ctr[2].event)
120 | mmcr1_event4(ctr[3].event);
122 mmcr1_val |= mmcr1_event5(ctr[4].event)
123 | mmcr1_event6(ctr[5].event);
131 static int fsl7450_start(struct op_counter_config *ctr)
138 if (ctr[i].enabled)
169 struct op_counter_config *ctr)
185 if (oprofile_running && ctr[i].enabled) {