Searched refs:i_pwr (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 1774 u32 i_pwr, q_pwr; in ath5k_hw_rf511x_iq_calibrate() local 1793 i_pwr = ath5k_hw_reg_read(ah, AR5K_PHY_IQRES_CAL_PWR_I); in ath5k_hw_rf511x_iq_calibrate() 1796 "iq_corr:%x i_pwr:%x q_pwr:%x", iq_corr, i_pwr, q_pwr); in ath5k_hw_rf511x_iq_calibrate() 1797 if (i_pwr && q_pwr) in ath5k_hw_rf511x_iq_calibrate() 1801 i_coffd = ((i_pwr >> 1) + (q_pwr >> 1)) >> 7; in ath5k_hw_rf511x_iq_calibrate() 1820 q_coff = (i_pwr / q_coffd) - 64; in ath5k_hw_rf511x_iq_calibrate() 1822 q_coff = (i_pwr / q_coffd) - 128; in ath5k_hw_rf511x_iq_calibrate()
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 174 u32 i_pwr; member 1216 iq_est->i_pwr = ((u32) read_phy_reg(pi, 0x485) << 16) | in wlc_lcnphy_rx_iq_est() 1254 ii = iq_est.i_pwr; in wlc_lcnphy_calc_rx_iq_comp() 1316 return (iq_est.i_pwr + iq_est.q_pwr) / nsamples; in wlc_lcnphy_measure_digital_power() 1342 i_thresh_l = (iq_est_l.i_pwr << 1); in wlc_lcnphy_rx_iq_cal_gain() 1343 i_thresh_h = (iq_est_l.i_pwr << 2) + iq_est_l.i_pwr; in wlc_lcnphy_rx_iq_cal_gain() 1347 if ((iq_est_h.i_pwr > i_thresh_l) && in wlc_lcnphy_rx_iq_cal_gain() 1348 (iq_est_h.i_pwr < i_thresh_h) && in wlc_lcnphy_rx_iq_cal_gain()
|
D | phy_n.c | 26098 est[core].i_pwr = in wlc_phy_rx_iq_est_nphy() 26143 ii = est[curr_core].i_pwr; in wlc_phy_calc_rx_iq_comp_nphy() 26147 ii = est[curr_core].i_pwr; in wlc_phy_calc_rx_iq_comp_nphy() 26903 u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0, in wlc_phy_rxcal_gainctrl_nphy_rev5() local 26993 i_pwr = DIV_ROUND_CLOSEST(est[rx_core].i_pwr, num_samps); in wlc_phy_rxcal_gainctrl_nphy_rev5() 26995 curr_pwr = i_pwr + q_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5() 27246 max_t(u32, (est[0].i_pwr + in wlc_phy_rc_sweep_nphy() 27252 max_t(u32, (est[1].i_pwr + in wlc_phy_rc_sweep_nphy() 27265 target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >> in wlc_phy_rc_sweep_nphy() 27269 (est[1].i_pwr + in wlc_phy_rc_sweep_nphy() [all …]
|
D | phy_int.h | 1029 u32 i_pwr; member
|
D | phy_cmn.c | 2427 cmplx_pwr[i] = (est[i].i_pwr + est[i].q_pwr) >> in wlc_phy_noise_sample_request()
|
/Linux-v5.4/drivers/net/wireless/broadcom/b43/ |
D | phy_lp.c | 688 struct lpphy_iq_est { u32 iq_prod, i_pwr, q_pwr; }; member 1014 iq_est->i_pwr = b43_phy_read(dev, B43_LPPHY_IQ_I_PWR_ACC_HI_ADDR); in lpphy_rx_iq_est() 1015 iq_est->i_pwr <<= 16; in lpphy_rx_iq_est() 1016 iq_est->i_pwr |= b43_phy_read(dev, B43_LPPHY_IQ_I_PWR_ACC_LO_ADDR); in lpphy_rx_iq_est() 1049 tmp = (iq_est.i_pwr + iq_est.q_pwr) / 1000; in lpphy_loopback() 1230 mean_sq_pwr = iq_est.i_pwr + iq_est.q_pwr; in lpphy_rev0_1_rc_calib() 1715 ipwr = iq_est.i_pwr; in lpphy_calc_rx_iq_comp()
|