Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/include/zephyr/arch/arm/cortex_a_r/
Darmv8_timer.h35 uint64_t cntv_ctl; in arm_arch_timer_enable() local
37 cntv_ctl = read_cntv_ctl(); in arm_arch_timer_enable()
40 cntv_ctl |= CNTV_CTL_ENABLE_BIT; in arm_arch_timer_enable()
42 cntv_ctl &= ~CNTV_CTL_ENABLE_BIT; in arm_arch_timer_enable()
45 write_cntv_ctl(cntv_ctl); in arm_arch_timer_enable()
50 uint64_t cntv_ctl; in arm_arch_timer_set_irq_mask() local
52 cntv_ctl = read_cntv_ctl(); in arm_arch_timer_set_irq_mask()
55 cntv_ctl |= CNTV_CTL_IMASK_BIT; in arm_arch_timer_set_irq_mask()
57 cntv_ctl &= ~CNTV_CTL_IMASK_BIT; in arm_arch_timer_set_irq_mask()
60 write_cntv_ctl(cntv_ctl); in arm_arch_timer_set_irq_mask()
Dlib_helpers.h73 MAKE_REG_HELPER(cntv_ctl, 0, 14, 3, 1);
/Zephyr-Core-3.7.0/include/zephyr/arch/arm64/
Dtimer.h44 uint64_t cntv_ctl; in arm_arch_timer_enable() local
46 cntv_ctl = read_cntv_ctl_el0(); in arm_arch_timer_enable()
49 cntv_ctl |= CNTV_CTL_ENABLE_BIT; in arm_arch_timer_enable()
51 cntv_ctl &= ~CNTV_CTL_ENABLE_BIT; in arm_arch_timer_enable()
54 write_cntv_ctl_el0(cntv_ctl); in arm_arch_timer_enable()
59 uint64_t cntv_ctl; in arm_arch_timer_set_irq_mask() local
61 cntv_ctl = read_cntv_ctl_el0(); in arm_arch_timer_set_irq_mask()
64 cntv_ctl |= CNTV_CTL_IMASK_BIT; in arm_arch_timer_set_irq_mask()
66 cntv_ctl &= ~CNTV_CTL_IMASK_BIT; in arm_arch_timer_set_irq_mask()
69 write_cntv_ctl_el0(cntv_ctl); in arm_arch_timer_set_irq_mask()