Lines Matching defs:idx
180 static u32 sparc_default_read_pmc(int idx) in sparc_default_read_pmc()
191 static void sparc_default_write_pmc(int idx, u64 val) in sparc_default_write_pmc()
731 static u32 sparc_vt_read_pmc(int idx) in sparc_vt_read_pmc()
738 static void sparc_vt_write_pmc(int idx, u64 val) in sparc_vt_write_pmc()
806 static u64 event_encoding(u64 event_id, int idx) in event_encoding()
815 static u64 mask_for_index(int idx) in mask_for_index()
820 static u64 nop_for_index(int idx) in nop_for_index()
827 … inline void sparc_pmu_enable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, int idx) in sparc_pmu_enable_event()
845 …inline void sparc_pmu_disable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, int idx) in sparc_pmu_disable_event()
864 struct hw_perf_event *hwc, int idx) in sparc_perf_event_update()
888 struct hw_perf_event *hwc, int idx) in sparc_perf_event_set_period()
958 int idx = hwc->idx; in calculate_single_pcr() local
993 int idx = hwc->idx; in calculate_multiple_pcrs() local
1008 int idx = cp->hw.idx; in calculate_multiple_pcrs() local
1084 int idx = active_event_index(cpuc, event); in sparc_pmu_start() local
1101 int idx = active_event_index(cpuc, event); in sparc_pmu_stop() local
1152 int idx = active_event_index(cpuc, event); in sparc_pmu_read() local
1654 int idx = cpuc->current_idx[i]; in perf_event_nmi_handler() local