Home
last modified time | relevance | path

Searched refs:q_pwr (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/wireless/ath/ath5k/
Dphy.c1774 u32 i_pwr, q_pwr; in ath5k_hw_rf511x_iq_calibrate() local
1794 q_pwr = ath5k_hw_reg_read(ah, AR5K_PHY_IQRES_CAL_PWR_Q); 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()
1804 q_coffd = q_pwr >> 6; in ath5k_hw_rf511x_iq_calibrate()
1806 q_coffd = q_pwr >> 7; in ath5k_hw_rf511x_iq_calibrate()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c175 u32 q_pwr; member
1163 iq_est->q_pwr = ((u32) read_phy_reg(pi, 0x487) << 16) | in wlc_lcnphy_rx_iq_est()
1200 qq = iq_est.q_pwr; in wlc_lcnphy_calc_rx_iq_comp()
1261 return (iq_est.i_pwr + iq_est.q_pwr) / nsamples; in wlc_lcnphy_measure_digital_power()
1290 q_thresh_l = (iq_est_l.q_pwr << 1); in wlc_lcnphy_rx_iq_cal_gain()
1291 q_thresh_h = (iq_est_l.q_pwr << 2) + iq_est_l.q_pwr; in wlc_lcnphy_rx_iq_cal_gain()
1294 (iq_est_h.q_pwr > q_thresh_l) && in wlc_lcnphy_rx_iq_cal_gain()
1295 (iq_est_h.q_pwr < q_thresh_h)) in wlc_lcnphy_rx_iq_cal_gain()
Dphy_n.c26071 est[core].q_pwr = in wlc_phy_rx_iq_est_nphy()
26113 qq = est[curr_core].q_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26117 qq = est[curr_core].q_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26872 u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0, in wlc_phy_rxcal_gainctrl_nphy_rev5() local
26963 q_pwr = DIV_ROUND_CLOSEST(est[rx_core].q_pwr, num_samps); in wlc_phy_rxcal_gainctrl_nphy_rev5()
26964 curr_pwr = i_pwr + q_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5()
27216 est[0].q_pwr) >> in wlc_phy_rc_sweep_nphy()
27222 est[1].q_pwr) >> in wlc_phy_rc_sweep_nphy()
27234 target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >> in wlc_phy_rc_sweep_nphy()
27239 est[1].q_pwr) >> (log_num_samps + 1); in wlc_phy_rc_sweep_nphy()
[all …]
Dphy_int.h1030 u32 q_pwr; member
Dphy_cmn.c2425 cmplx_pwr[i] = (est[i].i_pwr + est[i].q_pwr) >> in wlc_phy_noise_sample_request()
/linux-6.1.9/drivers/net/wireless/broadcom/b43/
Dphy_lp.c688 struct lpphy_iq_est { u32 iq_prod, i_pwr, q_pwr; }; member
1018 iq_est->q_pwr = b43_phy_read(dev, B43_LPPHY_IQ_Q_PWR_ACC_HI_ADDR); in lpphy_rx_iq_est()
1019 iq_est->q_pwr <<= 16; in lpphy_rx_iq_est()
1020 iq_est->q_pwr |= b43_phy_read(dev, B43_LPPHY_IQ_Q_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()
1716 qpwr = iq_est.q_pwr; in lpphy_calc_rx_iq_comp()