Lines Matching defs:mult
1487 * @mult: Multiplier for reciprocal division
1491 * in mult and shift.
1499 * We compute mult/shift to use instead :
1500 * time_in_ns = (len * mult) >> shift;
1502 * We try to get the highest possible mult value for accuracy,
1507 static void psched_ratecfg_precompute__(u64 rate, u32 *mult, u8 *shift)
1511 *mult = 1;
1518 *mult = div64_u64(factor, rate);
1519 if (*mult & (1U << 31) || factor & (1ULL << 63))
1535 psched_ratecfg_precompute__(r->rate_bytes_ps, &r->mult, &r->shift);
1542 psched_ratecfg_precompute__(r->rate_pkts_ps, &r->mult, &r->shift);