Home
last modified time | relevance | path

Searched refs:OFFSET_STEP_PPT (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/rtc/
Drtc-rv3028.c89 #define OFFSET_STEP_PPT 953674 macro
484 *offset = DIV_ROUND_CLOSEST(steps * OFFSET_STEP_PPT, 1000); in rv3028_read_offset()
496 offset = DIV_ROUND_CLOSEST(offset, OFFSET_STEP_PPT); in rv3028_set_offset()
Drtc-rv3032.c104 #define OFFSET_STEP_PPT 238419 macro
382 *offset = DIV_ROUND_CLOSEST(steps * OFFSET_STEP_PPT, 1000); in rv3032_read_offset()
392 offset = DIV_ROUND_CLOSEST(offset, OFFSET_STEP_PPT); in rv3032_set_offset()