Lines Matching refs:regulation
1159 u8 regulation, bw, channel, rate_section; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit() local
1162 for (regulation = 0; regulation < MAX_REGULATION_NUM; ++regulation) { in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1166 temp_pwrlmt = rtlphy->txpwr_limit_5g[regulation] in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1174 rtlphy->txpwr_limit_5g[regulation][bw][2][channel][RF90_PATH_A] = in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1175 rtlphy->txpwr_limit_5g[regulation][bw][4][channel][RF90_PATH_A]; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1177 rtlphy->txpwr_limit_5g[regulation][bw][4][channel][RF90_PATH_A] = in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1178 rtlphy->txpwr_limit_5g[regulation][bw][2][channel][RF90_PATH_A]; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1180 rtlphy->txpwr_limit_5g[regulation][bw][3][channel][RF90_PATH_A] = in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1181 rtlphy->txpwr_limit_5g[regulation][bw][5][channel][RF90_PATH_A]; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1183 rtlphy->txpwr_limit_5g[regulation][bw][5][channel][RF90_PATH_A] = in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1184 rtlphy->txpwr_limit_5g[regulation][bw][3][channel][RF90_PATH_A]; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1326 u8 regulation, bw, channel, rate_section; in _rtl8812ae_phy_convert_txpower_limit_to_power_index() local
1337 for (regulation = 0; regulation < MAX_REGULATION_NUM; ++regulation) { in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1361 temp_pwrlmt = rtlphy->txpwr_limit_2_4g[regulation] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1376 rtlphy->txpwr_limit_2_4g[regulation] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1383 regulation, bw, rate_section, channel, in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1384 rtlphy->txpwr_limit_2_4g[regulation][bw] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1393 for (regulation = 0; regulation < MAX_REGULATION_NUM; ++regulation) { in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1422 temp_pwrlmt = rtlphy->txpwr_limit_5g[regulation] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1441 rtlphy->txpwr_limit_5g[regulation] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1448 regulation, bw, rate_section, in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1449 channel, rtlphy->txpwr_limit_5g[regulation] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1674 u8 regulation = 0, bandwidth = 0, rate_section = 0, channel; in _rtl8812ae_phy_set_txpower_limit() local
1690 regulation = 0; in _rtl8812ae_phy_set_txpower_limit()
1692 regulation = 1; in _rtl8812ae_phy_set_txpower_limit()
1694 regulation = 2; in _rtl8812ae_phy_set_txpower_limit()
1696 regulation = 3; in _rtl8812ae_phy_set_txpower_limit()
1734 prev_power_limit = rtlphy->txpwr_limit_2_4g[regulation] in _rtl8812ae_phy_set_txpower_limit()
1739 rtlphy->txpwr_limit_2_4g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1745 regulation, bandwidth, rate_section, channel_index, in _rtl8812ae_phy_set_txpower_limit()
1746 rtlphy->txpwr_limit_2_4g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1758 prev_power_limit = rtlphy->txpwr_limit_5g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1763 rtlphy->txpwr_limit_5g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1768 regulation, bandwidth, rate_section, channel, in _rtl8812ae_phy_set_txpower_limit()
1769 rtlphy->txpwr_limit_5g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1779 u8 *regulation, u8 *band, in _rtl8812ae_phy_config_bb_txpwr_lmt() argument
1784 _rtl8812ae_phy_set_txpower_limit(hw, regulation, band, bandwidth, in _rtl8812ae_phy_config_bb_txpwr_lmt()
1809 u8 *regulation = array[i]; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local
1817 _rtl8812ae_phy_config_bb_txpwr_lmt(hw, regulation, band, in _rtl8821ae_phy_read_and_config_txpwr_lmt()
2373 short band_temp = -1, regulation = -1, bandwidth_temp = -1, in _rtl8812ae_phy_get_txpower_limit() local
2381 regulation = TXPWR_LMT_WW; in _rtl8812ae_phy_get_txpower_limit()
2487 if (band_temp == -1 || regulation == -1 || bandwidth_temp == -1 || in _rtl8812ae_phy_get_txpower_limit()
2491 band_temp, regulation, bandwidth_temp, rf_path, in _rtl8812ae_phy_get_txpower_limit()
2497 regu = regulation; in _rtl8812ae_phy_get_txpower_limit()
2510 power_limit = (regulation == TXPWR_LMT_WW) ? in _rtl8812ae_phy_get_txpower_limit()
2522 power_limit = (regulation == TXPWR_LMT_WW) ? in _rtl8812ae_phy_get_txpower_limit()