Searched refs:pmu_events (Results 1 – 9 of 9) 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()
108 unsigned long *used_mask = hisi_pmu->pmu_events.used_mask; in hisi_uncore_pmu_get_event_idx()129 clear_bit(idx, hisi_pmu->pmu_events.used_mask); in hisi_uncore_pmu_clear_event_idx()306 hisi_pmu->pmu_events.hw_events[idx] = event; in hisi_uncore_pmu_add()323 hisi_pmu->pmu_events.hw_events[hwc->idx] = NULL; in hisi_uncore_pmu_del()337 int enabled = bitmap_weight(hisi_pmu->pmu_events.used_mask, in hisi_uncore_pmu_enable()
61 struct hisi_pmu_hwevents pmu_events; member
146 unsigned long *used_mask = ddrc_pmu->pmu_events.used_mask; in hisi_ddrc_pmu_get_event_idx()202 event = ddrc_pmu->pmu_events.hw_events[idx]; in hisi_ddrc_pmu_isr()
191 event = l3c_pmu->pmu_events.hw_events[idx]; in hisi_l3c_pmu_isr()
192 event = hha_pmu->pmu_events.hw_events[idx]; in hisi_hha_pmu_isr()
136 pmu = &host->pmu_events; in __pmu_switch_to_guest()156 pmu = &host->pmu_events; in __pmu_switch_to_host()
224 struct device_node *np, *pmu_events; in update_events_in_group() local231 pmu_events = of_find_node_by_phandle(handle); in update_events_in_group()236 if (!pmu_events) in update_events_in_group()240 ct = of_get_child_count(pmu_events); in update_events_in_group()263 for_each_child_of_node(pmu_events, np) { in update_events_in_group()
274 struct kvm_pmu_events pmu_events; member