Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dphy.c2482 static void rtw89_dcfo_comp(struct rtw89_dev *rtwdev, s32 curr_cfo) in rtw89_dcfo_comp() argument
2495 rtw89_debug(rtwdev, RTW89_DBG_CFO, "DCFO: curr_cfo=%d\n", curr_cfo); in rtw89_dcfo_comp()
2496 if (curr_cfo == 0) in rtw89_dcfo_comp()
2499 sign = curr_cfo > 0 ? 1 : -1; in rtw89_dcfo_comp()
2500 cfo_avg_312 = curr_cfo / 625 + sign * dcfo_comp_val; in rtw89_dcfo_comp()
2552 s32 curr_cfo) in rtw89_phy_cfo_crystal_cap_adjust() argument
2556 s32 cfo_abs = abs(curr_cfo); in rtw89_phy_cfo_crystal_cap_adjust()
2570 sign = curr_cfo > 0 ? 1 : -1; in rtw89_phy_cfo_crystal_cap_adjust()