Home
last modified time | relevance | path

Searched refs:cfo (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/wireless/realtek/rtw89/
H A Dphy.c3825 struct rtw89_cfo_tracking_info *cfo = &rtwdev->cfo_tracking; in rtw89_phy_cfo_set_crystal_cap() local
3829 if (!force && cfo->crystal_cap == crystal_cap) in rtw89_phy_cfo_set_crystal_cap()
3845 cfo->crystal_cap = sc_xi_val; in rtw89_phy_cfo_set_crystal_cap()
3846 cfo->x_cap_ofst = (s8)((int)cfo->crystal_cap - cfo->def_x_cap); in rtw89_phy_cfo_set_crystal_cap()
3851 cfo->x_cap_ofst); in rtw89_phy_cfo_set_crystal_cap()
3857 struct rtw89_cfo_tracking_info *cfo = &rtwdev->cfo_tracking; in rtw89_phy_cfo_reset() local
3860 cfo->def_x_cap = cfo->crystal_cap_default & B_AX_XTAL_SC_MASK; in rtw89_phy_cfo_reset()
3861 cfo->is_adjust = false; in rtw89_phy_cfo_reset()
3862 if (cfo->crystal_cap == cfo->def_x_cap) in rtw89_phy_cfo_reset()
3864 cap = cfo->crystal_cap; in rtw89_phy_cfo_reset()
[all …]
H A Dphy.h513 const struct rtw89_cfo_regs *cfo; member
H A Dcore.c1607 s16 cfo; in rtw89_core_parse_phy_status_ie01() local
1636 cfo = sign_extend32(t, 11); in rtw89_core_parse_phy_status_ie01()
1639 cfo = sign_extend32(t, 11); in rtw89_core_parse_phy_status_ie01()
1642 rtw89_phy_cfo_parse(rtwdev, cfo, phy_ppdu); in rtw89_core_parse_phy_status_ie01()
H A Dphy_be.c990 .cfo = &rtw89_cfo_regs_be,
/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A D8723a.c419 struct rtl8xxxu_cfo_tracking *cfo = &priv->cfo_tracking; in rtl8723a_set_crystal_cap() local
422 if (crystal_cap == cfo->crystal_cap) in rtl8723a_set_crystal_cap()
430 cfo->crystal_cap, in rtl8723a_set_crystal_cap()
440 cfo->crystal_cap = crystal_cap; in rtl8723a_set_crystal_cap()
H A D8710b.c1763 struct rtl8xxxu_cfo_tracking *cfo = &priv->cfo_tracking; in rtl8710b_set_crystal_cap() local
1766 if (crystal_cap == cfo->crystal_cap) in rtl8710b_set_crystal_cap()
1774 cfo->crystal_cap, in rtl8710b_set_crystal_cap()
1783 cfo->crystal_cap = crystal_cap; in rtl8710b_set_crystal_cap()
H A D8188f.c1652 struct rtl8xxxu_cfo_tracking *cfo = &priv->cfo_tracking; in rtl8188f_set_crystal_cap() local
1655 if (crystal_cap == cfo->crystal_cap) in rtl8188f_set_crystal_cap()
1663 cfo->crystal_cap, in rtl8188f_set_crystal_cap()
1673 cfo->crystal_cap = crystal_cap; in rtl8188f_set_crystal_cap()
H A Dcore.c7284 struct rtl8xxxu_cfo_tracking *cfo = &priv->cfo_tracking; in rtl8xxxu_set_atc_status() local
7287 if (atc_status == cfo->atc_status) in rtl8xxxu_set_atc_status()
7290 cfo->atc_status = atc_status; in rtl8xxxu_set_atc_status()
7303 struct rtl8xxxu_cfo_tracking *cfo = &priv->cfo_tracking; in rtl8xxxu_track_cfo() local
7309 cfo->adjust = true; in rtl8xxxu_track_cfo()
7311 if (cfo->crystal_cap > priv->default_crystal_cap) in rtl8xxxu_track_cfo()
7312 priv->fops->set_crystal_cap(priv, cfo->crystal_cap - 1); in rtl8xxxu_track_cfo()
7313 else if (cfo->crystal_cap < priv->default_crystal_cap) in rtl8xxxu_track_cfo()
7314 priv->fops->set_crystal_cap(priv, cfo->crystal_cap + 1); in rtl8xxxu_track_cfo()
7321 if (cfo->packet_count == cfo->packet_count_pre) in rtl8xxxu_track_cfo()
[all …]
H A D8192f.c1942 struct rtl8xxxu_cfo_tracking *cfo = &priv->cfo_tracking; in rtl8192f_set_crystal_cap() local
1945 if (crystal_cap == cfo->crystal_cap) in rtl8192f_set_crystal_cap()
1954 cfo->crystal_cap, in rtl8192f_set_crystal_cap()
1964 cfo->crystal_cap = crystal_cap; in rtl8192f_set_crystal_cap()
/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8822c.c4264 struct rtw_cfo_track *cfo = &dm_info->cfo_track; in rtw8822c_set_crystal_cap_reg() local
4268 cfo->crystal_cap = crystal_cap; in rtw8822c_set_crystal_cap_reg()
4275 struct rtw_cfo_track *cfo = &dm_info->cfo_track; in rtw8822c_set_crystal_cap() local
4277 if (cfo->crystal_cap == crystal_cap) in rtw8822c_set_crystal_cap()
4286 struct rtw_cfo_track *cfo = &dm_info->cfo_track; in rtw8822c_cfo_tracking_reset() local
4288 cfo->is_adjust = true; in rtw8822c_cfo_tracking_reset()
4290 if (cfo->crystal_cap > rtwdev->efuse.crystal_cap) in rtw8822c_cfo_tracking_reset()
4291 rtw8822c_set_crystal_cap(rtwdev, cfo->crystal_cap - 1); in rtw8822c_cfo_tracking_reset()
4292 else if (cfo->crystal_cap < rtwdev->efuse.crystal_cap) in rtw8822c_cfo_tracking_reset()
4293 rtw8822c_set_crystal_cap(rtwdev, cfo->crystal_cap + 1); in rtw8822c_cfo_tracking_reset()
[all …]
H A Dphy.c626 struct rtw_cfo_track *cfo = &dm_info->cfo_track; in rtw_phy_parsing_cfo_iter() local
634 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()
/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_api_general.h189 __le16 cfo[API_RATE_NUM_ENTRIES]; /* signed value */ member
H A Ddebug.c173 (s16)le16_to_cpu(st->cfo[i])); in wfx_rx_stats_show()