Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-tps65910.c42 #define TICKS_PER_HOUR (32768 * 3600) macro
292 tmp -= TICKS_PER_HOUR / 2LL; in tps65910_read_offset()
294 tmp += TICKS_PER_HOUR / 2LL; in tps65910_read_offset()
295 tmp = div_s64(tmp, TICKS_PER_HOUR); in tps65910_read_offset()
314 tmp = offset * (s64)TICKS_PER_HOUR; in tps65910_set_offset()
H A Drtc-tps6594.c40 #define TICKS_PER_HOUR (32768 * 3600LL) macro
279 tmp -= TICKS_PER_HOUR / 2LL; in tps6594_rtc_read_offset()
281 tmp += TICKS_PER_HOUR / 2LL; in tps6594_rtc_read_offset()
282 tmp = div_s64(tmp, TICKS_PER_HOUR); in tps6594_rtc_read_offset()
310 tmp = offset * TICKS_PER_HOUR; in tps6594_rtc_set_offset()