Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/ath/ath5k/
Dphy.c1771 u32 i_pwr, q_pwr; in ath5k_hw_rf511x_iq_calibrate() local
1791 q_pwr = ath5k_hw_reg_read(ah, AR5K_PHY_IQRES_CAL_PWR_Q); in ath5k_hw_rf511x_iq_calibrate()
1793 "iq_corr:%x i_pwr:%x q_pwr:%x", iq_corr, i_pwr, q_pwr); in ath5k_hw_rf511x_iq_calibrate()
1794 if (i_pwr && q_pwr) in ath5k_hw_rf511x_iq_calibrate()
1798 i_coffd = ((i_pwr >> 1) + (q_pwr >> 1)) >> 7; in ath5k_hw_rf511x_iq_calibrate()
1801 q_coffd = q_pwr >> 6; in ath5k_hw_rf511x_iq_calibrate()
1803 q_coffd = q_pwr >> 7; in ath5k_hw_rf511x_iq_calibrate()
/linux-6.12.1/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.c26067 est[core].q_pwr = in wlc_phy_rx_iq_est_nphy()
26109 qq = est[curr_core].q_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26113 qq = est[curr_core].q_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26868 u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0, in wlc_phy_rxcal_gainctrl_nphy_rev5() local
26959 q_pwr = DIV_ROUND_CLOSEST(est[rx_core].q_pwr, num_samps); in wlc_phy_rxcal_gainctrl_nphy_rev5()
26960 curr_pwr = i_pwr + q_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5()
27212 est[0].q_pwr) >> in wlc_phy_rc_sweep_nphy()
27218 est[1].q_pwr) >> in wlc_phy_rc_sweep_nphy()
27230 target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >> in wlc_phy_rc_sweep_nphy()
27235 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.12.1/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()