Lines Matching refs:regulation
1129 u8 regulation, bw, channel, rate_section; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit() local
1132 for (regulation = 0; regulation < MAX_REGULATION_NUM; ++regulation) { in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1136 temp_pwrlmt = rtlphy->txpwr_limit_5g[regulation] in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1144 rtlphy->txpwr_limit_5g[regulation][bw][2][channel][RF90_PATH_A] = in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1145 rtlphy->txpwr_limit_5g[regulation][bw][4][channel][RF90_PATH_A]; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1147 rtlphy->txpwr_limit_5g[regulation][bw][4][channel][RF90_PATH_A] = in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1148 rtlphy->txpwr_limit_5g[regulation][bw][2][channel][RF90_PATH_A]; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1150 rtlphy->txpwr_limit_5g[regulation][bw][3][channel][RF90_PATH_A] = in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1151 rtlphy->txpwr_limit_5g[regulation][bw][5][channel][RF90_PATH_A]; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1153 rtlphy->txpwr_limit_5g[regulation][bw][5][channel][RF90_PATH_A] = in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1154 rtlphy->txpwr_limit_5g[regulation][bw][3][channel][RF90_PATH_A]; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1298 u8 regulation, bw, channel, rate_section; in _rtl8812ae_phy_convert_txpower_limit_to_power_index() local
1309 for (regulation = 0; regulation < MAX_REGULATION_NUM; ++regulation) { in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1333 temp_pwrlmt = rtlphy->txpwr_limit_2_4g[regulation] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1348 rtlphy->txpwr_limit_2_4g[regulation] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1355 regulation, bw, rate_section, channel, in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1356 rtlphy->txpwr_limit_2_4g[regulation][bw] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1365 for (regulation = 0; regulation < MAX_REGULATION_NUM; ++regulation) { in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1394 temp_pwrlmt = rtlphy->txpwr_limit_5g[regulation] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1413 rtlphy->txpwr_limit_5g[regulation] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1420 regulation, bw, rate_section, in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1421 channel, rtlphy->txpwr_limit_5g[regulation] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1647 u8 regulation = 0, bandwidth = 0, rate_section = 0, channel; in _rtl8812ae_phy_set_txpower_limit() local
1663 regulation = 0; in _rtl8812ae_phy_set_txpower_limit()
1665 regulation = 1; in _rtl8812ae_phy_set_txpower_limit()
1667 regulation = 2; in _rtl8812ae_phy_set_txpower_limit()
1669 regulation = 3; in _rtl8812ae_phy_set_txpower_limit()
1707 prev_power_limit = rtlphy->txpwr_limit_2_4g[regulation] in _rtl8812ae_phy_set_txpower_limit()
1712 rtlphy->txpwr_limit_2_4g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1718 regulation, bandwidth, rate_section, channel_index, in _rtl8812ae_phy_set_txpower_limit()
1719 rtlphy->txpwr_limit_2_4g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1731 prev_power_limit = rtlphy->txpwr_limit_5g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1736 rtlphy->txpwr_limit_5g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1741 regulation, bandwidth, rate_section, channel, in _rtl8812ae_phy_set_txpower_limit()
1742 rtlphy->txpwr_limit_5g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1752 const char *regulation, const char *band, in _rtl8812ae_phy_config_bb_txpwr_lmt() argument
1757 _rtl8812ae_phy_set_txpower_limit(hw, regulation, band, bandwidth, in _rtl8812ae_phy_config_bb_txpwr_lmt()
1781 const char *regulation = array[i]; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local
1789 _rtl8812ae_phy_config_bb_txpwr_lmt(hw, regulation, band, in _rtl8821ae_phy_read_and_config_txpwr_lmt()
2338 short band_temp = -1, regulation = -1, bandwidth_temp = -1, in _rtl8812ae_phy_get_txpower_limit() local
2346 regulation = TXPWR_LMT_WW; in _rtl8812ae_phy_get_txpower_limit()
2453 if (band_temp == -1 || regulation == -1 || bandwidth_temp == -1 || in _rtl8812ae_phy_get_txpower_limit()
2457 band_temp, regulation, bandwidth_temp, rf_path, in _rtl8812ae_phy_get_txpower_limit()
2462 regu = regulation; in _rtl8812ae_phy_get_txpower_limit()
2475 power_limit = (regulation == TXPWR_LMT_WW) ? in _rtl8812ae_phy_get_txpower_limit()
2487 power_limit = (regulation == TXPWR_LMT_WW) ? in _rtl8812ae_phy_get_txpower_limit()