zephyr/drivers/rtc
Bjarki Arge Andreasen 9d761a1769 drivers: rtc: rtc_ll_stm32: coverity 368806 fix
Replace DIV_ROUND_CLOSEST() with a normal division to simplify
operation and avoid redundant handling of signed integer rounding
as the temp value is an unsigned value. The temp value is in nano
precision, so rounding is largely inconsequencial anyway compared
to the comparatively low precision sync prescaler.

Signed-off-by: Bjarki Arge Andreasen <bjarki@arge-andreasen.me>
2024-06-24 14:48:15 -04:00
..
CMakeLists.txt drivers: rtc: add RV3028 RTC driver 2024-06-10 21:03:59 -04:00
Kconfig drivers: rtc: add RV3028 RTC driver 2024-06-10 21:03:59 -04:00
Kconfig.am1805
Kconfig.ds1307
Kconfig.emul
Kconfig.fake
Kconfig.mc146818
Kconfig.numaker
Kconfig.pcf8523
Kconfig.pcf8563
Kconfig.rpi_pico
Kconfig.rv3028 drivers: rtc: add RV3028 RTC driver 2024-06-10 21:03:59 -04:00
Kconfig.sam
Kconfig.smartbond
Kconfig.stm32
rtc_am1805.c
rtc_ds1307.c
rtc_emul.c
rtc_fake.c
rtc_handlers.c
rtc_ll_stm32.c drivers: rtc: rtc_ll_stm32: coverity 368806 fix 2024-06-24 14:48:15 -04:00
rtc_ll_stm32.h
rtc_mc146818.c
rtc_numaker.c
rtc_pcf8523.c drivers: rtc: update alarm_set_callback to return ENOTSUP 2024-06-17 12:09:15 -04:00
rtc_pcf8563.c everywhere: replace double words 2024-06-22 05:40:22 -04:00
rtc_rpi_pico.c
rtc_rv3028.c drivers: rtc: rv3028: fix RTC time mask 2024-06-19 13:22:29 -04:00
rtc_sam.c
rtc_shell.c
rtc_smartbond.c
rtc_utils.c
rtc_utils.h