Searched refs:ticks_per_hr (Results 1 – 1 of 1) sorted by relevance
356 u32 ticks_per_hr = priv->rate_32k * 3600; in ti_k3_rtc_read_offset() local365 tmp -= ticks_per_hr / 2LL; in ti_k3_rtc_read_offset()367 tmp += ticks_per_hr / 2LL; in ti_k3_rtc_read_offset()368 tmp = div_s64(tmp, ticks_per_hr); in ti_k3_rtc_read_offset()379 u32 ticks_per_hr = priv->rate_32k * 3600; in ti_k3_rtc_set_offset() local388 tmp = offset * (s64)ticks_per_hr; in ti_k3_rtc_set_offset()