Lines Matching defs:idx
178 static u32 sparc_default_read_pmc(int idx) in sparc_default_read_pmc()
189 static void sparc_default_write_pmc(int idx, u64 val) in sparc_default_write_pmc()
729 static u32 sparc_vt_read_pmc(int idx) in sparc_vt_read_pmc()
736 static void sparc_vt_write_pmc(int idx, u64 val) in sparc_vt_write_pmc()
804 static u64 event_encoding(u64 event_id, int idx) in event_encoding()
813 static u64 mask_for_index(int idx) in mask_for_index()
818 static u64 nop_for_index(int idx) in nop_for_index()
825 … inline void sparc_pmu_enable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, int idx) in sparc_pmu_enable_event()
843 …inline void sparc_pmu_disable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, int idx) in sparc_pmu_disable_event()
862 struct hw_perf_event *hwc, int idx) in sparc_perf_event_update()
886 struct hw_perf_event *hwc, int idx) in sparc_perf_event_set_period()
950 int idx = hwc->idx; in calculate_single_pcr() local
983 int idx = hwc->idx; in calculate_multiple_pcrs() local
995 int idx = cp->hw.idx; in calculate_multiple_pcrs() local
1071 int idx = active_event_index(cpuc, event); in sparc_pmu_start() local
1086 int idx = active_event_index(cpuc, event); in sparc_pmu_stop() local
1137 int idx = active_event_index(cpuc, event); in sparc_pmu_read() local
1617 int idx = cpuc->current_idx[i]; in perf_event_nmi_handler() local