zephyr/drivers/timer
Nicolas Pitre 49580bd374 drivers: systick: implement option for sys_clock_cycle_get_64()
This driver, due to its limited 24-bits counter, is already tracking a
cycle count in software. Allow that count to be a 64-bits value so this
won't wrap in a matter of only a few seconds when the hardware clock
is fast.

This is very cheap to do as expensive math operations (i.e. divisions)
are performed only on counter intervals whose values fit in 32 bits like
before.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2023-07-01 12:04:10 +02:00
..
altera_avalon_timer_hal.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
apic_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
apic_tsc.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
arcv2_timer0.c sys/util: extend usage of DIV_ROUND_UP 2023-04-12 16:42:29 +02:00
arm_arch_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
cc13x2_cc26x2_rtc_timer.c sys/util: extend usage of DIV_ROUND_UP 2023-04-12 16:42:29 +02:00
CMakeLists.txt soc/arm/silabs_exx32: fix PM implementation - wake up using BURTC timer 2023-04-21 16:24:05 +02:00
cortex_m_systick.c drivers: systick: implement option for sys_clock_cycle_get_64() 2023-07-01 12:04:10 +02:00
esp32c3_sys_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
gecko_burtc_timer.c soc/arm/silabs: support BLE with PM in Series 2 SoCs 2023-05-24 13:31:44 -04:00
hpet.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
intel_adsp_timer.c intel_adsp: timer: implemented sys_clock_idle_exit function 2023-06-22 06:14:57 -04:00
ite_it8xxx2_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
Kconfig soc/arm/silabs_exx32: fix PM implementation - wake up using BURTC timer 2023-04-21 16:24:05 +02:00
Kconfig.altera_avalon
Kconfig.apic
Kconfig.arcv2
Kconfig.arm_arch
Kconfig.cavs
Kconfig.cc13x2_cc26x2_rtc
Kconfig.cortex_m_systick drivers: systick: implement option for sys_clock_cycle_get_64() 2023-07-01 12:04:10 +02:00
Kconfig.esp32c3_sys
Kconfig.gecko soc/arm/silabs_exx32: fix PM implementation - wake up using BURTC timer 2023-04-21 16:24:05 +02:00
Kconfig.hpet
Kconfig.ite_it8xxx2
Kconfig.leon_gptimer
Kconfig.litex
Kconfig.mchp_xec_rtos
Kconfig.mcux_gpt
Kconfig.mcux_lptmr
Kconfig.mcux_os
Kconfig.mips_cp0
Kconfig.native_posix
Kconfig.npcx_itim
Kconfig.nrf_rtc drivers: timer: nrf_rtc_timer: Implement stop function 2023-04-11 12:02:47 +02:00
Kconfig.rcar_cmt
Kconfig.riscv_machine riscv_machine_timer: remove unused config option 2023-06-01 04:53:19 -04:00
Kconfig.rv32m1_lptmr
Kconfig.sam0_rtc
Kconfig.stm32_lptim
Kconfig.xlnx_psttc
Kconfig.xtensa
leon_gptimer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
litex_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
mchp_xec_rtos_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
mcux_gpt_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
mcux_lptmr_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
mcux_os_timer.c drivers: timer: nxp: Conditionally compile the wakeup source 2023-05-17 14:35:10 -05:00
mips_cp0_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
native_posix_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
npcx_itim_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
nrf_rtc_timer.c drivers: timer: add z_nrf_rtc_timer_exact_set 2023-06-19 08:53:06 +02:00
rcar_cmt_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
riscv_machine_timer.c drivers: support 64-bit addresses from devicetree for PLIC, MTIMER, UART 2023-06-25 03:29:54 -04:00
rv32m1_lptmr_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
sam0_rtc_timer.c sys/util: extend usage of DIV_ROUND_UP 2023-04-12 16:42:29 +02:00
stm32_lptim_timer.c drivers: timer: stm32u5 lptimer wait for ready only once 2023-05-03 12:40:02 +02:00
sys_clock_init.c
xlnx_psttc_timer_priv.h
xlnx_psttc_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
xtensa_sys_timer.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00