Searched refs:cntv_ctl (Results 1 – 3 of 3) sorted by relevance
35 uint64_t cntv_ctl; in arm_arch_timer_enable() local37 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() local52 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()
73 MAKE_REG_HELPER(cntv_ctl, 0, 14, 3, 1);
44 uint64_t cntv_ctl; in arm_arch_timer_enable() local46 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() local61 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()