Home
last modified time | relevance | path

Searched refs:read_cntpct_el0 (Results 1 – 25 of 26) sorted by relevance

12

/external/arm-trusted-firmware/plat/layerscape/common/
Dls_timer.c15 return read_cntpct_el0() * 1000 / read_cntfrq_el0() - start; in ls_get_timer()
26 return (uint32_t)(~read_cntpct_el0()); in ls_timeus_get_value()
/external/arm-trusted-firmware/drivers/renesas/common/delay/
Dmicro_delay.c26 base_count = read_cntpct_el0(); in rcar_micro_delay()
28 get_count = read_cntpct_el0(); in rcar_micro_delay()
/external/arm-trusted-firmware/include/drivers/
Ddelay_timer.h39 cnt += read_cntpct_el0(); in timeout_init_us()
46 return read_cntpct_el0() > expire_cnt; in timeout_elapsed()
/external/arm-trusted-firmware/plat/layerscape/board/ls1043/
Dls1043_stack_protector.c21 return RANDOM_CANARY_VALUE ^ read_cntpct_el0(); in plat_get_stack_protector_canary()
/external/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_stack_protector.c22 return RANDOM_CANARY_VALUE ^ read_cntpct_el0(); in plat_get_stack_protector_canary()
/external/arm-trusted-firmware/plat/rockchip/common/
Drockchip_stack_protector.c22 return RANDOM_CANARY_VALUE ^ read_cntpct_el0(); in plat_get_stack_protector_canary()
/external/arm-trusted-firmware/plat/qemu/common/
Dqemu_stack_protector.c30 return RANDOM_CANARY_VALUE ^ read_cntpct_el0(); in plat_get_stack_protector_canary()
/external/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_stack_protector.c27 return seed ^ read_cntpct_el0(); in plat_get_stack_protector_canary()
/external/arm-trusted-firmware/plat/mediatek/mt6795/
Dplat_delay_timer.c19 return (uint32_t)(~read_cntpct_el0()); in plat_get_timer_value()
Dbl31_plat_setup.c204 atf_base = read_cntpct_el0(); in bl31_early_platform_setup2()
/external/arm-trusted-firmware/plat/marvell/armada/common/
Dplat_delay_timer.c22 return (uint32_t)(~read_cntpct_el0()); in plat_get_timer_value()
/external/arm-trusted-firmware/plat/intel/soc/common/
Dsocfpga_delay_timer.c26 return (uint32_t)(~read_cntpct_el0()); in socfpga_get_timer_value()
/external/arm-trusted-firmware/plat/arm/common/aarch64/
Darm_pauth.c21 uint64_t cntpct = read_cntpct_el0(); in plat_init_apkey()
/external/arm-trusted-firmware/plat/mediatek/mt8173/drivers/timer/
Dmt_cpuxgpt.c31 cval = read_cntpct_el0(); in generic_timer_backup()
/external/arm-trusted-firmware/plat/mediatek/mt8192/drivers/timer/
Dmt_timer.c27 rel_base = read_cntpct_el0() - atf_time_base; in sched_clock()
/external/arm-trusted-firmware/plat/arm/board/corstone700/common/
Dcorstone700_stack_protector.c16 uint64_t cntpct = read_cntpct_el0(); in plat_generate_random_number()
/external/arm-trusted-firmware/drivers/delay_timer/
Dgeneric_delay_timer.c29 return (uint32_t)(~read_cntpct_el0()); in get_timer_value()
/external/arm-trusted-firmware/plat/mediatek/mt6795/drivers/timer/
Dmt_cpuxgpt.c33 cval = (((read_cntpct_el0() - atf_time_base)*1000)/ in sched_clock()
/external/arm-trusted-firmware/bl32/tsp/
Dtsp_timer.c34 cval = read_cntpct_el0() + (read_cntfrq_el0() >> 1); in tsp_generic_timer_start()
/external/arm-trusted-firmware/plat/ti/k3/common/drivers/sec_proxy/
Dsec_proxy.c156 uint32_t tick_start = (uint32_t)read_cntpct_el0(); in k3_sec_proxy_verify_thread()
161 if (((uint32_t)read_cntpct_el0() - tick_start) > in k3_sec_proxy_verify_thread()
/external/arm-trusted-firmware/include/lib/pmf/
Dpmf_helpers.h60 unsigned long long ts = read_cntpct_el0(); \
69 (_tsval) = read_cntpct_el0(); \
/external/arm-trusted-firmware/plat/rockchip/rk3328/drivers/pmu/
Dpmu.c455 pct_orig = read_cntpct_el0(); in sram_udelay()
459 pct_now = read_cntpct_el0(); in sram_udelay()
/external/arm-trusted-firmware/plat/qti/qtiseclib/src/
Dqtiseclib_cb_interface.c53 uint64_t uptime = read_cntpct_el0(); in qtiseclib_cb_log()
/external/arm-trusted-firmware/include/arch/aarch32/
Darch_helpers.h397 #define read_cntpct_el0() read64_cntpct() macro
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dram/
Dsuspend.c87 return (uint32_t)(~read_cntpct_el0()); in sram_get_timer_value()

12