Lines Matching refs:coeff_x
975 static int wlc_lcnphy_calc_floor(s16 coeff_x, int type)
980 if (coeff_x < 0)
981 k = (coeff_x - 1) / 2;
983 k = coeff_x / 2;
987 if ((coeff_x + 1) < 0)
988 k = (coeff_x) / 2;
990 k = (coeff_x + 1) / 2;
3428 wlc_lcnphy_set_cc(struct brcms_phy *pi, int cal_type, s16 coeff_x, s16 coeff_y)
3435 wlc_lcnphy_set_tx_iqcc(pi, coeff_x, coeff_y);
3438 di0dq0 = (coeff_x & 0xff) << 8 | (coeff_y & 0xff);
3442 k = wlc_lcnphy_calc_floor(coeff_x, 0);
3444 k = wlc_lcnphy_calc_floor(coeff_x, 1);
3456 k = wlc_lcnphy_calc_floor(coeff_x, 0);
3458 k = wlc_lcnphy_calc_floor(coeff_x, 1);