Home
last modified time | relevance | path

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

/drivers/rtc/
A Drtc-tps65910.c45 #define PPB_MULT (1000000000LL) macro
290 tmp = calibration * (s64)PPB_MULT; in tps65910_read_offset()
316 tmp -= PPB_MULT / 2LL; in tps65910_set_offset()
318 tmp += PPB_MULT / 2LL; in tps65910_set_offset()
319 tmp = div_s64(tmp, PPB_MULT); in tps65910_set_offset()
A Drtc-tps6594.c43 #define PPB_MULT NANO macro
276 tmp = calibration * PPB_MULT; in tps6594_rtc_read_offset()
312 tmp -= PPB_MULT / 2LL; in tps6594_rtc_set_offset()
314 tmp += PPB_MULT / 2LL; in tps6594_rtc_set_offset()
315 tmp = div_s64(tmp, PPB_MULT); in tps6594_rtc_set_offset()

Completed in 6 milliseconds