Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_tai.c152 static u64 mvpp22_calc_frac_ppm(struct mvpp2_tai *tai, long abs_scaled_ppm) in mvpp22_calc_frac_ppm() argument
154 u64 val = tai->period * abs_scaled_ppm >> 4; in mvpp22_calc_frac_ppm()
156 return div_u64(val, (1000000 << 12) + (abs_scaled_ppm >> 4)); in mvpp22_calc_frac_ppm()