Searched refs:mag2 (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dar9003_calib.c637 s32 mag1, mag2; ar9003_hw_calc_iq_corr() local
741 mag2 = ar9003_hw_find_mag_approx(ah, cos_2phi_2, sin_2phi_2); ar9003_hw_calc_iq_corr()
743 if ((mag1 == 0) || (mag2 == 0)) { ar9003_hw_calc_iq_corr()
744 ath_dbg(common, CALIBRATE, "Divide by 0: mag1=%d, mag2=%d\n", ar9003_hw_calc_iq_corr()
745 mag1, mag2); ar9003_hw_calc_iq_corr()
752 sin_2phi_2 = (sin_2phi_2 * res_scale / mag2); ar9003_hw_calc_iq_corr()
753 cos_2phi_2 = (cos_2phi_2 * res_scale / mag2); ar9003_hw_calc_iq_corr()

Completed in 57 milliseconds