zephyr/drivers/timer
Ruibin Chang f6965ac930 ITE drivers/timer: clean up sys_clock_set_timeout()
Setting event timer count at least 1 hw count, it's redundant,
so I clean up this else {} case. And add the comment about
the K_TICKS_FOREVER and INT_MAX case.

NOTE:
CONFIG_TIMEOUT_64BIT = y, then k_ticks_t type is int64_t.
K_FOREVER is (k_timeout_t) { .ticks = (K_TICKS_FOREVER) },
and K_TICKS_FOREVER is ((k_ticks_t) -1),
so K_FOREVER is a k_timeout_t type structure, and
the member ticks: type int64_t,
                  value (= K_TICKS_FOREVER) 0xFFFF FFFF FFFF FFFF.

Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
2022-04-05 11:16:51 +02:00
..
altera_avalon_timer_hal.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05:00
apic_timer.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05:00
apic_tsc.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05:00
arcv2_timer0.c drivers: timer: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
arm_arch_timer.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05:00
cavs_timer.c drivers/cavs_timer: Cleanup & simplification pass 2022-01-05 15:01:45 -05:00
cc13x2_cc26x2_rtc_timer.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05:00
CMakeLists.txt timer: add support for MIPS CP0 timer 2022-01-19 13:48:21 -05:00
cortex_m_systick.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05:00
esp32c3_sys_timer.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05:00
hpet.c timer: hpet: make legacy interrupt routing optional 2022-01-14 14:46:21 -05:00
ite_it8xxx2_timer.c ITE drivers/timer: clean up sys_clock_set_timeout() 2022-04-05 11:16:51 +02:00
Kconfig timer: add support for MIPS CP0 timer 2022-01-19 13:48:21 -05:00
Kconfig.altera_avalon drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.apic drivers: timer: split Kconfig 2021-12-04 07:34:53 -05: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/cavs_timer: Cleanup & simplification pass 2022-01-05 15:01:45 -05:00
Kconfig.cc13x2_cc26x2_rtc drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.cortex_m_systick drivers: timer: cortex_m_systick: improve ISR installation 2021-12-04 07:34:53 -05:00
Kconfig.esp32c3_sys drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.hpet drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.ite_it8xxx2 drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.leon_gptimer drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.litex drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.mchp_xec_rtos drivers: timer: improve sys_timer_disable usage 2021-12-04 07:34:53 -05:00
Kconfig.mcux_gpt drivers: mcux_gpt_timer: Added GPT timer for HW clock 2021-12-13 20:13:21 -05:00
Kconfig.mcux_lptmr drivers: timer: improve sys_timer_disable usage 2021-12-04 07:34:53 -05:00
Kconfig.mcux_os drivers: timer: split Kconfig 2021-12-04 07:34:53 -05: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: improve sys_timer_disable usage 2021-12-04 07:34:53 -05:00
Kconfig.npcx_itim drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.nrf_rtc drivers: timer: nrf_rtc_timer: Dont__disable_irq if BT_LL_SW_SPLIT 2022-03-22 11:36:28 +01:00
Kconfig.rcar_cmt drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.riscv_machine everywhere: fix typos 2022-03-14 20:22:24 -04:00
Kconfig.rv32m1_lptmr drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.sam0_rtc drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.stm32_lptim kconfig: drivers: experimental settings now uses select EXPERIMENTAL 2021-10-25 10:46:48 +02:00
Kconfig.xlnx_psttc drivers: timer: split Kconfig 2021-12-04 07:34:53 -05:00
Kconfig.xtensa drivers/xtensa_sys_timer: Change default timer ID 2022-02-21 22:10:03 -05:00
leon_gptimer.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05:00
litex_timer.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05:00
mchp_xec_rtos_timer.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
mcux_gpt_timer.c timers: mcux_gpt_timer: Change MCUX GPT timer to use indirect ISR 2022-03-07 13:53:14 -06:00
mcux_lptmr_timer.c drivers: Check and fix device const qualifier on ISR 2022-03-16 12:33:12 +01:00
mcux_os_timer.c drivers: Check and fix device const qualifier on ISR 2022-03-16 12:33:12 +01:00
mips_cp0_timer.c timer: Add tickless support for the MIPS CP0 timer 2022-01-19 13:48:21 -05:00
native_posix_timer.c drivers: timer: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
npcx_itim_timer.c driver: clock: npcx: remove the guard for npcx_clock_get_sleep_ticks 2022-03-31 14:38:28 -05:00
nrf_rtc_timer.c drivers: timer: nrf_rtc_timer: Add Lock Zero Latency IRQs Kconfig 2022-03-22 11:36:28 +01:00
rcar_cmt_timer.c drivers: timer: fix MISRA 5.7 violation 2021-12-04 07:34:53 -05:00
riscv_machine_timer.c drivers/timer: Use correct timer for CPU in SMP Risc-V 2022-02-25 19:13:50 -05:00
rv32m1_lptmr_timer.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05:00
sam0_rtc_timer.c drivers: rtc: Add sam0 support to pinctrl 2022-03-24 15:45:37 -07:00
stm32_lptim_timer.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05:00
sys_clock_init.c drivers: timer: cortex_m_systick: improve ISR installation 2021-12-04 07:34:53 -05:00
xlnx_psttc_timer.c drivers: timer: move initialization setup to drivers 2021-12-04 07:34:53 -05: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: move initialization setup to drivers 2021-12-04 07:34:53 -05:00