Lines Matching refs:coex_rfe
1145 struct rtw_coex_rfe *coex_rfe = &coex->rfe; in rtw8822b_coex_cfg_ant_switch() local
1154 if (coex_rfe->ant_switch_diversity && in rtw8822b_coex_cfg_ant_switch()
1158 polarity_inverse = (coex_rfe->ant_switch_polarity == 1); in rtw8822b_coex_cfg_ant_switch()
1171 if (coex_rfe->rfe_module_type != 0x4 && in rtw8822b_coex_cfg_ant_switch()
1172 coex_rfe->rfe_module_type != 0x2) in rtw8822b_coex_cfg_ant_switch()
1240 struct rtw_coex_rfe *coex_rfe = &coex->rfe; in rtw8822b_coex_cfg_rfe_type() local
1244 coex_rfe->rfe_module_type = rtwdev->efuse.rfe_option; in rtw8822b_coex_cfg_rfe_type()
1245 coex_rfe->ant_switch_polarity = 0; in rtw8822b_coex_cfg_rfe_type()
1246 coex_rfe->ant_switch_diversity = false; in rtw8822b_coex_cfg_rfe_type()
1247 if (coex_rfe->rfe_module_type == 0x12 || in rtw8822b_coex_cfg_rfe_type()
1248 coex_rfe->rfe_module_type == 0x15 || in rtw8822b_coex_cfg_rfe_type()
1249 coex_rfe->rfe_module_type == 0x16) in rtw8822b_coex_cfg_rfe_type()
1250 coex_rfe->ant_switch_exist = false; in rtw8822b_coex_cfg_rfe_type()
1252 coex_rfe->ant_switch_exist = true; in rtw8822b_coex_cfg_rfe_type()
1254 if (coex_rfe->rfe_module_type == 2 || in rtw8822b_coex_cfg_rfe_type()
1255 coex_rfe->rfe_module_type == 4) { in rtw8822b_coex_cfg_rfe_type()
1262 coex_rfe->wlg_at_btg = false; in rtw8822b_coex_cfg_rfe_type()
1265 coex_rfe->ant_switch_exist && !is_ext_fem) in rtw8822b_coex_cfg_rfe_type()
1266 coex_rfe->ant_switch_with_bt = true; in rtw8822b_coex_cfg_rfe_type()
1268 coex_rfe->ant_switch_with_bt = false; in rtw8822b_coex_cfg_rfe_type()