Home
last modified time | relevance | path

Searched refs:i_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
1790 i_pwr = ath5k_hw_reg_read(ah, AR5K_PHY_IQRES_CAL_PWR_I); 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()
1817 q_coff = (i_pwr / q_coffd) - 64; in ath5k_hw_rf511x_iq_calibrate()
1819 q_coff = (i_pwr / q_coffd) - 128; in ath5k_hw_rf511x_iq_calibrate()
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c174 u32 i_pwr; member
1161 iq_est->i_pwr = ((u32) read_phy_reg(pi, 0x485) << 16) | in wlc_lcnphy_rx_iq_est()
1199 ii = iq_est.i_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()
1287 i_thresh_l = (iq_est_l.i_pwr << 1); in wlc_lcnphy_rx_iq_cal_gain()
1288 i_thresh_h = (iq_est_l.i_pwr << 2) + iq_est_l.i_pwr; in wlc_lcnphy_rx_iq_cal_gain()
1292 if ((iq_est_h.i_pwr > i_thresh_l) && in wlc_lcnphy_rx_iq_cal_gain()
1293 (iq_est_h.i_pwr < i_thresh_h) && in wlc_lcnphy_rx_iq_cal_gain()
Dphy_n.c26063 est[core].i_pwr = in wlc_phy_rx_iq_est_nphy()
26108 ii = est[curr_core].i_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26112 ii = est[curr_core].i_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
26958 i_pwr = DIV_ROUND_CLOSEST(est[rx_core].i_pwr, num_samps); in wlc_phy_rxcal_gainctrl_nphy_rev5()
26960 curr_pwr = i_pwr + q_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5()
27211 max_t(u32, (est[0].i_pwr + in wlc_phy_rc_sweep_nphy()
27217 max_t(u32, (est[1].i_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()
27234 (est[1].i_pwr + in wlc_phy_rc_sweep_nphy()
[all …]
Dphy_int.h1029 u32 i_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
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()