Searched refs:CTL_ENABLE (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | arch_timer.c | 33 timer_set_ctl(VIRTUAL, CTL_ENABLE); in guest_configure_timer_action() 38 timer_set_ctl(VIRTUAL, CTL_ENABLE); in guest_configure_timer_action() 43 timer_set_ctl(PHYSICAL, CTL_ENABLE); in guest_configure_timer_action() 48 timer_set_ctl(PHYSICAL, CTL_ENABLE); in guest_configure_timer_action() 84 if ((xctl & CTL_IMASK) || !(xctl & CTL_ENABLE)) in guest_validate_irq()
|
H A D | arch_timer_edge_cases.c | 168 istatus = (ctl & CTL_ISTATUS) && (ctl & CTL_ENABLE); in guest_irq_handler() 332 set_xval_irq(timer, xval, CTL_ENABLE, tv); in test_timer_xval() 371 set_xval_irq(timer, xval, CTL_ENABLE | CTL_IMASK, timer_view); in test_xval_check_no_irq() 398 set_tval_irq(timer, -1, CTL_ENABLE | CTL_IMASK); in test_timer_control_mask_then_unmask() 402 timer_set_ctl(timer, CTL_ENABLE); in test_timer_control_mask_then_unmask() 417 set_tval_irq(timer, -1, CTL_ENABLE | CTL_IMASK); in test_timer_control_masks() 434 set_tval_irq(timer, 0, CTL_ENABLE); in test_fire_a_timer_multiple_times() 443 timer_set_ctl(timer, CTL_ENABLE); in test_fire_a_timer_multiple_times() 471 set_tval_irq(timer, msec_to_cycles(delta_1_ms), CTL_ENABLE); in test_reprogramming_timer() 596 msec_to_cycles(test_args.wait_ms) / 2, CTL_ENABLE); in test_set_cnt_after_tval_max() [all …]
|
/linux/tools/testing/selftests/kvm/include/aarch64/ |
H A D | arch_timer.h | 16 #define CTL_ENABLE (1 << 0) macro
|