Lines Matching refs:ctr
826 int ctr = loongarch_pmu.num_counters;
831 ctr--;
832 cpuc->saved_ctrl[ctr] = loongarch_pmu_read_control(ctr);
833 loongarch_pmu_write_control(ctr, cpuc->saved_ctrl[ctr] &
835 } while (ctr > 0);
841 int ctr = loongarch_pmu.num_counters;
845 ctr--;
846 loongarch_pmu_write_control(ctr, cpuc->saved_ctrl[ctr]);
847 } while (ctr > 0);