Lines Matching defs:scale
1884 /* rx/tx scale factors for all CPlusCmd[0:1] cases */
1908 /* get rx/tx scale vector corresponding to current speed */
1938 u32 scale, c_us, c_fr;
1946 /* get rx/tx scale corresponding to current speed and CPlusCmd[0:1] */
1951 scale = ci->scale_nsecs[tp->cp_cmd & INTT_MASK];
1956 ec->tx_coalesce_usecs = DIV_ROUND_UP(c_us * scale, 1000);
1963 ec->rx_coalesce_usecs = DIV_ROUND_UP(c_us * scale, 1000);
1971 /* choose appropriate scale factor and CPlusCmd[0:1] for (speed, usec) */
2002 int scale;
2011 scale = rtl_coalesce_choose_scale(tp, coal_usec_max, &cp01);
2012 if (scale < 0)
2013 return scale;
2038 units = DIV_ROUND_UP(ec->tx_coalesce_usecs * 1000U, scale);
2040 units = DIV_ROUND_UP(ec->rx_coalesce_usecs * 1000U, scale);