Home
last modified time | relevance | path

Searched refs:counter_init_value (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/kvm/riscv/
H A Dsbi_pmu_test.c280 unsigned long counter_init_value = 100; in test_pmu_event() local
304 start_counter(counter, SBI_PMU_START_FLAG_SET_INIT_VALUE, counter_init_value); in test_pmu_event()
312 start_counter(counter, SBI_PMU_START_FLAG_SET_INIT_VALUE, counter_init_value); in test_pmu_event()
317 __GUEST_ASSERT(counter_value_post > counter_init_value, in test_pmu_event()
319 counter_value_post, counter_init_value); in test_pmu_event()
328 unsigned long counter_init_value = 100; in test_pmu_event_snapshot() local
355 WRITE_ONCE(snapshot_data->ctr_values[0], counter_init_value); in test_pmu_event_snapshot()
364 WRITE_ONCE(snapshot_data->ctr_values[0], counter_init_value); in test_pmu_event_snapshot()
370 __GUEST_ASSERT(counter_value_post > counter_init_value, in test_pmu_event_snapshot()
372 counter_value_post, counter_init_value); in test_pmu_event_snapshot()
[all …]