Home | History | Annotate | Download | only in usb

Lines Matching defs:coeff

2770 otus_get_delta_slope(uint32_t coeff, uint32_t *exponent, uint32_t *mantissa)
2777 /* exponent = 14 - floor(log2(coeff)) */
2779 if (coeff & (1 << exp))
2784 /* mantissa = floor(coeff * 2^exponent + 0.5) */
2785 man = coeff + (1 << (COEFF_SCALE_SHIFT - exp - 1));
2798 uint32_t coeff, exp, man, tmp;
2878 coeff = (100 << 24) / c->ic_freq;
2879 otus_get_delta_slope(coeff, &exp, &man);
2882 DPRINTFN(DBG_CHAN, sc, "ds coeff=%u exp=%u man=%u\n",
2883 coeff, exp, man);
2885 /* For Short GI, coeff is 9/10 that of normal coeff. */
2886 coeff = (9 * coeff) / 10;
2887 otus_get_delta_slope(coeff, &exp, &man);
2890 DPRINTFN(DBG_CHAN, sc, "ds shgi coeff=%u exp=%u man=%u\n",
2891 coeff, exp, man);