Searched refs:ppb_per_step (Results 1 – 2 of 2) sorted by relevance
552 long ppb_per_step = 0; in rs5c372_read_offset() local557 ppb_per_step = val & R2221TL_TRIM_DEV ? 1017 : 3051; in rs5c372_read_offset()561 ppb_per_step = val & RS5C372_TRIM_XSL ? 3125 : 3051; in rs5c372_read_offset()564 ppb_per_step = 3051; in rs5c372_read_offset()576 *offset = -(((~val) & 0x3F) + 1) * ppb_per_step; in rs5c372_read_offset()578 *offset = (val - 1) * ppb_per_step; in rs5c372_read_offset()590 long ppb_per_step = 3051; in rs5c372_set_offset() local598 ppb_per_step = 3125; in rs5c372_set_offset()610 ppb_per_step = 1017; in rs5c372_set_offset()627 steps = DIV_ROUND_CLOSEST(offset, ppb_per_step); in rs5c372_set_offset()
251 unsigned int ppb_per_step; in rzn1_rtc_read_offset() local256 ppb_per_step = val & RZN1_RTC_SUBU_DEV ? 1017 : 3051; in rzn1_rtc_read_offset()263 *offset = -(((~val) & 0x3F) + 1) * ppb_per_step; in rzn1_rtc_read_offset()265 *offset = (val - 1) * ppb_per_step; in rzn1_rtc_read_offset()