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 drivers: rtc: support for Nuvoton numaker m46x 2024-04-30 14:31:29 -04:00
Kconfig.pcf8523
Kconfig.pcf8563
Kconfig.rpi_pico drivers: rtc: rpi_pico: Add support for the Raspberry Pi Pico RTC 2024-03-06 10:08:48 +00:00
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 drivers: rtc: Create utility function for time validation 2024-03-06 10:08:48 +00:00
rtc_fake.c
rtc_handlers.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
rtc_ll_stm32.c drivers: rtc: rtc_ll_stm32: coverity 368806 fix 2024-06-24 14:48:15 -04:00
rtc_ll_stm32.h drivers: rtc_stm32: add support for alarms A & B 2024-05-13 09:45:17 +02:00
rtc_mc146818.c drivers: rtc: rtc_mc146818: Patch incorrect field comparisons 2024-06-05 01:38:33 -07:00
rtc_numaker.c drivers: rtc: support for Nuvoton numaker m46x 2024-04-30 14:31:29 -04:00
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 drivers: rtc: rpi_pico: Add alarm support to RPi Pico RTC driver 2024-03-06 10:08:48 +00:00
rtc_rv3028.c drivers: rtc: rv3028: fix RTC time mask 2024-06-19 13:22:29 -04:00
rtc_sam.c drivers: rtc: Create utility function for time validation 2024-03-06 10:08:48 +00:00
rtc_shell.c drivers: rtc: rtc_shell: Add devices as sub commands 2024-06-07 21:42:54 +02:00
rtc_smartbond.c drivers: rtc: smartbond: Update RTC driver 2024-05-17 14:46:11 -05:00
rtc_utils.c drivers: rtc: Create utility function for time validation 2024-03-06 10:08:48 +00:00
rtc_utils.h drivers: rtc: Create utility function for time validation 2024-03-06 10:08:48 +00:00