Home
last modified time | relevance | path

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

/trusted-firmware-a-3.7.0/drivers/nxp/timer/
Dnxp_timer.c21 uint64_t cntpct; in get_timer_val() local
24 cntpct = read_cntpct_el0(); in get_timer_val()
25 return (cntpct * 1000ULL / read_cntfrq_el0() - start); in get_timer_val()
30 uint64_t cntpct; in timer_get_value() local
33 cntpct = read_cntpct_el0(); in timer_get_value()
42 while (temp != cntpct && max_fetch_count) { in timer_get_value()
44 cntpct = read_cntpct_el0(); in timer_get_value()
57 return (uint32_t)(~cntpct); in timer_get_value()
/trusted-firmware-a-3.7.0/plat/arm/common/aarch64/
Darm_pauth.c21 uint64_t cntpct = read_cntpct_el0(); in plat_init_apkey() local
24 uint64_t key_lo = (return_addr << 13) ^ frame_addr ^ cntpct; in plat_init_apkey()
25 uint64_t key_hi = (frame_addr << 15) ^ return_addr ^ cntpct; in plat_init_apkey()
/trusted-firmware-a-3.7.0/plat/arm/board/corstone1000/common/
Dcorstone1000_stack_protector.c16 uint64_t cntpct = read_cntpct_el0(); in plat_generate_random_number() local
22 (((uint64_t)return_addr) << 13) ^ frame_addr ^ cntpct in plat_generate_random_number()
26 (((uint64_t)frame_addr) << 15) ^ return_addr ^ cntpct in plat_generate_random_number()
/trusted-firmware-a-3.7.0/plat/arm/board/corstone700/common/
Dcorstone700_stack_protector.c16 uint64_t cntpct = read_cntpct_el0(); in plat_generate_random_number() local
22 (((uint64_t)return_addr) << 13) ^ frame_addr ^ cntpct in plat_generate_random_number()
26 (((uint64_t)frame_addr) << 15) ^ return_addr ^ cntpct in plat_generate_random_number()
/trusted-firmware-a-3.7.0/include/arch/aarch32/
Darch_helpers.h229 DEFINE_COPROCR_READ_FUNC_64(cntpct, CNTPCT_64) in DEFINE_SYSREG_RW_FUNCS()