Searched refs:pmu_events (Results 1 – 12 of 12) sorted by relevance
40 ctx->pmu_events.events_host |= set; in kvm_set_pmu_events()42 ctx->pmu_events.events_guest |= set; in kvm_set_pmu_events()55 ctx->pmu_events.events_host &= ~clr; in kvm_clr_pmu_events()56 ctx->pmu_events.events_guest &= ~clr; in kvm_clr_pmu_events()180 events_guest = host->pmu_events.events_guest; in kvm_vcpu_pmu_restore_guest()181 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_guest()200 events_guest = host->pmu_events.events_guest; in kvm_vcpu_pmu_restore_host()201 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_host()
102 unsigned long *used_mask = hisi_pmu->pmu_events.used_mask; in hisi_uncore_pmu_get_event_idx()128 clear_bit(idx, hisi_pmu->pmu_events.used_mask); in hisi_uncore_pmu_clear_event_idx()150 event = hisi_pmu->pmu_events.hw_events[idx]; in hisi_uncore_pmu_isr()365 hisi_pmu->pmu_events.hw_events[idx] = event; in hisi_uncore_pmu_add()382 hisi_pmu->pmu_events.hw_events[hwc->idx] = NULL; in hisi_uncore_pmu_del()396 int enabled = bitmap_weight(hisi_pmu->pmu_events.used_mask, in hisi_uncore_pmu_enable()
170 unsigned long *used_mask = ddrc_pmu->pmu_events.used_mask; in hisi_ddrc_pmu_v1_get_event_idx()470 ddrc_pmu->pmu_events.attr_groups = hisi_ddrc_pmu_v2_attr_groups; in hisi_ddrc_pmu_dev_probe()475 ddrc_pmu->pmu_events.attr_groups = hisi_ddrc_pmu_v1_attr_groups; in hisi_ddrc_pmu_dev_probe()531 .attr_groups = ddrc_pmu->pmu_events.attr_groups, in hisi_ddrc_pmu_probe()
482 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v2_attr_groups; in hisi_hha_pmu_dev_probe()487 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v1_attr_groups; in hisi_hha_pmu_dev_probe()534 .attr_groups = hha_pmu->pmu_events.attr_groups, in hisi_hha_pmu_probe()
516 l3c_pmu->pmu_events.attr_groups = hisi_l3c_pmu_v2_attr_groups; in hisi_l3c_pmu_dev_probe()520 l3c_pmu->pmu_events.attr_groups = hisi_l3c_pmu_v1_attr_groups; in hisi_l3c_pmu_dev_probe()572 .attr_groups = l3c_pmu->pmu_events.attr_groups, in hisi_l3c_pmu_probe()
75 struct hisi_pmu_hwevents pmu_events; member
378 pa_pmu->pmu_events.attr_groups = hisi_pa_pmu_v2_attr_groups; in hisi_pa_pmu_dev_probe()430 .attr_groups = pa_pmu->pmu_events.attr_groups, in hisi_pa_pmu_probe()
411 sllc_pmu->pmu_events.attr_groups = hisi_sllc_pmu_v2_attr_groups; in hisi_sllc_pmu_dev_probe()459 .attr_groups = sllc_pmu->pmu_events.attr_groups, in hisi_sllc_pmu_probe()
133 pmu = &host->pmu_events; in __pmu_switch_to_guest()153 pmu = &host->pmu_events; in __pmu_switch_to_host()
223 struct device_node *np, *pmu_events; in update_events_in_group() local230 pmu_events = of_find_node_by_phandle(handle); in update_events_in_group()235 if (!pmu_events) in update_events_in_group()239 ct = of_get_child_count(pmu_events); in update_events_in_group()262 for_each_child_of_node(pmu_events, np) { in update_events_in_group()
85 DECLARE_SUITE(pmu_events);
250 struct kvm_pmu_events pmu_events; member
Completed in 19 milliseconds