Searched refs:cfo (Results 1 – 6 of 6) sorted by relevance
2149 struct rtw89_cfo_tracking_info *cfo = &rtwdev->cfo_tracking; in rtw89_phy_cfo_set_crystal_cap() local2153 if (!force && cfo->crystal_cap == crystal_cap) in rtw89_phy_cfo_set_crystal_cap()2169 cfo->crystal_cap = sc_xi_val; in rtw89_phy_cfo_set_crystal_cap()2170 cfo->x_cap_ofst = (s8)((int)cfo->crystal_cap - cfo->def_x_cap); in rtw89_phy_cfo_set_crystal_cap()2175 cfo->x_cap_ofst); in rtw89_phy_cfo_set_crystal_cap()2181 struct rtw89_cfo_tracking_info *cfo = &rtwdev->cfo_tracking; in rtw89_phy_cfo_reset() local2184 cfo->def_x_cap = cfo->crystal_cap_default & B_AX_XTAL_SC_MASK; in rtw89_phy_cfo_reset()2185 cfo->is_adjust = false; in rtw89_phy_cfo_reset()2186 if (cfo->crystal_cap == cfo->def_x_cap) in rtw89_phy_cfo_reset()2188 cap = cfo->crystal_cap; in rtw89_phy_cfo_reset()[all …]
1193 s16 cfo; in rtw89_core_parse_phy_status_ie01() local1199 cfo = sign_extend32(RTW89_GET_PHY_STS_IE01_CFO(addr), 11); in rtw89_core_parse_phy_status_ie01()1200 rtw89_phy_cfo_parse(rtwdev, cfo, phy_ppdu); in rtw89_core_parse_phy_status_ie01()
4242 struct rtw_cfo_track *cfo = &dm_info->cfo_track; in rtw8822c_set_crystal_cap_reg() local4246 cfo->crystal_cap = crystal_cap; in rtw8822c_set_crystal_cap_reg()4253 struct rtw_cfo_track *cfo = &dm_info->cfo_track; in rtw8822c_set_crystal_cap() local4255 if (cfo->crystal_cap == crystal_cap) in rtw8822c_set_crystal_cap()4264 struct rtw_cfo_track *cfo = &dm_info->cfo_track; in rtw8822c_cfo_tracking_reset() local4266 cfo->is_adjust = true; in rtw8822c_cfo_tracking_reset()4268 if (cfo->crystal_cap > rtwdev->efuse.crystal_cap) in rtw8822c_cfo_tracking_reset()4269 rtw8822c_set_crystal_cap(rtwdev, cfo->crystal_cap - 1); in rtw8822c_cfo_tracking_reset()4270 else if (cfo->crystal_cap < rtwdev->efuse.crystal_cap) in rtw8822c_cfo_tracking_reset()4271 rtw8822c_set_crystal_cap(rtwdev, cfo->crystal_cap + 1); in rtw8822c_cfo_tracking_reset()[all …]
626 struct rtw_cfo_track *cfo = &dm_info->cfo_track; in rtw_phy_parsing_cfo_iter() local634 cfo->cfo_tail[i] += pkt_stat->cfo_tail[i]; in rtw_phy_parsing_cfo_iter()635 cfo->cfo_cnt[i]++; in rtw_phy_parsing_cfo_iter()638 cfo->packet_count++; in rtw_phy_parsing_cfo_iter()
189 __le16 cfo[API_RATE_NUM_ENTRIES]; /* signed value */ member
173 (s16)le16_to_cpu(st->cfo[i])); in wfx_rx_stats_show()