Searched refs:pmu_events (Results 1 – 13 of 13) sorted by relevance
133 unsigned long *used_mask = hisi_pmu->pmu_events.used_mask; in hisi_uncore_pmu_get_event_idx()149 clear_bit(idx, hisi_pmu->pmu_events.used_mask); in hisi_uncore_pmu_clear_event_idx()171 event = hisi_pmu->pmu_events.hw_events[idx]; in hisi_uncore_pmu_isr()390 hisi_pmu->pmu_events.hw_events[idx] = event; in hisi_uncore_pmu_add()407 hisi_pmu->pmu_events.hw_events[hwc->idx] = NULL; in hisi_uncore_pmu_del()421 bool enabled = !bitmap_empty(hisi_pmu->pmu_events.used_mask, in hisi_uncore_pmu_enable()619 pmu->attr_groups = hisi_pmu->pmu_events.attr_groups; in hisi_pmu_init()
81 struct hisi_pmu_hwevents *pmu_events = &noc_pmu->pmu_events; in hisi_noc_pmu_get_event_idx() local84 cur_idx = find_first_bit(pmu_events->used_mask, noc_pmu->num_counters); in hisi_noc_pmu_get_event_idx()86 !hisi_noc_pmu_check_global_filter(pmu_events->hw_events[cur_idx], event)) in hisi_noc_pmu_get_event_idx()217 if (bitmap_weight(noc_pmu->pmu_events.used_mask, noc_pmu->num_counters) > 1) in hisi_noc_pmu_disable_filter()312 noc_pmu->pmu_events.attr_groups = noc_pmu->dev_info->attr_groups; in hisi_noc_pmu_dev_init()
122 unsigned long *used_mask = l3c_pmu->pmu_events.used_mask; in hisi_l3c_pmu_get_event_idx()383 struct hw_perf_event *hwc = &l3c_pmu->pmu_events.hw_events[idx]->hw; in hisi_l3c_pmu_write_evtype()409 unsigned long *used_mask = l3c_pmu->pmu_events.used_mask; in hisi_l3c_pmu_start_counters()440 unsigned long *used_mask = l3c_pmu->pmu_events.used_mask; in hisi_l3c_pmu_stop_counters()533 struct hw_perf_event *hwc = &l3c_pmu->pmu_events.hw_events[idx]->hw; in hisi_l3c_pmu_clear_int_status()796 l3c_pmu->pmu_events.attr_groups = l3c_pmu->dev_info->attr_groups; in hisi_l3c_pmu_dev_probe()
122 struct hisi_pmu_hwevents pmu_events; member
457 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v2_attr_groups; in hisi_hha_pmu_dev_probe()462 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v1_attr_groups; in hisi_hha_pmu_dev_probe()
127 unsigned long *used_mask = ddrc_pmu->pmu_events.used_mask; in hisi_ddrc_pmu_v1_get_event_idx()364 ddrc_pmu->pmu_events.attr_groups = ddrc_pmu->dev_info->attr_groups; in hisi_ddrc_pmu_dev_probe()
279 mn_pmu->pmu_events.attr_groups = mn_pmu->dev_info->attr_groups; in hisi_mn_pmu_dev_init()
440 pa_pmu->pmu_events.attr_groups = pa_pmu->dev_info->attr_groups; in hisi_pa_pmu_dev_probe()
476 sllc_pmu->pmu_events.attr_groups = hisi_sllc_pmu_v2_attr_groups; in hisi_sllc_pmu_dev_probe()
29 read -ra pmu_events <<< "$(perf list --raw pmu)"
116 DECLARE_SUITE(pmu_events);
634 TEST_CASE("Parsing with PMU event", pmu_events),
2938 pmu_events,