Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-pcf2123.c97 #define OFFSET_STEP (2170) /* Offset step in parts per billion */ macro
135 *offset = ((long)val) * OFFSET_STEP; in pcf2123_read_offset()
155 if (offset > OFFSET_STEP * 127) in pcf2123_set_offset()
157 else if (offset < OFFSET_STEP * -128) in pcf2123_set_offset()
160 reg = DIV_ROUND_CLOSEST(offset, OFFSET_STEP); in pcf2123_set_offset()