Home
last modified time | relevance | path

Searched refs:factor_toset (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c260 u8 factor_toset; in rtl92de_set_hw_reg() local
271 factor_toset = *val; in rtl92de_set_hw_reg()
272 if (factor_toset <= 3) { in rtl92de_set_hw_reg()
273 factor_toset = (1 << (factor_toset + 2)); in rtl92de_set_hw_reg()
274 if (factor_toset > 0xf) in rtl92de_set_hw_reg()
275 factor_toset = 0xf; in rtl92de_set_hw_reg()
279 (factor_toset << 4)) in rtl92de_set_hw_reg()
281 | (factor_toset << 4); in rtl92de_set_hw_reg()
282 if ((*ptmp_byte & 0x0f) > factor_toset) in rtl92de_set_hw_reg()
284 | (factor_toset); in rtl92de_set_hw_reg()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1700 u8 factor_toset; in rtl92cu_set_hw_reg() local
1705 factor_toset = *val; in rtl92cu_set_hw_reg()
1706 if (factor_toset <= 3) { in rtl92cu_set_hw_reg()
1707 factor_toset = (1 << (factor_toset + 2)); in rtl92cu_set_hw_reg()
1708 if (factor_toset > 0xf) in rtl92cu_set_hw_reg()
1709 factor_toset = 0xf; in rtl92cu_set_hw_reg()
1712 (factor_toset << 4)) in rtl92cu_set_hw_reg()
1715 | (factor_toset << 4); in rtl92cu_set_hw_reg()
1717 factor_toset) in rtl92cu_set_hw_reg()
1720 | (factor_toset); in rtl92cu_set_hw_reg()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c257 u8 factor_toset; in rtl8723e_set_hw_reg() local
268 factor_toset = *((u8 *)val); in rtl8723e_set_hw_reg()
269 if (factor_toset <= 3) { in rtl8723e_set_hw_reg()
270 factor_toset = (1 << (factor_toset + 2)); in rtl8723e_set_hw_reg()
271 if (factor_toset > 0xf) in rtl8723e_set_hw_reg()
272 factor_toset = 0xf; in rtl8723e_set_hw_reg()
276 (factor_toset << 4)) in rtl8723e_set_hw_reg()
279 (factor_toset << 4); in rtl8723e_set_hw_reg()
282 factor_toset) in rtl8723e_set_hw_reg()
285 (factor_toset); in rtl8723e_set_hw_reg()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c475 u8 factor_toset; in rtl88ee_set_hw_reg() local
481 factor_toset = *val; in rtl88ee_set_hw_reg()
482 if (factor_toset <= 3) { in rtl88ee_set_hw_reg()
483 factor_toset = (1 << (factor_toset + 2)); in rtl88ee_set_hw_reg()
484 if (factor_toset > 0xf) in rtl88ee_set_hw_reg()
485 factor_toset = 0xf; in rtl88ee_set_hw_reg()
489 (factor_toset << 4)) in rtl88ee_set_hw_reg()
492 (factor_toset << 4); in rtl88ee_set_hw_reg()
495 factor_toset) in rtl88ee_set_hw_reg()
498 (factor_toset); in rtl88ee_set_hw_reg()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c254 u8 factor_toset; in rtl92ce_set_hw_reg() local
265 factor_toset = *(val); in rtl92ce_set_hw_reg()
266 if (factor_toset <= 3) { in rtl92ce_set_hw_reg()
267 factor_toset = (1 << (factor_toset + 2)); in rtl92ce_set_hw_reg()
268 if (factor_toset > 0xf) in rtl92ce_set_hw_reg()
269 factor_toset = 0xf; in rtl92ce_set_hw_reg()
273 (factor_toset << 4)) in rtl92ce_set_hw_reg()
276 (factor_toset << 4); in rtl92ce_set_hw_reg()
279 factor_toset) in rtl92ce_set_hw_reg()
282 (factor_toset); in rtl92ce_set_hw_reg()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c510 u8 factor_toset; in rtl8723be_set_hw_reg() local
516 factor_toset = *((u8 *)val); in rtl8723be_set_hw_reg()
517 if (factor_toset <= 3) { in rtl8723be_set_hw_reg()
518 factor_toset = (1 << (factor_toset + 2)); in rtl8723be_set_hw_reg()
519 if (factor_toset > 0xf) in rtl8723be_set_hw_reg()
520 factor_toset = 0xf; in rtl8723be_set_hw_reg()
524 (factor_toset << 4)) in rtl8723be_set_hw_reg()
527 (factor_toset << 4); in rtl8723be_set_hw_reg()
529 if ((p_regtoset[index] & 0x0f) > factor_toset) in rtl8723be_set_hw_reg()
532 (factor_toset); in rtl8723be_set_hw_reg()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c185 u8 factor_toset; in rtl92se_set_hw_reg() local
193 factor_toset = *val; in rtl92se_set_hw_reg()
194 if (factor_toset <= 3) { in rtl92se_set_hw_reg()
195 factor_toset = (1 << (factor_toset + 2)); in rtl92se_set_hw_reg()
196 if (factor_toset > 0xf) in rtl92se_set_hw_reg()
197 factor_toset = 0xf; in rtl92se_set_hw_reg()
200 if (factorlevel[index] > factor_toset) in rtl92se_set_hw_reg()
202 factor_toset; in rtl92se_set_hw_reg()
220 factor_toset); in rtl92se_set_hw_reg()