Searched refs:PCF85063_OFFSET_STEP0 (Results 1 – 1 of 1) sorted by relevance
45 #define PCF85063_OFFSET_STEP0 4340 macro259 *offset = val * PCF85063_OFFSET_STEP0; in pcf85063_read_offset()270 if (offset > PCF85063_OFFSET_STEP0 * 63) in pcf85063_set_offset()272 if (offset < PCF85063_OFFSET_STEP0 * -64) in pcf85063_set_offset()275 mode0 = DIV_ROUND_CLOSEST(offset, PCF85063_OFFSET_STEP0); in pcf85063_set_offset()278 error0 = abs(offset - (mode0 * PCF85063_OFFSET_STEP0)); in pcf85063_set_offset()