Home
last modified time | relevance | path

Searched refs:rf_type (Results 1 – 25 of 88) sorted by relevance

1234

/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm_rainfo.c541 static u8 phydm_trans_platform_rf_type(void *dm_void, u8 rf_type) in phydm_trans_platform_rf_type() argument
543 if (rf_type == RF_1T2R) in phydm_trans_platform_rf_type()
544 rf_type = PHYDM_RF_1T2R; in phydm_trans_platform_rf_type()
546 else if (rf_type == RF_2T4R) in phydm_trans_platform_rf_type()
547 rf_type = PHYDM_RF_2T4R; in phydm_trans_platform_rf_type()
549 else if (rf_type == RF_2T2R) in phydm_trans_platform_rf_type()
550 rf_type = PHYDM_RF_2T2R; in phydm_trans_platform_rf_type()
552 else if (rf_type == RF_1T1R) in phydm_trans_platform_rf_type()
553 rf_type = PHYDM_RF_1T1R; in phydm_trans_platform_rf_type()
555 else if (rf_type == RF_2T2R_GREEN) in phydm_trans_platform_rf_type()
[all …]
Drtl_phydm.c46 if (rtlphy->rf_type == RF_1T1R) in _rtl_phydm_init_com_info()
48 else if (rtlphy->rf_type == RF_1T2R) in _rtl_phydm_init_com_info()
50 else if (rtlphy->rf_type == RF_2T2R) in _rtl_phydm_init_com_info()
52 else if (rtlphy->rf_type == RF_2T2R_GREEN) in _rtl_phydm_init_com_info()
54 else if (rtlphy->rf_type == RF_2T3R) in _rtl_phydm_init_com_info()
56 else if (rtlphy->rf_type == RF_2T4R) in _rtl_phydm_init_com_info()
58 else if (rtlphy->rf_type == RF_3T3R) in _rtl_phydm_init_com_info()
60 else if (rtlphy->rf_type == RF_3T4R) in _rtl_phydm_init_com_info()
62 else if (rtlphy->rf_type == RF_4T4R) in _rtl_phydm_init_com_info()
598 enum rf_type rf_type, in rtl_phydm_rate_id_mapping() argument
[all …]
Dphydm_rainfo.h227 u8 phydm_rate_id_mapping(void *dm_void, u32 wireless_mode, u8 rf_type, u8 bw);
229 void phydm_update_hal_ra_mask(void *dm_void, u32 wireless_mode, u8 rf_type,
Dphydm_adaptivity.c164 if (dm->rf_type > ODM_1T1R) { in phydm_set_lna()
185 if (dm->rf_type > ODM_1T1R) { in phydm_set_lna()
243 if (dm->rf_type > ODM_1T1R) { in phydm_set_lna()
264 if (dm->rf_type > ODM_1T1R) { in phydm_set_lna()
312 if (dm->rf_type > ODM_1T1R) { in phydm_set_trx_mux()
327 if (dm->rf_type > ODM_1T1R) { in phydm_set_trx_mux()
Dphydm_noisemonitor.c63 if ((dm->rf_type == ODM_1T2R) || (dm->rf_type == ODM_2T2R)) in odm_inband_noise_monitor_n_series()
/Linux-v4.19/drivers/staging/vt6656/
Dbaseband.c381 priv->rf_type = priv->eeprom[EEP_OFS_RFTYPE]; in vnt_vt3184_init()
383 dev_dbg(&priv->usb->dev, "RF Type %d\n", priv->rf_type); in vnt_vt3184_init()
385 if ((priv->rf_type == RF_AL2230) || in vnt_vt3184_init()
386 (priv->rf_type == RF_AL2230S)) { in vnt_vt3184_init()
398 } else if (priv->rf_type == RF_AIROHA7230) { in vnt_vt3184_init()
412 } else if ((priv->rf_type == RF_VT3226) || in vnt_vt3184_init()
413 (priv->rf_type == RF_VT3226D0)) { in vnt_vt3184_init()
428 } else if (priv->rf_type == RF_VT3342A0) { in vnt_vt3184_init()
457 if ((priv->rf_type == RF_VT3226) || in vnt_vt3184_init()
458 (priv->rf_type == RF_VT3342A0)) { in vnt_vt3184_init()
[all …]
Drf.c652 if (priv->rf_type == RF_VT3226D0) { in vnt_rf_addpower()
686 switch (priv->rf_type) { in vnt_rf_set_txpower()
798 switch (priv->rf_type) { in vnt_rf_rssi_to_dbm()
821 switch (priv->rf_type) { in vnt_rf_table_download()
907 if (priv->rf_type == RF_AIROHA7230) { in vnt_rf_table_download()
Dcard.c368 switch (priv->rf_type) { in vnt_update_ifs()
679 switch (priv->rf_type) { in vnt_radio_power_off()
720 switch (priv->rf_type) { in vnt_radio_power_on()
739 if (priv->rf_type == RF_AIROHA7230 && priv->bb_type == BB_TYPE_11A) in vnt_set_bss_mode()
757 if (priv->rf_type == RF_AIROHA7230) { in vnt_set_bss_mode()
767 if (priv->rf_type == RF_AIROHA7230) { in vnt_set_bss_mode()
Ddevice.h191 u8 rf_type; member
292 u8 rf_type; member
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
Dboot_loader.h30 __le16 rf_type; /* 0x880A44 connected RF ID */ member
58 __le32 rf_type; /* 0x880A44 connected RF ID */ member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dphy.c863 if (rtlphy->rf_type == RF_1T1R) { in _rtl92s_phy_set_bb_to_diff_rf()
866 } else if (rtlphy->rf_type == RF_1T2R) { in _rtl92s_phy_set_bb_to_diff_rf()
922 if (rtlphy->rf_type == RF_1T2R || rtlphy->rf_type == RF_2T2R || in _rtl92s_phy_bb_config_parafile()
923 rtlphy->rf_type == RF_1T1R || rtlphy->rf_type == RF_2T2R_GREEN) { in _rtl92s_phy_bb_config_parafile()
926 if (rtlphy->rf_type != RF_2T2R && in _rtl92s_phy_bb_config_parafile()
927 rtlphy->rf_type != RF_2T2R_GREEN) in _rtl92s_phy_bb_config_parafile()
985 if (rtlphy->rf_type == RF_2T2R_GREEN) { in rtl92s_phy_config_rf()
1071 if ((rtlphy->rf_type == RF_1T1R && rf_num != 1) || in rtl92s_phy_bb_config()
1072 (rtlphy->rf_type == RF_1T2R && rf_num != 2) || in rtl92s_phy_bb_config()
1073 (rtlphy->rf_type == RF_2T2R && rf_num != 2) || in rtl92s_phy_bb_config()
[all …]
Ddm.c92 if (rtlpriv->phy.rf_type == RF_1T2R) { in _rtl92s_dm_check_edca_turbo()
202 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_check_txpowertracking_thermalmeter()
322 if ((rtlphy->rf_type == RF_1T1R) || (rtlphy->rf_type == RF_2T2R)) in _rtl92s_dm_switch_baseband_mrc()
569 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_ctrl_initgain_byrssi()
590 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_dynamic_txpower()
Drf.c139 if (rtlphy->rf_type == RF_2T2R) { in _rtl92s_set_antennadiff()
322 if (rtlphy->rf_type == RF_2T2R) { in _rtl92s_write_ofdm_powerreg()
343 if (rtlphy->rf_type == RF_2T2R) { in _rtl92s_write_ofdm_powerreg()
Dhw.c928 switch (rtlphy->rf_type) { in _rtl92se_hw_configure()
1122 if (rtlphy->rf_type == RF_1T2R) { in rtl92se_hw_init()
1975 rtlphy->rf_type = RF_2T2R; in _rtl92se_read_adapter_info()
1977 rtlphy->rf_type = RF_1T2R; in _rtl92se_read_adapter_info()
1979 rtlphy->rf_type = RF_1T2R; in _rtl92se_read_adapter_info()
1981 rtlphy->rf_type = RF_1T1R; in _rtl92se_read_adapter_info()
1985 if (rtlphy->rf_type == RF_1T2R) { in _rtl92se_read_adapter_info()
2089 if (rtlphy->rf_type == RF_1T2R) in rtl92se_update_hal_rate_table()
2210 if (rtlphy->rf_type == RF_1T2R || in rtl92se_update_hal_rate_mask()
2211 rtlphy->rf_type == RF_1T1R) { in rtl92se_update_hal_rate_mask()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723b_dm.c57 if (pHalData->rf_type == RF_1T1R) { in Init_ODM_ComInfo_8723b()
59 } else if (pHalData->rf_type == RF_2T2R) { in Init_ODM_ComInfo_8723b()
61 } else if (pHalData->rf_type == RF_1T2R) { in Init_ODM_ComInfo_8723b()
Drtl8723b_rf6052.c203 if (pHalData->rf_type == RF_1T1R) in PHY_RF6052_Config8723B()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c1962 if (rtlpriv->phy.rf_type == RF_1T1R && in rtl8821ae_hw_init()
2029 rtlphy->rf_type = RF_2T2R; in _rtl8821ae_read_chip_version()
2031 rtlphy->rf_type = RF_1T1R; in _rtl8821ae_read_chip_version()
2034 "RF_Type is %x!!\n", rtlphy->rf_type); in _rtl8821ae_read_chip_version()
2038 if (rtlphy->rf_type == RF_2T2R) in _rtl8821ae_read_chip_version()
2048 if (rtlphy->rf_type == RF_2T2R) in _rtl8821ae_read_chip_version()
3368 if (rtlphy->rf_type == RF_1T2R) in rtl8821ae_update_hal_rate_table()
3416 if (rtlphy->rf_type == RF_1T1R) in _rtl8821ae_mrate_idx_to_arfr_id()
3423 if (rtlphy->rf_type == RF_1T1R) in _rtl8821ae_mrate_idx_to_arfr_id()
3429 if (rtlphy->rf_type == RF_1T1R) in _rtl8821ae_mrate_idx_to_arfr_id()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dhw.c1092 rtlphy->rf_type = RF_2T2R; in _rtl8822be_read_chip_version()
1099 (rtlphy->rf_type == RF_2T2R) ? "RF_2T2R" : "RF_1T1R"); in _rtl8822be_read_chip_version()
2032 if (rtlphy->rf_type == RF_2T2R) in rtl8822be_read_eeprom_info()
2108 u8 rf_type = RF_1T1R; in _rtl8822be_get_ra_rftype() local
2110 if (rtlphy->rf_type == RF_1T1R) { in _rtl8822be_get_ra_rftype()
2111 rf_type = RF_1T1R; in _rtl8822be_get_ra_rftype()
2116 rf_type = RF_2T2R; in _rtl8822be_get_ra_rftype()
2120 rf_type = RF_2T2R; in _rtl8822be_get_ra_rftype()
2123 return rf_type; in _rtl8822be_get_ra_rftype()
2164 u8 rf_type; in rtl8822be_update_hal_rate_mask() local
[all …]
/Linux-v4.19/drivers/net/wireless/zydas/zd1211rw/
Dzd_chip.c330 static int read_pod(struct zd_chip *chip, u8 *rf_type) in read_pod() argument
342 *rf_type = value & 0x0f; in read_pod()
359 zd_rf_name(*rf_type), *rf_type, in read_pod()
367 *rf_type = 0; in read_pod()
1129 u8 rf_type; in zd_chip_init_hw() local
1168 r = read_pod(chip, &rf_type); in zd_chip_init_hw()
1174 r = zd_rf_init_hw(&chip->rf, rf_type); in zd_chip_init_hw()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dhal_data.h206 u8 rf_type; member
473 #define GET_RF_TYPE(__padapter) (GET_HAL_DATA(__padapter)->rf_type)
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Drf.c68 if (rtlphy->rf_type == RF_1T1R) in rtl92ee_phy_rf6052_config()
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_phy.c64 if (priv->rf_type == RF_2T4R) in rtl92e_is_legal_rf_path()
66 else if (priv->rf_type == RF_1T2R) { in rtl92e_is_legal_rf_path()
359 if (priv->rf_type == RF_2T4R) { in _rtl92e_phy_config_bb()
362 } else if (priv->rf_type == RF_1T2R) { in _rtl92e_phy_config_bb()
573 if (priv->rf_type == RF_2T4R) in _rtl92e_bb_config_para_file()
640 if (priv->rf_type == RF_1T2R) { in rtl92e_set_tx_power()
643 } else if (priv->rf_type == RF_2T4R) { in rtl92e_set_tx_power()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c85 u8 raid, cur_rf_type, rf_type = RF_1T1R; in networktype_to_raid_ex() local
90 rf_type = RF_1T1R; in networktype_to_raid_ex()
93 rf_type = RF_2T2R; in networktype_to_raid_ex()
96 rf_type = RF_2T2R; in networktype_to_raid_ex()
114 if (rf_type == RF_2T2R) in networktype_to_raid_ex()
122 if (rf_type == RF_2T2R) in networktype_to_raid_ex()
127 if (rf_type == RF_2T2R) in networktype_to_raid_ex()
1076 u8 rf_type; in HT_caps_handler() local
1112 rtw_hal_get_hwreg(padapter, HW_VAR_RF_TYPE, (u8 *)(&rf_type)); in HT_caps_handler()
1119 switch (rf_type) { in HT_caps_handler()
Drtw_ioctl_set.c652 u8 rf_type = 0; in rtw_get_cur_max_rate() local
665 rtw_hal_get_hwreg(adapter, HW_VAR_RF_TYPE, (u8 *)(&rf_type)); in rtw_get_cur_max_rate()
668 rf_type, in rtw_get_cur_max_rate()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c1128 rtlphy->rf_type = RF_1T1R; in _rtl92ce_read_chip_version()
1131 rtlphy->rf_type = RF_2T2R; in _rtl92ce_read_chip_version()
1134 rtlphy->rf_type = RF_1T2R; in _rtl92ce_read_chip_version()
1137 rtlphy->rf_type = RF_1T1R; in _rtl92ce_read_chip_version()
1143 rtlphy->rf_type == RF_2T2R ? "RF_2T2R" : "RF_1T1R"); in _rtl92ce_read_chip_version()
1822 if (rtlphy->rf_type == RF_1T2R) in rtl92ce_update_hal_rate_table()
1926 if (rtlphy->rf_type == RF_1T2R || in rtl92ce_update_hal_rate_mask()
1927 rtlphy->rf_type == RF_1T1R) { in rtl92ce_update_hal_rate_mask()
1973 if (rtlphy->rf_type == RF_1T2R) in rtl92ce_update_hal_rate_mask()
2333 if (rtlphy->rf_type == RF_1T1R) { in rtl8192ce_bt_hw_init()

1234