zephyr/drivers/timer
Bryan Zhu a417392f76 timer: ambiq_stimer: Correct set_timeout's delta clock calculation
In sys_clock_set_timeout(), input "ticks" is used to compute next
timeout point, Ambiq's STimer API used to sets next timeout has input
parameter as ui32Delta, which inside the API is using
"this value to add to the STimer counter and load into the comparator
register" according to its spec, thus the this delta clock is
almost equivalent to input "ticks"'s concept, and is not related to
last_count, it should be computed directly from input "ticks".
This correction fixes the test case failure at
zephyr\tests\kernel\tickless\tickless_concept.

Signed-off-by: Bryan Zhu <bzhu@ambiq.com>
2024-01-08 10:07:46 +01:00
..
altera_avalon_timer_hal.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
ambiq_stimer.c timer: ambiq_stimer: Correct set_timeout's delta clock calculation 2024-01-08 10:07:46 +01:00
apic_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
apic_tsc.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
arcv2_timer0.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
arm_arch_timer.c drivers/timer/arm_arch_timer: Fix cycles overflow with GDB stub 2023-12-18 09:31:42 +01:00
cc13xx_cc26xx_rtc_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
CMakeLists.txt drivers: timer: Add driver for Ambiq system timer (STIMER) 2023-08-04 10:48:58 +02:00
cortex_m_systick.c Revert "timer: cortex_m_systick: handle cycle count overflow with idle timer" 2023-11-30 10:05:22 +01:00
esp32c3_sys_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
gecko_burtc_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
hpet.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
intel_adsp_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
ite_it8xxx2_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
Kconfig drivers: timer: Refactor x86 system timer selection 2023-10-23 10:34:03 +02:00
Kconfig.altera_avalon drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.ambiq drivers: timer: Add driver for Ambiq system timer (STIMER) 2023-08-04 10:48:58 +02:00
Kconfig.arcv2 drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.arm_arch drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.cavs drivers: timer: intel_adsp: Update driver to use dts Kconfig symbol 2022-11-01 09:03:17 +00:00
Kconfig.cc13xx_cc26xx_rtc dts: ti: cc13xx_cc26xx: devicetree sysclk alignment 2023-07-07 18:46:24 -04:00
Kconfig.cortex_m_systick timer: cortex_m_systick: add idle timer dependency 2023-11-22 09:28:53 +00:00
Kconfig.esp32c3_sys soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
Kconfig.gecko soc/arm/silabs_exx32: fix PM implementation - wake up using BURTC timer 2023-04-21 16:24:05 +02:00
Kconfig.ite_it8xxx2 drivers: timer: Update drivers to use devicetree Kconfig symbol 2022-09-09 09:58:48 +00:00
Kconfig.leon_gptimer drivers: timer: Update drivers to use devicetree Kconfig symbol 2022-09-09 09:58:48 +00:00
Kconfig.litex drivers: timer: Update drivers to use devicetree Kconfig symbol 2022-09-09 09:58:48 +00:00
Kconfig.mchp_xec_rtos drivers: timer: Update drivers to use devicetree Kconfig symbol 2022-09-09 09:58:48 +00:00
Kconfig.mcux_gpt soc: arm: nxp: switch imxrt boards to use systick timer unless CONFIG_PM=y 2022-12-16 09:31:48 +01:00
Kconfig.mcux_lptmr drivers: timer: mcux: lptmr: add dependency on CONFIG_PM 2023-01-31 22:10:28 -06:00
Kconfig.mcux_os drivers: timer: Update drivers to use devicetree Kconfig symbol 2022-09-09 09:58:48 +00:00
Kconfig.mips_cp0 timer: Add tickless support for the MIPS CP0 timer 2022-01-19 13:48:21 -05:00
Kconfig.native_posix drivers/timer native: Replace native_posix with native_posix/sim 2023-12-07 10:39:31 +00:00
Kconfig.npcx_itim drivers: timer: Update drivers to use devicetree Kconfig symbol 2022-09-09 09:58:48 +00:00
Kconfig.nrf_rtc drivers timer nrf: Correct dependencies for simulation 2023-10-20 15:14:30 +02:00
Kconfig.rcar_cmt drivers: timer: Update drivers to use devicetree Kconfig symbol 2022-09-09 09:58:48 +00:00
Kconfig.riscv_machine riscv_machine_timer: remove unused config option 2023-06-01 04:53:19 -04:00
Kconfig.rv32m1_lptmr drivers: timer: Update drivers to use devicetree Kconfig symbol 2022-09-09 09:58:48 +00:00
Kconfig.sam0_rtc drivers: timer: Update drivers to use devicetree Kconfig symbol 2022-09-09 09:58:48 +00:00
Kconfig.stm32_lptim drivers: timer: stm32_lptim: Change clock source config check sanction 2022-09-21 18:39:07 +00:00
Kconfig.x86 boards: ish: Continue to use HPET_TIMER for ISH and Qemu 2023-10-23 10:34:03 +02:00
Kconfig.xlnx_psttc drivers: timer: Update drivers to use devicetree Kconfig symbol 2022-09-09 09:58:48 +00:00
Kconfig.xtensa drivers/xtensa_sys_timer: Change default timer ID 2022-02-21 22:10:03 -05:00
leon_gptimer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
litex_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
mchp_xec_rtos_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
mcux_gpt_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
mcux_lptmr_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
mcux_os_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
mips_cp0_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
native_posix_timer.c drivers/timer native: Replace native_posix with native_posix/sim 2023-12-07 10:39:31 +00:00
npcx_itim_timer.c driver: timer: npcx: fix announce/set timer timeout tick 2023-11-17 17:24:14 +00:00
nrf_rtc_timer.c drivers: timer: nrf_rtc_timer: Change HAL to HALY in RTC timer driver 2023-12-14 09:28:15 +01:00
rcar_cmt_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
riscv_machine_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
rv32m1_lptmr_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
sam0_rtc_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
stm32_lptim_timer.c drivers: timer: stm32 lptimer adjust the TICKS_PER_SEC to LPTIM clock 2023-12-12 09:52:30 +00:00
sys_clock_init.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
xlnx_psttc_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00
xlnx_psttc_timer_priv.h drivers: timer: xlnx_psttc_timer: Implement tickless support 2020-03-21 14:20:17 -04:00
xtensa_sys_timer.c drivers: timer: s/device.h/init.h 2023-08-29 11:29:18 +01:00