/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | phy_common.c | 75 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92c_phy_rf_serial_read() local 76 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf_serial_read() 129 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92c_phy_rf_serial_write() local 130 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf_serial_write() 171 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92c_phy_bb8192c_config_parafile() local 181 if (rtlphy->rf_type == RF_1T2R) { in _rtl92c_phy_bb8192c_config_parafile() 186 rtlphy->pwrgroup_cnt = 0; in _rtl92c_phy_bb8192c_config_parafile() 200 rtlphy->cck_high_power = in _rtl92c_phy_bb8192c_config_parafile() 213 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92c_store_pwrindex_diffrate_offset() local 216 rtlphy->mcs_txpwrlevel_origoffset[rtlphy->pwrgroup_cnt][0] = in _rtl92c_store_pwrindex_diffrate_offset() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | phy.c | 39 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8723e_phy_query_rf_reg() local 47 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl8723e_phy_query_rf_reg() 69 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8723e_phy_set_rf_reg() local 78 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl8723e_phy_set_rf_reg() 184 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8723e_phy_bb8192c_config_parafile() local 196 if (rtlphy->rf_type == RF_1T2R) { in _rtl8723e_phy_bb8192c_config_parafile() 201 rtlphy->pwrgroup_cnt = 0; in _rtl8723e_phy_bb8192c_config_parafile() 215 rtlphy->cck_high_power = (bool) (rtl_get_bbreg(hw, in _rtl8723e_phy_bb8192c_config_parafile() 294 struct rtl_phy *rtlphy = &rtlpriv->phy; in store_pwrindex_diffrate_offset() local 297 rtlphy->mcs_txpwrlevel_origoffset[rtlphy->pwrgroup_cnt][0] = in store_pwrindex_diffrate_offset() [all …]
|
D | rf.c | 16 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8723e_phy_rf6052_set_bandwidth() local 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723e_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl8723e_phy_rf6052_set_bandwidth() 26 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723e_phy_rf6052_set_bandwidth() 29 rtlphy->rfreg_chnlval[0]); in rtl8723e_phy_rf6052_set_bandwidth() 41 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8723e_phy_rf6052_set_cck_txpower() local 75 (rtlphy->mcs_txpwrlevel_origoffset[0][6]) + in rtl8723e_phy_rf6052_set_cck_txpower() 76 (rtlphy->mcs_txpwrlevel_origoffset[0][7] << in rtl8723e_phy_rf6052_set_cck_txpower() 80 tmpval = (rtlphy->mcs_txpwrlevel_origoffset[0][14]) + in rtl8723e_phy_rf6052_set_cck_txpower() 81 (rtlphy->mcs_txpwrlevel_origoffset[0][15] << in rtl8723e_phy_rf6052_set_cck_txpower() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | phy.c | 65 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_phy_rf_serial_read() local 66 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_read() 126 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_phy_rf_serial_write() local 127 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_write() 172 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92s_phy_set_rf_reg() local 175 if (!((rtlphy->rf_pathmap >> rfpath) & 0x1)) in rtl92s_phy_set_rf_reg() 226 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92s_phy_set_bw_mode() local 231 rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20 ? in rtl92s_phy_set_bw_mode() 234 if (rtlphy->set_bwmode_inprogress) in rtl92s_phy_set_bw_mode() 239 rtlphy->set_bwmode_inprogress = true; in rtl92s_phy_set_bw_mode() [all …]
|
D | rf.c | 17 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_get_powerbase() local 47 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20) { in _rtl92s_get_powerbase() 77 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20_40) { in _rtl92s_get_powerbase() 97 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20_40) { in _rtl92s_get_powerbase() 113 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_set_antennadiff() local 117 if (rtlphy->rf_type == RF_2T2R) { in _rtl92s_set_antennadiff() 157 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_get_txpower_writeval_byregulatory() local 169 writeval = rtlphy->mcs_offset[chnlgroup][index] + in _rtl92s_get_txpower_writeval_byregulatory() 178 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20_40) { in _rtl92s_get_txpower_writeval_byregulatory() 187 if (rtlphy->pwrgroup_cnt >= 3) { in _rtl92s_get_txpower_writeval_byregulatory() [all …]
|
D | dm.c | 176 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_check_txpowertracking_thermalmeter() local 180 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_check_txpowertracking_thermalmeter() 289 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_switch_baseband_mrc() local 300 if ((rtlphy->rf_type == RF_1T1R) || (rtlphy->rf_type == RF_2T2R)) in _rtl92s_dm_switch_baseband_mrc() 543 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_ctrl_initgain_byrssi() local 547 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_ctrl_initgain_byrssi() 562 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_dynamic_txpower() local 568 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_dynamic_txpower() 622 rtl92s_phy_set_txpower(hw, rtlphy->current_channel); in _rtl92s_dm_dynamic_txpower()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
D | phy_common.c | 66 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723_phy_rf_serial_read() local 67 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl8723_phy_rf_serial_read() 118 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723_phy_rf_serial_write() local 119 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl8723_phy_rf_serial_write() 163 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723_phy_init_bb_rf_reg_def() local 165 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in rtl8723_phy_init_bb_rf_reg_def() 166 rtlphy->phyreg_def[RF90_PATH_B].rfintfs = RFPGA0_XAB_RFINTERFACESW; in rtl8723_phy_init_bb_rf_reg_def() 167 rtlphy->phyreg_def[RF90_PATH_C].rfintfs = RFPGA0_XCD_RFINTERFACESW; in rtl8723_phy_init_bb_rf_reg_def() 168 rtlphy->phyreg_def[RF90_PATH_D].rfintfs = RFPGA0_XCD_RFINTERFACESW; in rtl8723_phy_init_bb_rf_reg_def() 170 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in rtl8723_phy_init_bb_rf_reg_def() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | phy.c | 144 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl88e_phy_rf_serial_read() local 145 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl88e_phy_rf_serial_read() 194 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl88e_phy_rf_serial_write() local 195 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl88e_phy_rf_serial_write() 334 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl88e_phy_bb8188e_config_parafile() local 345 rtlphy->pwrgroup_cnt = 0; in _rtl88e_phy_bb8188e_config_parafile() 359 rtlphy->cck_high_power = in _rtl88e_phy_bb8188e_config_parafile() 507 struct rtl_phy *rtlphy = &rtlpriv->phy; in store_pwrindex_rate_offset() local 508 int count = rtlphy->pwrgroup_cnt; in store_pwrindex_rate_offset() 511 rtlphy->mcs_txpwrlevel_origoffset[count][0] = data; in store_pwrindex_rate_offset() [all …]
|
D | rf.c | 16 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl88e_phy_rf6052_set_bandwidth() local 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl88e_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl88e_phy_rf6052_set_bandwidth() 26 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl88e_phy_rf6052_set_bandwidth() 29 rtlphy->rfreg_chnlval[0]); in rtl88e_phy_rf6052_set_bandwidth() 41 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl88e_phy_rf6052_set_cck_txpower() local 76 (rtlphy->mcs_txpwrlevel_origoffset[0][6]) + in rtl88e_phy_rf6052_set_cck_txpower() 77 (rtlphy->mcs_txpwrlevel_origoffset[0][7] << in rtl88e_phy_rf6052_set_cck_txpower() 81 tmpval = (rtlphy->mcs_txpwrlevel_origoffset[0][14]) + in rtl88e_phy_rf6052_set_cck_txpower() 82 (rtlphy->mcs_txpwrlevel_origoffset[0][15] << in rtl88e_phy_rf6052_set_cck_txpower() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | phy.c | 243 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92d_phy_rf_serial_read() local 244 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_read() 291 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92d_phy_rf_serial_write() local 292 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_write() 326 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92d_phy_set_rf_reg() local 335 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92d_phy_set_rf_reg() 380 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92d_phy_init_bb_rf_register_definition() local 384 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92d_phy_init_bb_rf_register_definition() 386 rtlphy->phyreg_def[RF90_PATH_B].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92d_phy_init_bb_rf_register_definition() 388 rtlphy->phyreg_def[RF90_PATH_C].rfintfs = RFPGA0_XCD_RFINTERFACESW; in _rtl92d_phy_init_bb_rf_register_definition() [all …]
|
D | rf.c | 15 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92d_phy_rf6052_set_bandwidth() local 20 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rtl92d_phy_rf6052_set_bandwidth() 21 rtlphy->rfreg_chnlval[rfpath] = ((rtlphy->rfreg_chnlval in rtl92d_phy_rf6052_set_bandwidth() 28 rtlphy->rfreg_chnlval[rfpath]); in rtl92d_phy_rf6052_set_bandwidth() 33 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rtl92d_phy_rf6052_set_bandwidth() 34 rtlphy->rfreg_chnlval[rfpath] = in rtl92d_phy_rf6052_set_bandwidth() 35 ((rtlphy->rfreg_chnlval[rfpath] & 0xfffff3ff)); in rtl92d_phy_rf6052_set_bandwidth() 40 rtlphy->rfreg_chnlval[rfpath]); in rtl92d_phy_rf6052_set_bandwidth() 53 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92d_phy_rf6052_set_cck_txpower() local 82 tmpval = (rtlphy->mcs_offset[0][6]) + in rtl92d_phy_rf6052_set_cck_txpower() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | rf.c | 16 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl92ee_phy_rf6052_set_bandwidth() local 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ee_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth() 25 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth() 28 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ee_phy_rf6052_set_bandwidth() 31 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth() 33 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth() 44 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl92ee_phy_rf6052_config() local 46 if (rtlphy->rf_type == RF_1T1R) in rtl92ee_phy_rf6052_config() 47 rtlphy->num_total_rfpath = 1; in rtl92ee_phy_rf6052_config() [all …]
|
D | phy.c | 138 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl92ee_phy_rf_serial_read() local 139 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_read() 187 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl92ee_phy_rf_serial_write() local 188 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_write() 370 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl92ee_phy_init_tx_power_by_rate() local 378 rtlphy->tx_power_by_rate_offset in _rtl92ee_phy_init_tx_power_by_rate() 388 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl92ee_phy_set_txpower_by_rate_base() local 399 rtlphy->txpwr_by_rate_base_24g[path][txnum][0] = value; in _rtl92ee_phy_set_txpower_by_rate_base() 402 rtlphy->txpwr_by_rate_base_24g[path][txnum][1] = value; in _rtl92ee_phy_set_txpower_by_rate_base() 405 rtlphy->txpwr_by_rate_base_24g[path][txnum][2] = value; in _rtl92ee_phy_set_txpower_by_rate_base() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | rf.c | 16 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_rf6052_set_bandwidth() local 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ce_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl92ce_phy_rf6052_set_bandwidth() 26 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ce_phy_rf6052_set_bandwidth() 29 rtlphy->rfreg_chnlval[0]); in rtl92ce_phy_rf6052_set_bandwidth() 41 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_rf6052_set_cck_txpower() local 73 tmpval = (rtlphy->mcs_offset[0][6]) + in rtl92ce_phy_rf6052_set_cck_txpower() 74 (rtlphy->mcs_offset[0][7] << 8); in rtl92ce_phy_rf6052_set_cck_txpower() 77 tmpval = (rtlphy->mcs_offset[0][14]) + in rtl92ce_phy_rf6052_set_cck_txpower() 78 (rtlphy->mcs_offset[0][15] << 24); in rtl92ce_phy_rf6052_set_cck_txpower() [all …]
|
D | phy.c | 26 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92c_phy_query_rf_reg() local 34 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92c_phy_query_rf_reg() 99 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_set_rf_reg() local 108 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92ce_phy_set_rf_reg() 291 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_set_bw_mode_callback() local 297 rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20 ? in rtl92ce_phy_set_bw_mode_callback() 301 rtlphy->set_bwmode_inprogress = false; in rtl92ce_phy_set_bw_mode_callback() 308 switch (rtlphy->current_chan_bw) { in rtl92ce_phy_set_bw_mode_callback() 321 pr_info("unknown bandwidth: %#X\n", rtlphy->current_chan_bw); in rtl92ce_phy_set_bw_mode_callback() 325 switch (rtlphy->current_chan_bw) { in rtl92ce_phy_set_bw_mode_callback() [all …]
|
D | dm.c | 17 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_dm_dynamic_txpower() local 79 rtlphy->current_channel); in rtl92ce_dm_dynamic_txpower() 80 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92ce_dm_dynamic_txpower()
|
D | hw.c | 917 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_hw_init() local 966 rtlphy->rf_mode = RF_OP_BY_SW_3WIRE; in rtl92ce_hw_init() 980 rtlphy->rfreg_chnlval[0] = rtl_get_rfreg(hw, (enum radio_path)0, in rtl92ce_hw_init() 982 rtlphy->rfreg_chnlval[1] = rtl_get_rfreg(hw, (enum radio_path)1, in rtl92ce_hw_init() 1001 if (rtlphy->iqk_initialized) { in rtl92ce_hw_init() 1005 rtlphy->iqk_initialized = true; in rtl92ce_hw_init() 1042 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92ce_read_chip_version() local 1111 rtlphy->rf_type = RF_1T1R; in _rtl92ce_read_chip_version() 1114 rtlphy->rf_type = RF_2T2R; in _rtl92ce_read_chip_version() 1117 rtlphy->rf_type = RF_1T2R; in _rtl92ce_read_chip_version() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | rf.c | 16 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_phy_rf6052_set_bandwidth() local 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92cu_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl92cu_phy_rf6052_set_bandwidth() 26 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92cu_phy_rf6052_set_bandwidth() 29 rtlphy->rfreg_chnlval[0]); in rtl92cu_phy_rf6052_set_bandwidth() 41 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_phy_rf6052_set_cck_txpower() local 76 tmpval = (rtlphy->mcs_offset[0][6]) + in rtl92cu_phy_rf6052_set_cck_txpower() 77 (rtlphy->mcs_offset[0][7] << 8); in rtl92cu_phy_rf6052_set_cck_txpower() 79 tmpval = (rtlphy->mcs_offset[0][14]) + in rtl92cu_phy_rf6052_set_cck_txpower() 80 (rtlphy->mcs_offset[0][15] << 24); in rtl92cu_phy_rf6052_set_cck_txpower() [all …]
|
D | phy.c | 23 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_phy_query_rf_reg() local 28 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92cu_phy_query_rf_reg() 48 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_phy_set_rf_reg() local 54 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92cu_phy_set_rf_reg() 119 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92cu_phy_config_mac_with_headerfile() local 125 arraylength = rtlphy->hwparam_tables[MAC_REG].length ; in _rtl92cu_phy_config_mac_with_headerfile() 126 ptrarray = rtlphy->hwparam_tables[MAC_REG].pdata; in _rtl92cu_phy_config_mac_with_headerfile() 142 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92cu_phy_config_bb_with_headerfile() local 145 agctab_arraylen = rtlphy->hwparam_tables[AGCTAB_2T].length; in _rtl92cu_phy_config_bb_with_headerfile() 146 agctab_array_table = rtlphy->hwparam_tables[AGCTAB_2T].pdata; in _rtl92cu_phy_config_bb_with_headerfile() [all …]
|
D | hw.c | 27 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92cu_phy_param_tab_init() local 30 rtlphy->hwparam_tables[MAC_REG].length = RTL8192CUMAC_2T_ARRAYLENGTH; in _rtl92cu_phy_param_tab_init() 31 rtlphy->hwparam_tables[MAC_REG].pdata = RTL8192CUMAC_2T_ARRAY; in _rtl92cu_phy_param_tab_init() 33 rtlphy->hwparam_tables[PHY_REG_PG].length = in _rtl92cu_phy_param_tab_init() 35 rtlphy->hwparam_tables[PHY_REG_PG].pdata = in _rtl92cu_phy_param_tab_init() 38 rtlphy->hwparam_tables[PHY_REG_PG].length = in _rtl92cu_phy_param_tab_init() 40 rtlphy->hwparam_tables[PHY_REG_PG].pdata = in _rtl92cu_phy_param_tab_init() 44 rtlphy->hwparam_tables[PHY_REG_2T].length = in _rtl92cu_phy_param_tab_init() 46 rtlphy->hwparam_tables[PHY_REG_2T].pdata = in _rtl92cu_phy_param_tab_init() 48 rtlphy->hwparam_tables[RADIOA_2T].length = in _rtl92cu_phy_param_tab_init() [all …]
|
D | dm.c | 14 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_dm_dynamic_txpower() local 76 rtlphy->current_channel); in rtl92cu_dm_dynamic_txpower() 77 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92cu_dm_dynamic_txpower()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | phy.c | 242 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8723be_phy_init_tx_power_by_rate() local 252 rtlphy->tx_power_by_rate_offset in _rtl8723be_phy_init_tx_power_by_rate() 283 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8723be_phy_set_txpower_by_rate_base() local 295 rtlphy->txpwr_by_rate_base_24g[path][txnum][0] = value; in _rtl8723be_phy_set_txpower_by_rate_base() 298 rtlphy->txpwr_by_rate_base_24g[path][txnum][1] = value; in _rtl8723be_phy_set_txpower_by_rate_base() 301 rtlphy->txpwr_by_rate_base_24g[path][txnum][2] = value; in _rtl8723be_phy_set_txpower_by_rate_base() 304 rtlphy->txpwr_by_rate_base_24g[path][txnum][3] = value; in _rtl8723be_phy_set_txpower_by_rate_base() 325 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8723be_phy_get_txpower_by_rate_base() local 337 value = rtlphy->txpwr_by_rate_base_24g[path][txnum][0]; in _rtl8723be_phy_get_txpower_by_rate_base() 340 value = rtlphy->txpwr_by_rate_base_24g[path][txnum][1]; in _rtl8723be_phy_get_txpower_by_rate_base() [all …]
|
D | rf.c | 16 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723be_phy_rf6052_set_bandwidth() local 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723be_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl8723be_phy_rf6052_set_bandwidth() 26 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723be_phy_rf6052_set_bandwidth() 29 rtlphy->rfreg_chnlval[0]); in rtl8723be_phy_rf6052_set_bandwidth() 41 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723be_phy_rf6052_set_cck_txpower() local 76 (rtlphy->mcs_txpwrlevel_origoffset[0][6]) + in rtl8723be_phy_rf6052_set_cck_txpower() 77 (rtlphy->mcs_txpwrlevel_origoffset[0][7] << 8); in rtl8723be_phy_rf6052_set_cck_txpower() 80 tmpval = (rtlphy->mcs_txpwrlevel_origoffset[0][14]) + in rtl8723be_phy_rf6052_set_cck_txpower() 81 (rtlphy->mcs_txpwrlevel_origoffset[0][15] << in rtl8723be_phy_rf6052_set_cck_txpower() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | phy.c | 262 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8821ae_phy_rf_serial_write() local 263 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8821ae_phy_rf_serial_write() 295 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8821ae_phy_bb_config() local 322 rtlphy->reg_837 = rtl_read_byte(rtlpriv, 0x837); in rtl8821ae_phy_bb_config() 893 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8821ae_phy_init_tx_power_by_rate() local 902 rtlphy->tx_power_by_rate_offset[band] in _rtl8821ae_phy_init_tx_power_by_rate() 912 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8821ae_phy_set_txpower_by_rate_base() local 923 rtlphy->txpwr_by_rate_base_24g[path][txnum][0] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 926 rtlphy->txpwr_by_rate_base_24g[path][txnum][1] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() 929 rtlphy->txpwr_by_rate_base_24g[path][txnum][2] = value; in _rtl8821ae_phy_set_txpower_by_rate_base() [all …]
|
D | rf.c | 38 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8821ae_phy_rf6052_set_cck_txpower() local 75 (rtlphy->mcs_txpwrlevel_origoffset[0][6]) + in rtl8821ae_phy_rf6052_set_cck_txpower() 76 (rtlphy->mcs_txpwrlevel_origoffset[0][7] << in rtl8821ae_phy_rf6052_set_cck_txpower() 80 tmpval = (rtlphy->mcs_txpwrlevel_origoffset[0][14]) + in rtl8821ae_phy_rf6052_set_cck_txpower() 81 (rtlphy->mcs_txpwrlevel_origoffset[0][15] << in rtl8821ae_phy_rf6052_set_cck_txpower() 125 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8821ae_phy_get_power_base() local 141 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20) in rtl8821ae_phy_get_power_base() 165 struct rtl_phy *rtlphy = &rtlpriv->phy; in get_txpower_writeval_by_regulatory() local 176 rtlphy->mcs_txpwrlevel_origoffset[chnlgroup][index + in get_txpower_writeval_by_regulatory() 185 if (rtlphy->pwrgroup_cnt == 1) { in get_txpower_writeval_by_regulatory() [all …]
|