Lines Matching refs:frac
104 static void mvpp2_tai_write_tlv(const struct timespec64 *ts, u32 frac, in mvpp2_tai_write_tlv() argument
112 mvpp2_tai_write(frac >> 16, base + MVPP22_TAI_TLV_FRAC_HIGH); in mvpp2_tai_write_tlv()
113 mvpp2_tai_write(frac, base + MVPP22_TAI_TLV_FRAC_LOW); in mvpp2_tai_write_tlv()
170 s32 frac; in mvpp22_tai_adjfine() local
187 frac = -val; in mvpp22_tai_adjfine()
192 frac = val; in mvpp22_tai_adjfine()
197 mvpp2_tai_write(frac >> 16, base + MVPP22_TAI_TLV_FRAC_HIGH); in mvpp22_tai_adjfine()
198 mvpp2_tai_write(frac, base + MVPP22_TAI_TLV_FRAC_LOW); in mvpp22_tai_adjfine()
314 u32 nano, frac; in mvpp22_tai_set_step() local
317 frac = lower_32_bits(tai->period); in mvpp22_tai_set_step()
322 if (frac >= 0x80000000) in mvpp22_tai_set_step()
326 mvpp2_tai_write(frac >> 16, base + MVPP22_TAI_TOD_STEP_FRAC_HIGH); in mvpp22_tai_set_step()
327 mvpp2_tai_write(frac, base + MVPP22_TAI_TOD_STEP_FRAC_LOW); in mvpp22_tai_set_step()