Lines Matching refs:iqk_info

684 	struct rtw89_iqk_info *iqk_info = &rtwdev->iqk;  in _iqk_one_shot()  local
718 (((0x8 + iqk_info->iqk_bw[path]) & 0xf) << 8); in _iqk_one_shot()
731 (((0xc + iqk_info->iqk_bw[path]) & 0xf) << 8); in _iqk_one_shot()
755 if (iqk_info->iqk_sram_en && in _iqk_one_shot()
770 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _rxk_2g_group_sel() local
804 iqk_info->nb_rxcfir[path] = in _rxk_2g_group_sel()
822 MASKDWORD, iqk_info->nb_rxcfir[path] | 0x2); in _rxk_2g_group_sel()
823 iqk_info->is_wb_txiqk[path] = false; in _rxk_2g_group_sel()
827 iqk_info->is_wb_txiqk[path] = true; in _rxk_2g_group_sel()
832 1 << path, iqk_info->nb_rxcfir[path]); in _rxk_2g_group_sel()
839 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _rxk_5g_group_sel() local
876 iqk_info->nb_rxcfir[path] = in _rxk_5g_group_sel()
898 iqk_info->nb_rxcfir[path] | 0x2); in _rxk_5g_group_sel()
899 iqk_info->is_wb_txiqk[path] = false; in _rxk_5g_group_sel()
903 iqk_info->is_wb_txiqk[path] = true; in _rxk_5g_group_sel()
908 1 << path, iqk_info->nb_rxcfir[path]); in _rxk_5g_group_sel()
915 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _iqk_5g_nbrxk() local
950 iqk_info->nb_rxcfir[path] = in _iqk_5g_nbrxk()
966 iqk_info->is_wb_rxiqk[path] = false; in _iqk_5g_nbrxk()
968 iqk_info->is_wb_rxiqk[path] = false; in _iqk_5g_nbrxk()
973 1 << path, iqk_info->nb_rxcfir[path]); in _iqk_5g_nbrxk()
981 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _iqk_2g_nbrxk() local
1012 iqk_info->nb_rxcfir[path] = in _iqk_2g_nbrxk()
1028 iqk_info->is_wb_rxiqk[path] = false; in _iqk_2g_nbrxk()
1030 iqk_info->is_wb_rxiqk[path] = false; in _iqk_2g_nbrxk()
1035 1 << path, iqk_info->nb_rxcfir[path]); in _iqk_2g_nbrxk()
1041 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _iqk_rxclk_setting() local
1045 if (iqk_info->iqk_bw[path] == RTW89_CHANNEL_WIDTH_80) in _iqk_rxclk_setting()
1054 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _txk_5g_group_sel() local
1074 iqk_info->nb_txcfir[path] = in _txk_5g_group_sel()
1087 MASKDWORD, iqk_info->nb_txcfir[path] | 0x2); in _txk_5g_group_sel()
1088 iqk_info->is_wb_txiqk[path] = false; in _txk_5g_group_sel()
1092 iqk_info->is_wb_txiqk[path] = true; in _txk_5g_group_sel()
1097 1 << path, iqk_info->nb_txcfir[path]); in _txk_5g_group_sel()
1104 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _txk_2g_group_sel() local
1124 iqk_info->nb_txcfir[path] = in _txk_2g_group_sel()
1137 MASKDWORD, iqk_info->nb_txcfir[path] | 0x2); in _txk_2g_group_sel()
1138 iqk_info->is_wb_txiqk[path] = false; in _txk_2g_group_sel()
1142 iqk_info->is_wb_txiqk[path] = true; in _txk_2g_group_sel()
1147 1 << path, iqk_info->nb_txcfir[path]); in _txk_2g_group_sel()
1154 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _iqk_5g_nbtxk() local
1174 iqk_info->nb_txcfir[path] = in _iqk_5g_nbtxk()
1184 iqk_info->is_wb_rxiqk[path] = false; in _iqk_5g_nbtxk()
1186 iqk_info->is_wb_rxiqk[path] = false; in _iqk_5g_nbtxk()
1191 1 << path, iqk_info->nb_txcfir[path]); in _iqk_5g_nbtxk()
1198 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _iqk_2g_nbtxk() local
1218 iqk_info->nb_txcfir[path] = in _iqk_2g_nbtxk()
1229 iqk_info->is_wb_rxiqk[path] = false; in _iqk_2g_nbtxk()
1231 iqk_info->is_wb_rxiqk[path] = false; in _iqk_2g_nbtxk()
1236 1 << path, iqk_info->nb_txcfir[path]); in _iqk_2g_nbtxk()
1349 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _iqk_txk_setting() local
1351 switch (iqk_info->iqk_band[path]) { in _iqk_txk_setting()
1370 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _iqk_by_path() local
1378 if (iqk_info->iqk_band[path] == RTW89_BAND_2G) in _iqk_by_path()
1387 if (iqk_info->is_nbiqk) { in _iqk_by_path()
1388 if (iqk_info->iqk_band[path] == RTW89_BAND_2G) in _iqk_by_path()
1389 iqk_info->iqk_tx_fail[0][path] = in _iqk_by_path()
1392 iqk_info->iqk_tx_fail[0][path] = in _iqk_by_path()
1395 if (iqk_info->iqk_band[path] == RTW89_BAND_2G) in _iqk_by_path()
1396 iqk_info->iqk_tx_fail[0][path] = in _iqk_by_path()
1399 iqk_info->iqk_tx_fail[0][path] = in _iqk_by_path()
1407 if (iqk_info->is_nbiqk) { in _iqk_by_path()
1408 if (iqk_info->iqk_band[path] == RTW89_BAND_2G) in _iqk_by_path()
1409 iqk_info->iqk_rx_fail[0][path] = in _iqk_by_path()
1412 iqk_info->iqk_rx_fail[0][path] = in _iqk_by_path()
1415 if (iqk_info->iqk_band[path] == RTW89_BAND_2G) in _iqk_by_path()
1416 iqk_info->iqk_rx_fail[0][path] = in _iqk_by_path()
1419 iqk_info->iqk_rx_fail[0][path] = in _iqk_by_path()
1487 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _iqk_get_ch_info() local
1490 iqk_info->iqk_band[path] = chan->band_type; in _iqk_get_ch_info()
1491 iqk_info->iqk_bw[path] = chan->band_width; in _iqk_get_ch_info()
1492 iqk_info->iqk_ch[path] = chan->channel; in _iqk_get_ch_info()
1493 iqk_info->iqk_table_idx[path] = idx; in _iqk_get_ch_info()
1497 iqk_info->iqk_band[path] == 0 ? "2G" : in _iqk_get_ch_info()
1498 iqk_info->iqk_band[path] == 1 ? "5G" : "6G", in _iqk_get_ch_info()
1499 iqk_info->iqk_ch[path], in _iqk_get_ch_info()
1500 iqk_info->iqk_bw[path] == 0 ? "20M" : in _iqk_get_ch_info()
1501 iqk_info->iqk_bw[path] == 1 ? "40M" : "80M"); in _iqk_get_ch_info()
1503 iqk_info->iqk_times, idx); in _iqk_get_ch_info()
1505 path, iqk_info->syn1to2); in _iqk_get_ch_info()
1558 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _iqk_init() local
1563 if (iqk_info->is_iqk_init) in _iqk_init()
1568 iqk_info->is_iqk_init = true; in _iqk_init()
1569 iqk_info->is_nbiqk = false; in _iqk_init()
1570 iqk_info->iqk_fft_en = false; in _iqk_init()
1571 iqk_info->iqk_sram_en = false; in _iqk_init()
1572 iqk_info->iqk_cfir_en = false; in _iqk_init()
1573 iqk_info->iqk_xym_en = false; in _iqk_init()
1574 iqk_info->iqk_times = 0x0; in _iqk_init()
1577 iqk_info->iqk_channel[idx] = 0x0; in _iqk_init()
1579 iqk_info->lok_cor_fail[idx][path] = false; in _iqk_init()
1580 iqk_info->lok_fin_fail[idx][path] = false; in _iqk_init()
1581 iqk_info->iqk_tx_fail[idx][path] = false; in _iqk_init()
1582 iqk_info->iqk_rx_fail[idx][path] = false; in _iqk_init()
1583 iqk_info->iqk_table_idx[path] = 0x0; in _iqk_init()
1591 struct rtw89_iqk_info *iqk_info = &rtwdev->iqk; in _doiqk() local
1601 iqk_info->iqk_times++; in _doiqk()
1602 iqk_info->version = RTW8851B_IQK_VER; in _doiqk()
1604 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[IQK]Test Ver 0x%x\n", iqk_info->version); in _doiqk()