Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/rtc/
Drtc-rv3032.c104 #define OFFSET_STEP_PPT 238419 macro
389 *offset = DIV_ROUND_CLOSEST(steps * OFFSET_STEP_PPT, 1000); in rv3032_read_offset()
399 offset = DIV_ROUND_CLOSEST(offset, OFFSET_STEP_PPT); in rv3032_set_offset()
Drtc-rv3028.c84 #define OFFSET_STEP_PPT 953674 macro
482 *offset = DIV_ROUND_CLOSEST(steps * OFFSET_STEP_PPT, 1000); in rv3028_read_offset()
494 offset = DIV_ROUND_CLOSEST(offset, OFFSET_STEP_PPT); in rv3028_set_offset()