Home
last modified time | relevance | path

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

/drivers/staging/r8188eu/hal/
DHalPhyRf_8188e.c543 static void patha_fill_iqk(struct adapter *adapt, bool iqkok, s32 result[][8], u8 final_candidate, … in patha_fill_iqk() argument
550 if (final_candidate == 0xFF) { in patha_fill_iqk()
555 X = result[final_candidate][0]; in patha_fill_iqk()
563 Y = result[final_candidate][1]; in patha_fill_iqk()
576 reg = result[final_candidate][2]; in patha_fill_iqk()
579 reg = result[final_candidate][3] & 0x3F; in patha_fill_iqk()
582 reg = (result[final_candidate][3] >> 6) & 0xF; in patha_fill_iqk()
587 static void pathb_fill_iqk(struct adapter *adapt, bool iqkok, s32 result[][8], u8 final_candidate, … in pathb_fill_iqk() argument
594 if (final_candidate == 0xFF) { in pathb_fill_iqk()
599 X = result[final_candidate][4]; in pathb_fill_iqk()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dphy_common.c967 u8 final_candidate, bool btxonly) in _rtl92c_phy_path_a_fill_iqk_matrix() argument
972 if (final_candidate == 0xFF) { in _rtl92c_phy_path_a_fill_iqk_matrix()
977 x = result[final_candidate][0]; in _rtl92c_phy_path_a_fill_iqk_matrix()
984 y = result[final_candidate][1]; in _rtl92c_phy_path_a_fill_iqk_matrix()
996 reg = result[final_candidate][2]; in _rtl92c_phy_path_a_fill_iqk_matrix()
998 reg = result[final_candidate][3] & 0x3F; in _rtl92c_phy_path_a_fill_iqk_matrix()
1000 reg = (result[final_candidate][3] >> 6) & 0xF; in _rtl92c_phy_path_a_fill_iqk_matrix()
1007 u8 final_candidate, bool btxonly) in _rtl92c_phy_path_b_fill_iqk_matrix() argument
1012 if (final_candidate == 0xFF) { in _rtl92c_phy_path_b_fill_iqk_matrix()
1017 x = result[final_candidate][4]; in _rtl92c_phy_path_b_fill_iqk_matrix()
[all …]
/drivers/staging/rtl8723bs/hal/
DHalPhyRf_8723B.c938 u8 final_candidate, in _PHY_PathAFillIQKMatrix8723B() argument
949 if (final_candidate == 0xFF) in _PHY_PathAFillIQKMatrix8723B()
955 X = result[final_candidate][0]; in _PHY_PathAFillIQKMatrix8723B()
963 Y = result[final_candidate][1]; in _PHY_PathAFillIQKMatrix8723B()
991 reg = result[final_candidate][2]; in _PHY_PathAFillIQKMatrix8723B()
995 reg = result[final_candidate][3] & 0x3F; in _PHY_PathAFillIQKMatrix8723B()
1000 reg = (result[final_candidate][3] >> 6) & 0xF; in _PHY_PathAFillIQKMatrix8723B()
1012 u8 final_candidate, in _PHY_PathBFillIQKMatrix8723B() argument
1023 if (final_candidate == 0xFF) in _PHY_PathBFillIQKMatrix8723B()
1029 X = result[final_candidate][4]; in _PHY_PathBFillIQKMatrix8723B()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dphy.c1885 u8 final_candidate, in _rtl8723be_phy_path_b_fill_iqk_matrix() argument
1891 if (final_candidate == 0xFF) { in _rtl8723be_phy_path_b_fill_iqk_matrix()
1896 x = result[final_candidate][4]; in _rtl8723be_phy_path_b_fill_iqk_matrix()
1903 y = result[final_candidate][5]; in _rtl8723be_phy_path_b_fill_iqk_matrix()
1915 reg = result[final_candidate][6]; in _rtl8723be_phy_path_b_fill_iqk_matrix()
1917 reg = result[final_candidate][7] & 0x3F; in _rtl8723be_phy_path_b_fill_iqk_matrix()
1919 reg = (result[final_candidate][7] >> 6) & 0xF; in _rtl8723be_phy_path_b_fill_iqk_matrix()
1929 u8 final_candidate[2] = {0xFF, 0xFF}; /* for path A and path B */ in _rtl8723be_phy_simularity_compare() local
1958 final_candidate[(i / 4)] = c2; in _rtl8723be_phy_simularity_compare()
1960 final_candidate[(i / 4)] = c1; in _rtl8723be_phy_simularity_compare()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dphy.c2246 u8 final_candidate, in _rtl92ee_phy_path_a_fill_iqk_matrix() argument
2252 if (final_candidate == 0xFF) { in _rtl92ee_phy_path_a_fill_iqk_matrix()
2257 x = result[final_candidate][0]; in _rtl92ee_phy_path_a_fill_iqk_matrix()
2264 y = result[final_candidate][1]; in _rtl92ee_phy_path_a_fill_iqk_matrix()
2278 reg = result[final_candidate][2]; in _rtl92ee_phy_path_a_fill_iqk_matrix()
2281 reg = result[final_candidate][3] & 0x3F; in _rtl92ee_phy_path_a_fill_iqk_matrix()
2284 reg = (result[final_candidate][3] >> 6) & 0xF; in _rtl92ee_phy_path_a_fill_iqk_matrix()
2291 u8 final_candidate, in _rtl92ee_phy_path_b_fill_iqk_matrix() argument
2297 if (final_candidate == 0xFF) { in _rtl92ee_phy_path_b_fill_iqk_matrix()
2302 x = result[final_candidate][4]; in _rtl92ee_phy_path_b_fill_iqk_matrix()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dphy.c1485 u8 final_candidate, bool btxonly) in _rtl88e_phy_path_a_fill_iqk_matrix() argument
1490 if (final_candidate == 0xFF) { in _rtl88e_phy_path_a_fill_iqk_matrix()
1495 x = result[final_candidate][0]; in _rtl88e_phy_path_a_fill_iqk_matrix()
1502 y = result[final_candidate][1]; in _rtl88e_phy_path_a_fill_iqk_matrix()
1514 reg = result[final_candidate][2]; in _rtl88e_phy_path_a_fill_iqk_matrix()
1516 reg = result[final_candidate][3] & 0x3F; in _rtl88e_phy_path_a_fill_iqk_matrix()
1518 reg = (result[final_candidate][3] >> 6) & 0xF; in _rtl88e_phy_path_a_fill_iqk_matrix()
1619 u8 final_candidate[2] = { 0xFF, 0xFF }; in _rtl88e_phy_simularity_compare() local
1637 final_candidate[(i / 4)] = c2; in _rtl88e_phy_simularity_compare()
1639 final_candidate[(i / 4)] = c1; in _rtl88e_phy_simularity_compare()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dphy.c1083 u8 final_candidate[2] = { 0xFF, 0xFF }; in _rtl8723e_phy_simularity_compare() local
1098 final_candidate[(i / 4)] = c2; in _rtl8723e_phy_simularity_compare()
1100 final_candidate[(i / 4)] = c1; in _rtl8723e_phy_simularity_compare()
1112 if (final_candidate[i] != 0xFF) { in _rtl8723e_phy_simularity_compare()
1115 result[final_candidate[i]][j]; in _rtl8723e_phy_simularity_compare()
1336 u8 i, final_candidate; in rtl8723e_phy_iq_calibrate() local
1366 final_candidate = 0xff; in rtl8723e_phy_iq_calibrate()
1377 final_candidate = 0; in rtl8723e_phy_iq_calibrate()
1385 final_candidate = 0; in rtl8723e_phy_iq_calibrate()
1391 final_candidate = 1; in rtl8723e_phy_iq_calibrate()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dphy_common.c277 u8 final_candidate, in rtl8723_phy_path_a_fill_iqk_matrix() argument
283 if (final_candidate == 0xFF) { in rtl8723_phy_path_a_fill_iqk_matrix()
288 x = result[final_candidate][0]; in rtl8723_phy_path_a_fill_iqk_matrix()
295 y = result[final_candidate][1]; in rtl8723_phy_path_a_fill_iqk_matrix()
307 reg = result[final_candidate][2]; in rtl8723_phy_path_a_fill_iqk_matrix()
309 reg = result[final_candidate][3] & 0x3F; in rtl8723_phy_path_a_fill_iqk_matrix()
311 reg = (result[final_candidate][3] >> 6) & 0xF; in rtl8723_phy_path_a_fill_iqk_matrix()
Dphy_common.h49 u8 final_candidate,
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dphy.c2064 u8 final_candidate[2] = {0xFF, 0xFF}; /* for path A and path B */ in _rtl92d_phy_simularity_compare() local
2079 final_candidate[(i / 4)] = c2; in _rtl92d_phy_simularity_compare()
2081 final_candidate[(i / 4)] = c1; in _rtl92d_phy_simularity_compare()
2091 if (final_candidate[i] != 0xFF) { in _rtl92d_phy_simularity_compare()
2094 result[final_candidate[i]][j]; in _rtl92d_phy_simularity_compare()
2119 u8 final_candidate, bool txonly) in _rtl92d_phy_patha_fill_iqk_matrix() argument
2130 if (final_candidate == 0xFF) { in _rtl92d_phy_patha_fill_iqk_matrix()
2135 val_x = result[final_candidate][0]; in _rtl92d_phy_patha_fill_iqk_matrix()
2145 val_y = result[final_candidate][1]; in _rtl92d_phy_patha_fill_iqk_matrix()
2170 reg = result[final_candidate][2]; in _rtl92d_phy_patha_fill_iqk_matrix()
[all …]
/drivers/net/wireless/realtek/rtw88/
Drtw8723d.c1414 u8 final_candidate = IQK_ROUND_INVALID; in rtw8723d_phy_calibration() local
1440 final_candidate = j; in rtw8723d_phy_calibration()
1443 j, i, final_candidate); in rtw8723d_phy_calibration()
1449 if (final_candidate == IQK_ROUND_INVALID) { in rtw8723d_phy_calibration()
1456 final_candidate = IQK_ROUND_HYBRID; in rtw8723d_phy_calibration()
1464 rtw8723d_iqk_fill_s1_matrix(rtwdev, result[final_candidate]); in rtw8723d_phy_calibration()
1465 rtw8723d_iqk_fill_s0_matrix(rtwdev, result[final_candidate]); in rtw8723d_phy_calibration()
1467 dm_info->iqk.result.s1_x = result[final_candidate][IQK_S1_TX_X]; in rtw8723d_phy_calibration()
1468 dm_info->iqk.result.s1_y = result[final_candidate][IQK_S1_TX_Y]; in rtw8723d_phy_calibration()
1469 dm_info->iqk.result.s0_x = result[final_candidate][IQK_S0_TX_X]; in rtw8723d_phy_calibration()
[all …]