Home
last modified time | relevance | path

Searched refs:hw_raw_write_mapping (Results 1 – 1 of 1) sorted by relevance

/linux/arch/csky/kernel/
H A Dperf_event.c37 static void (*hw_raw_write_mapping[CSKY_PMU_MAX_EVENTS])(uint64_t val); variable
908 if (hw_raw_write_mapping[hwc->idx] != NULL) in csky_pmu_event_set_period()
909 hw_raw_write_mapping[hwc->idx]((u64)(-left) & in csky_pmu_event_set_period()
1248 memset((void *)hw_raw_write_mapping, 0, in init_hw_perf_events()
1249 sizeof(hw_raw_write_mapping[CSKY_PMU_MAX_EVENTS])); in init_hw_perf_events()
1251 hw_raw_write_mapping[0x1] = csky_pmu_write_cc; in init_hw_perf_events()
1252 hw_raw_write_mapping[0x2] = csky_pmu_write_ic; in init_hw_perf_events()
1253 hw_raw_write_mapping[0x3] = csky_pmu_write_icac; in init_hw_perf_events()
1254 hw_raw_write_mapping[0x4] = csky_pmu_write_icmc; in init_hw_perf_events()
1255 hw_raw_write_mapping[0x5] = csky_pmu_write_dcac; in init_hw_perf_events()
[all …]