Home
last modified time | relevance | path

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

/trusted-firmware-a/drivers/nxp/timer/
A 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/plat/arm/common/aarch64/
A 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/plat/arm/board/corstone700/common/
A 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/plat/arm/board/diphda/common/
A Ddiphda_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/include/arch/aarch32/
A Darch_helpers.h225 DEFINE_COPROCR_READ_FUNC_64(cntpct, CNTPCT_64) in DEFINE_SYSREG_RW_FUNCS()

Completed in 5 milliseconds