Home
last modified time | relevance | path

Searched refs:pwr_diff_limit (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Drf.c179 u8 i, chnlgroup = 0, pwr_diff_limit[4]; in get_txpower_writeval_by_reg() local
257 pwr_diff_limit[i] = in get_txpower_writeval_by_reg()
265 if (pwr_diff_limit[i] > in get_txpower_writeval_by_reg()
268 pwr_diff_limit[i] = in get_txpower_writeval_by_reg()
272 if (pwr_diff_limit[i] > in get_txpower_writeval_by_reg()
275 pwr_diff_limit[i] = in get_txpower_writeval_by_reg()
281 customer_limit = (pwr_diff_limit[3] << 24) | in get_txpower_writeval_by_reg()
282 (pwr_diff_limit[2] << 16) | in get_txpower_writeval_by_reg()
283 (pwr_diff_limit[1] << 8) | (pwr_diff_limit[0]); in get_txpower_writeval_by_reg()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Drf.c165 u8 i, chnlgroup = 0, pwr_diff_limit[4]; in _rtl92c_get_txpower_writeval_by_regulatory() local
227 pwr_diff_limit[i] = (u8) ((rtlphy->mcs_offset in _rtl92c_get_txpower_writeval_by_regulatory()
232 if (pwr_diff_limit[i] > in _rtl92c_get_txpower_writeval_by_regulatory()
235 pwr_diff_limit[i] = rtlefuse-> in _rtl92c_get_txpower_writeval_by_regulatory()
239 if (pwr_diff_limit[i] > in _rtl92c_get_txpower_writeval_by_regulatory()
242 pwr_diff_limit[i] = in _rtl92c_get_txpower_writeval_by_regulatory()
247 customer_limit = (pwr_diff_limit[3] << 24) | in _rtl92c_get_txpower_writeval_by_regulatory()
248 (pwr_diff_limit[2] << 16) | in _rtl92c_get_txpower_writeval_by_regulatory()
249 (pwr_diff_limit[1] << 8) | (pwr_diff_limit[0]); in _rtl92c_get_txpower_writeval_by_regulatory()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Drf.c174 u8 i, chnlgroup = 0, pwr_diff_limit[4]; in _rtl92c_get_txpower_writeval_by_regulatory() local
247 pwr_diff_limit[i] = (u8) ((rtlphy->mcs_offset in _rtl92c_get_txpower_writeval_by_regulatory()
254 if (pwr_diff_limit[i] > in _rtl92c_get_txpower_writeval_by_regulatory()
257 pwr_diff_limit[i] = in _rtl92c_get_txpower_writeval_by_regulatory()
261 if (pwr_diff_limit[i] > in _rtl92c_get_txpower_writeval_by_regulatory()
264 pwr_diff_limit[i] = in _rtl92c_get_txpower_writeval_by_regulatory()
270 customer_limit = (pwr_diff_limit[3] << 24) | in _rtl92c_get_txpower_writeval_by_regulatory()
271 (pwr_diff_limit[2] << 16) | in _rtl92c_get_txpower_writeval_by_regulatory()
272 (pwr_diff_limit[1] << 8) | (pwr_diff_limit[0]); in _rtl92c_get_txpower_writeval_by_regulatory()
/linux-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188e_rf6052.c184 u8 i, chnlGroup = 0, pwr_diff_limit[4], customer_pwr_limit; in get_rx_power_val_by_reg() local
244pwr_diff_limit[i] = (u8)((pHalData->MCSTxPowerLevelOriginalOffset[chnlGroup][index + (rf ? 8 : 0)]… in get_rx_power_val_by_reg()
246 if (pwr_diff_limit[i] > pwr_diff) in get_rx_power_val_by_reg()
247 pwr_diff_limit[i] = pwr_diff; in get_rx_power_val_by_reg()
249 customer_limit = (pwr_diff_limit[3] << 24) | (pwr_diff_limit[2] << 16) | in get_rx_power_val_by_reg()
250 (pwr_diff_limit[1] << 8) | (pwr_diff_limit[0]); in get_rx_power_val_by_reg()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Drf.c167 u8 i, chnlgroup = 0, pwr_diff_limit[4], pwr_diff = 0, customer_pwr_diff; in get_txpower_writeval_by_regulatory() local
257 pwr_diff_limit[i] = in get_txpower_writeval_by_regulatory()
262 if (pwr_diff_limit[i] > pwr_diff) in get_txpower_writeval_by_regulatory()
263 pwr_diff_limit[i] = pwr_diff; in get_txpower_writeval_by_regulatory()
266 customer_limit = (pwr_diff_limit[3] << 24) | in get_txpower_writeval_by_regulatory()
267 (pwr_diff_limit[2] << 16) | in get_txpower_writeval_by_regulatory()
268 (pwr_diff_limit[1] << 8) | (pwr_diff_limit[0]); in get_txpower_writeval_by_regulatory()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Drf.c196 u8 i, chnlgroup = 0, pwr_diff_limit[4]; in _rtl92d_get_txpower_writeval_by_regulatory() local
256 pwr_diff_limit[i] = (u8)((rtlphy->mcs_offset in _rtl92d_get_txpower_writeval_by_regulatory()
261 if (pwr_diff_limit[i] > in _rtl92d_get_txpower_writeval_by_regulatory()
264 pwr_diff_limit[i] = in _rtl92d_get_txpower_writeval_by_regulatory()
268 if (pwr_diff_limit[i] > in _rtl92d_get_txpower_writeval_by_regulatory()
271 pwr_diff_limit[i] = in _rtl92d_get_txpower_writeval_by_regulatory()
276 customer_limit = (pwr_diff_limit[3] << 24) | in _rtl92d_get_txpower_writeval_by_regulatory()
277 (pwr_diff_limit[2] << 16) | in _rtl92d_get_txpower_writeval_by_regulatory()
278 (pwr_diff_limit[1] << 8) | in _rtl92d_get_txpower_writeval_by_regulatory()
279 (pwr_diff_limit[0]); in _rtl92d_get_txpower_writeval_by_regulatory()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Drf.c186 u8 i, chnlgroup = 0, pwr_diff_limit[4], pwr_diff = 0, customer_pwr_diff; in _rtl8723be_get_txpower_writeval_by_regulatory() local
278 pwr_diff_limit[i] = in _rtl8723be_get_txpower_writeval_by_regulatory()
283 if (pwr_diff_limit[i] > pwr_diff) in _rtl8723be_get_txpower_writeval_by_regulatory()
284 pwr_diff_limit[i] = pwr_diff; in _rtl8723be_get_txpower_writeval_by_regulatory()
287 customer_limit = (pwr_diff_limit[3] << 24) | in _rtl8723be_get_txpower_writeval_by_regulatory()
288 (pwr_diff_limit[2] << 16) | in _rtl8723be_get_txpower_writeval_by_regulatory()
289 (pwr_diff_limit[1] << 8) | in _rtl8723be_get_txpower_writeval_by_regulatory()
290 (pwr_diff_limit[0]); in _rtl8723be_get_txpower_writeval_by_regulatory()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Drf.c185 u8 i, chnlgroup = 0, pwr_diff_limit[4], pwr_diff = 0, customer_pwr_diff; in _rtl88e_get_txpower_writeval_by_regulatory() local
276 pwr_diff_limit[i] = in _rtl88e_get_txpower_writeval_by_regulatory()
282 if (pwr_diff_limit[i] > pwr_diff) in _rtl88e_get_txpower_writeval_by_regulatory()
283 pwr_diff_limit[i] = pwr_diff; in _rtl88e_get_txpower_writeval_by_regulatory()
286 customer_limit = (pwr_diff_limit[3] << 24) | in _rtl88e_get_txpower_writeval_by_regulatory()
287 (pwr_diff_limit[2] << 16) | in _rtl88e_get_txpower_writeval_by_regulatory()
288 (pwr_diff_limit[1] << 8) | (pwr_diff_limit[0]); in _rtl88e_get_txpower_writeval_by_regulatory()