Searched refs:hw_raw_write_mapping (Results 1 – 1 of 1) sorted by relevance
37 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() 1247 memset((void *)hw_raw_write_mapping, 0, in init_hw_perf_events() 1248 sizeof(hw_raw_write_mapping[CSKY_PMU_MAX_EVENTS])); in init_hw_perf_events() 1250 hw_raw_write_mapping[0x1] = csky_pmu_write_cc; in init_hw_perf_events() 1251 hw_raw_write_mapping[0x2] = csky_pmu_write_ic; in init_hw_perf_events() 1252 hw_raw_write_mapping[0x3] = csky_pmu_write_icac; in init_hw_perf_events() 1253 hw_raw_write_mapping[0x4] = csky_pmu_write_icmc; in init_hw_perf_events() 1254 hw_raw_write_mapping[ in init_hw_perf_events() [all...]