Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c282 u8 factor_toset; in rtl92de_set_hw_reg() local
293 factor_toset = *val; in rtl92de_set_hw_reg()
294 if (factor_toset <= 3) { in rtl92de_set_hw_reg()
295 factor_toset = (1 << (factor_toset + 2)); in rtl92de_set_hw_reg()
296 if (factor_toset > 0xf) in rtl92de_set_hw_reg()
297 factor_toset = 0xf; in rtl92de_set_hw_reg()
301 (factor_toset << 4)) in rtl92de_set_hw_reg()
303 | (factor_toset << 4); in rtl92de_set_hw_reg()
304 if ((*ptmp_byte & 0x0f) > factor_toset) in rtl92de_set_hw_reg()
306 | (factor_toset); in rtl92de_set_hw_reg()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1712 u8 factor_toset; in rtl92cu_set_hw_reg() local
1717 factor_toset = *val; in rtl92cu_set_hw_reg()
1718 if (factor_toset <= 3) { in rtl92cu_set_hw_reg()
1719 factor_toset = (1 << (factor_toset + 2)); in rtl92cu_set_hw_reg()
1720 if (factor_toset > 0xf) in rtl92cu_set_hw_reg()
1721 factor_toset = 0xf; in rtl92cu_set_hw_reg()
1724 (factor_toset << 4)) in rtl92cu_set_hw_reg()
1727 | (factor_toset << 4); in rtl92cu_set_hw_reg()
1729 factor_toset) in rtl92cu_set_hw_reg()
1732 | (factor_toset); in rtl92cu_set_hw_reg()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c274 u8 factor_toset; in rtl92ce_set_hw_reg() local
285 factor_toset = *(val); in rtl92ce_set_hw_reg()
286 if (factor_toset <= 3) { in rtl92ce_set_hw_reg()
287 factor_toset = (1 << (factor_toset + 2)); in rtl92ce_set_hw_reg()
288 if (factor_toset > 0xf) in rtl92ce_set_hw_reg()
289 factor_toset = 0xf; in rtl92ce_set_hw_reg()
293 (factor_toset << 4)) in rtl92ce_set_hw_reg()
296 (factor_toset << 4); in rtl92ce_set_hw_reg()
299 factor_toset) in rtl92ce_set_hw_reg()
302 (factor_toset); in rtl92ce_set_hw_reg()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c279 u8 factor_toset; in rtl8723e_set_hw_reg() local
290 factor_toset = *((u8 *)val); in rtl8723e_set_hw_reg()
291 if (factor_toset <= 3) { in rtl8723e_set_hw_reg()
292 factor_toset = (1 << (factor_toset + 2)); in rtl8723e_set_hw_reg()
293 if (factor_toset > 0xf) in rtl8723e_set_hw_reg()
294 factor_toset = 0xf; in rtl8723e_set_hw_reg()
298 (factor_toset << 4)) in rtl8723e_set_hw_reg()
301 (factor_toset << 4); in rtl8723e_set_hw_reg()
304 factor_toset) in rtl8723e_set_hw_reg()
307 (factor_toset); in rtl8723e_set_hw_reg()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c494 u8 factor_toset; in rtl88ee_set_hw_reg() local
500 factor_toset = *val; in rtl88ee_set_hw_reg()
501 if (factor_toset <= 3) { in rtl88ee_set_hw_reg()
502 factor_toset = (1 << (factor_toset + 2)); in rtl88ee_set_hw_reg()
503 if (factor_toset > 0xf) in rtl88ee_set_hw_reg()
504 factor_toset = 0xf; in rtl88ee_set_hw_reg()
508 (factor_toset << 4)) in rtl88ee_set_hw_reg()
511 (factor_toset << 4); in rtl88ee_set_hw_reg()
514 factor_toset) in rtl88ee_set_hw_reg()
517 (factor_toset); in rtl88ee_set_hw_reg()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c529 u8 factor_toset; in rtl8723be_set_hw_reg() local
535 factor_toset = *((u8 *)val); in rtl8723be_set_hw_reg()
536 if (factor_toset <= 3) { in rtl8723be_set_hw_reg()
537 factor_toset = (1 << (factor_toset + 2)); in rtl8723be_set_hw_reg()
538 if (factor_toset > 0xf) in rtl8723be_set_hw_reg()
539 factor_toset = 0xf; in rtl8723be_set_hw_reg()
543 (factor_toset << 4)) in rtl8723be_set_hw_reg()
546 (factor_toset << 4); in rtl8723be_set_hw_reg()
548 if ((p_regtoset[index] & 0x0f) > factor_toset) in rtl8723be_set_hw_reg()
551 (factor_toset); in rtl8723be_set_hw_reg()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c207 u8 factor_toset; in rtl92se_set_hw_reg() local
215 factor_toset = *val; in rtl92se_set_hw_reg()
216 if (factor_toset <= 3) { in rtl92se_set_hw_reg()
217 factor_toset = (1 << (factor_toset + 2)); in rtl92se_set_hw_reg()
218 if (factor_toset > 0xf) in rtl92se_set_hw_reg()
219 factor_toset = 0xf; in rtl92se_set_hw_reg()
222 if (factorlevel[index] > factor_toset) in rtl92se_set_hw_reg()
224 factor_toset; in rtl92se_set_hw_reg()
242 factor_toset); in rtl92se_set_hw_reg()