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()
1635 u8 regulation = 0, bandwidth = 0, rate_section = 0, channel; in _rtl8812ae_phy_set_txpower_limit() local
1651 regulation = 0; in _rtl8812ae_phy_set_txpower_limit()
1653 regulation = 1; in _rtl8812ae_phy_set_txpower_limit()
1655 regulation = 2; in _rtl8812ae_phy_set_txpower_limit()
1657 regulation = 3; in _rtl8812ae_phy_set_txpower_limit()
1695 prev_power_limit = rtlphy->txpwr_limit_2_4g[regulation] in _rtl8812ae_phy_set_txpower_limit()
1700 rtlphy->txpwr_limit_2_4g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1706 regulation, bandwidth, rate_section, channel_index, in _rtl8812ae_phy_set_txpower_limit()
1707 rtlphy->txpwr_limit_2_4g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1719 prev_power_limit = rtlphy->txpwr_limit_5g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1724 rtlphy->txpwr_limit_5g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1729 regulation, bandwidth, rate_section, channel, in _rtl8812ae_phy_set_txpower_limit()
1730 rtlphy->txpwr_limit_5g[regulation][bandwidth] in _rtl8812ae_phy_set_txpower_limit()
1740 const char *regulation, const char *band, in _rtl8812ae_phy_config_bb_txpwr_lmt() argument
1745 _rtl8812ae_phy_set_txpower_limit(hw, regulation, band, bandwidth, in _rtl8812ae_phy_config_bb_txpwr_lmt()
1769 const char *regulation = array[i]; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local
1777 _rtl8812ae_phy_config_bb_txpwr_lmt(hw, regulation, band, in _rtl8821ae_phy_read_and_config_txpwr_lmt()
2326 short band_temp = -1, regulation = -1, bandwidth_temp = -1, in _rtl8812ae_phy_get_txpower_limit() local
2334 regulation = TXPWR_LMT_WW; in _rtl8812ae_phy_get_txpower_limit()
2441 if (band_temp == -1 || regulation == -1 || bandwidth_temp == -1 || in _rtl8812ae_phy_get_txpower_limit()
2445 band_temp, regulation, bandwidth_temp, rf_path, in _rtl8812ae_phy_get_txpower_limit()
2450 regu = regulation; in _rtl8812ae_phy_get_txpower_limit()
2463 power_limit = (regulation == TXPWR_LMT_WW) ? in _rtl8812ae_phy_get_txpower_limit()
2475 power_limit = (regulation == TXPWR_LMT_WW) ? in _rtl8812ae_phy_get_txpower_limit()