8#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_ARMV8_TIMER_H_
9#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_A_R_ARMV8_TIMER_H_
20#define ARM_ARCH_TIMER_IRQ ARM_TIMER_VIRTUAL_IRQ
21#define ARM_ARCH_TIMER_PRIO ARM_TIMER_VIRTUAL_PRIO
22#define ARM_ARCH_TIMER_FLAGS ARM_TIMER_VIRTUAL_FLAGS
42 cntv_ctl &= ~CNTV_CTL_ENABLE_BIT;
57 cntv_ctl &= ~CNTV_CTL_IMASK_BIT;
#define CNTV_CTL_ENABLE_BIT
Definition cpu.h:78
#define CNTV_CTL_IMASK_BIT
Definition cpu.h:79
static ALWAYS_INLINE uint64_t arm_arch_timer_count(void)
Definition armv8_timer.h:63
static ALWAYS_INLINE void arm_arch_timer_set_irq_mask(bool mask)
Definition armv8_timer.h:48
static ALWAYS_INLINE void arm_arch_timer_set_compare(uint64_t val)
Definition armv8_timer.h:28
static ALWAYS_INLINE void arm_arch_timer_enable(unsigned char enable)
Definition armv8_timer.h:33
static ALWAYS_INLINE void arm_arch_timer_init(void)
Definition armv8_timer.h:24
#define ALWAYS_INLINE
Definition common.h:129
static ALWAYS_INLINE uint32_t read_cntv_ctl(void)
Definition lib_helpers.h:73
static ALWAYS_INLINE void write_cntv_ctl(uint32_t val)
Definition lib_helpers.h:73
static ALWAYS_INLINE void write_cntv_cval(uint64_t val)
Definition lib_helpers.h:78
static ALWAYS_INLINE uint64_t read_cntvct(void)
Definition lib_helpers.h:77
__UINT64_TYPE__ uint64_t
Definition stdint.h:91