Searched refs:ctr_values (Results 1 – 5 of 5) sorted by relevance
322 counter_value_post = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_snapshot()332 WRITE_ONCE(snapshot_data->ctr_values[0], ULONG_MAX/2); in test_pmu_event_snapshot()335 counter_value_pre = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_snapshot()337 WRITE_ONCE(snapshot_data->ctr_values[0], counter_init_value); in test_pmu_event_snapshot()340 counter_value_post = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_snapshot()346 WRITE_ONCE(snapshot_data->ctr_values[0], counter_init_value); in test_pmu_event_snapshot()351 counter_value_post = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_snapshot()370 WRITE_ONCE(snapshot_data->ctr_values[0], counter_init_value); in test_pmu_event_overflow()377 counter_value_post = READ_ONCE(snapshot_data->ctr_values[0]); in test_pmu_event_overflow()472 GUEST_ASSERT_EQ(READ_ONCE(snapshot_data->ctr_values[i]), 0); in test_pmu_events_snaphost()
74 u64 ctr_values[64]; member
664 val = sdata->ctr_values[idx]; in pmu_sbi_ctr_read()760 sdata->ctr_values[hwc->idx] = sdata->ctr_values[0]; in pmu_sbi_ctr_stop()761 sdata->ctr_values[0] = 0; in pmu_sbi_ctr_stop()845 sdata->ctr_values[idx]; in pmu_sbi_stop_hw_ctrs()854 sdata->ctr_values[idx] = cpu_hw_evt->snapshot_cval_shcopy[idx]; in pmu_sbi_stop_hw_ctrs()932 sdata->ctr_values[idx] = in pmu_sbi_start_ovf_ctrs_snapshot()
519 pmc->counter_val = kvpmu->sdata->ctr_values[i]; in kvm_riscv_vcpu_pmu_ctr_start()624 kvpmu->sdata->ctr_values[i] = pmc->counter_val; in kvm_riscv_vcpu_pmu_ctr_stop()
157 u64 ctr_values[64]; member