Lines Matching refs:coex_rfe
812 struct rtw_coex_rfe *coex_rfe = &coex->rfe; in rtw8821c_coex_cfg_ant_switch() local
820 if (coex_rfe->wlg_at_btg) { in rtw8821c_coex_cfg_ant_switch()
823 if (coex_rfe->ant_switch_polarity) in rtw8821c_coex_cfg_ant_switch()
831 if (coex_rfe->ant_switch_diversity && in rtw8821c_coex_cfg_ant_switch()
835 polarity_inverse = (coex_rfe->ant_switch_polarity == 1); in rtw8821c_coex_cfg_ant_switch()
847 if (coex_rfe->rfe_module_type != 0x4 && in rtw8821c_coex_cfg_ant_switch()
848 coex_rfe->rfe_module_type != 0x2) in rtw8821c_coex_cfg_ant_switch()
920 struct rtw_coex_rfe *coex_rfe = &coex->rfe; in rtw8821c_coex_cfg_rfe_type() local
923 coex_rfe->rfe_module_type = efuse->rfe_option; in rtw8821c_coex_cfg_rfe_type()
924 coex_rfe->ant_switch_polarity = 0; in rtw8821c_coex_cfg_rfe_type()
925 coex_rfe->ant_switch_exist = true; in rtw8821c_coex_cfg_rfe_type()
926 coex_rfe->wlg_at_btg = false; in rtw8821c_coex_cfg_rfe_type()
928 switch (coex_rfe->rfe_module_type) { in rtw8821c_coex_cfg_rfe_type()
939 coex_rfe->wlg_at_btg = true; in rtw8821c_coex_cfg_rfe_type()
943 coex_rfe->ant_switch_polarity = 1; in rtw8821c_coex_cfg_rfe_type()
947 coex_rfe->wlg_at_btg = true; in rtw8821c_coex_cfg_rfe_type()
948 coex_rfe->ant_switch_polarity = 1; in rtw8821c_coex_cfg_rfe_type()
954 coex_rfe->ant_switch_exist = false; in rtw8821c_coex_cfg_rfe_type()