| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 407 s8 tx_pa_bias in phydm_set_pa_bias_to_rf_8822b() argument 413 …tx_pa_bias = tx_pa_bias + (u8)odm_get_rf_reg(p_dm, e_rf_path, 0x51, (BIT(6) | BIT(5) | BIT(4) | BI… in phydm_set_pa_bias_to_rf_8822b() 415 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 416 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 417 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 418 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 420 … ODM_COMP_MP, ODM_DBG_LOUD, ("[kfree] 8822b 2g tx pa bias=0x%X rf 0x51=0x%X path=%d\n", tx_pa_bias, in phydm_set_pa_bias_to_rf_8822b() 425 odm_set_rf_reg(p_dm, e_rf_path, 0x3f, (BIT(12) | BIT(11) | BIT(10) | BIT(9)), tx_pa_bias); in phydm_set_pa_bias_to_rf_8822b() 427 odm_set_rf_reg(p_dm, e_rf_path, 0x3f, (BIT(12) | BIT(11) | BIT(10) | BIT(9)), tx_pa_bias); in phydm_set_pa_bias_to_rf_8822b() 429 odm_set_rf_reg(p_dm, e_rf_path, 0x3f, (BIT(12) | BIT(11) | BIT(10) | BIT(9)), tx_pa_bias); in phydm_set_pa_bias_to_rf_8822b() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 349 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 374 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 376 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 378 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 379 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 380 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 381 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 383 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 388 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 414 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 350 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 375 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 377 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 379 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 380 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 381 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 382 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 384 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 389 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 415 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 350 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 375 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 377 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 379 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 380 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 381 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 382 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 384 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 389 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 415 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 350 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 375 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 377 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 379 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 380 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 381 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 382 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 384 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 389 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 415 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 350 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 375 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 377 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 379 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 380 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 381 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 382 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 384 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 389 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 415 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 349 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 374 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 376 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 378 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 379 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 380 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 381 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 383 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 388 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 414 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 350 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 375 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 377 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 379 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 380 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 381 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 382 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 384 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 389 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 415 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 349 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 374 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 376 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 378 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 379 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 380 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 381 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 383 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 388 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 414 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 349 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 374 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 376 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 378 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 379 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 380 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 381 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 383 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 388 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 414 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 349 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 374 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 376 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 378 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 379 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 380 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 381 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 383 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 388 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 414 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 349 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 374 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 376 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 378 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 379 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 380 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 381 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 383 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 388 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 414 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 349 void phydm_set_pa_bias_to_rf_8822b(void *dm_void, u8 e_rf_path, s8 tx_pa_bias) in phydm_set_pa_bias_to_rf_8822b() argument 374 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 376 tx_pa_bias = (s8)((rf_reg_3f & tx_pa_bias_bmask) >> 9) + tx_pa_bias; in phydm_set_pa_bias_to_rf_8822b() 378 if (tx_pa_bias < 0) in phydm_set_pa_bias_to_rf_8822b() 379 tx_pa_bias = 0; in phydm_set_pa_bias_to_rf_8822b() 380 else if (tx_pa_bias > 7) in phydm_set_pa_bias_to_rf_8822b() 381 tx_pa_bias = 7; in phydm_set_pa_bias_to_rf_8822b() 383 rf_reg_3f = ((rf_reg_3f & 0xfe1ff) | (tx_pa_bias << 9)); in phydm_set_pa_bias_to_rf_8822b() 388 tx_pa_bias, rf_reg_3f, e_rf_path); in phydm_set_pa_bias_to_rf_8822b() 414 s8 tx_pa_bias[2] = {0}; in phydm_get_pa_bias_offset_8822b() local [all …]
|