Searched refs:res_scale (Results 1 – 1 of 1) sorted by relevance
634 const s32 res_scale = 1 << 15; in ar9003_hw_calc_iq_corr() local714 mag_a0_d0 = (i2_m_q2_a0_d0 * res_scale) / i2_p_q2_a0_d0; in ar9003_hw_calc_iq_corr()715 phs_a0_d0 = (iq_corr_a0_d0 * res_scale) / i2_p_q2_a0_d0; in ar9003_hw_calc_iq_corr()717 mag_a0_d1 = (i2_m_q2_a0_d1 * res_scale) / i2_p_q2_a0_d1; in ar9003_hw_calc_iq_corr()718 phs_a0_d1 = (iq_corr_a0_d1 * res_scale) / i2_p_q2_a0_d1; in ar9003_hw_calc_iq_corr()720 mag_a1_d0 = (i2_m_q2_a1_d0 * res_scale) / i2_p_q2_a1_d0; in ar9003_hw_calc_iq_corr()721 phs_a1_d0 = (iq_corr_a1_d0 * res_scale) / i2_p_q2_a1_d0; in ar9003_hw_calc_iq_corr()723 mag_a1_d1 = (i2_m_q2_a1_d1 * res_scale) / i2_p_q2_a1_d1; in ar9003_hw_calc_iq_corr()724 phs_a1_d1 = (iq_corr_a1_d1 * res_scale) / i2_p_q2_a1_d1; in ar9003_hw_calc_iq_corr()749 sin_2phi_1 = (sin_2phi_1 * res_scale / mag1); in ar9003_hw_calc_iq_corr()[all …]