Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-tps65910.c44 #define PPB_MULT (1000000000LL) macro
289 tmp = calibration * (s64)PPB_MULT; in tps65910_read_offset()
315 tmp -= PPB_MULT / 2LL; in tps65910_set_offset()
317 tmp += PPB_MULT / 2LL; in tps65910_set_offset()
318 tmp = div_s64(tmp, PPB_MULT); in tps65910_set_offset()
/kernel/linux/linux-6.6/drivers/rtc/
H 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()

Completed in 3 milliseconds