| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/ |
| H A D | phydm_ccx.c | 70 low_pwr_cnt += ccx_info->nhm_result[i]; in phydm_cal_nhm_cnt() 72 high_pwr_cnt += ccx_info->nhm_result[i]; in phydm_cal_nhm_cnt() 289 ccx_info->nhm_result[0] = (u8)(value32 & MASKBYTE0); in phydm_get_nhm_result() 290 ccx_info->nhm_result[1] = (u8)((value32 & MASKBYTE1) >> 8); in phydm_get_nhm_result() 291 ccx_info->nhm_result[2] = (u8)((value32 & MASKBYTE2) >> 16); in phydm_get_nhm_result() 292 ccx_info->nhm_result[3] = (u8)((value32 & MASKBYTE3) >> 24); in phydm_get_nhm_result() 295 ccx_info->nhm_result[4] = (u8)(value32 & MASKBYTE0); in phydm_get_nhm_result() 296 ccx_info->nhm_result[5] = (u8)((value32 & MASKBYTE1) >> 8); in phydm_get_nhm_result() 297 ccx_info->nhm_result[6] = (u8)((value32 & MASKBYTE2) >> 16); in phydm_get_nhm_result() 298 ccx_info->nhm_result[7] = (u8)((value32 & MASKBYTE3) >> 24); in phydm_get_nhm_result() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/ |
| H A D | phydm_ccx.c | 437 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 438 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 480 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 483 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 486 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() 494 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 497 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 500 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() 508 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 511 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() [all …]
|
| H A D | phydm_ccx.h | 151 u8 nhm_result[NHM_RPT_NUM]; member 184 u8 nhm_result[NHM_RPT_NUM]; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/ |
| H A D | phydm_ccx.c | 497 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 498 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 548 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 551 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 554 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() 562 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 565 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 568 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() 576 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 579 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() [all …]
|
| H A D | phydm_ccx.h | 155 u8 nhm_result[NHM_RPT_NUM]; member 188 u8 nhm_result[NHM_RPT_NUM]; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/ |
| H A D | phydm_ccx.c | 497 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 498 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 548 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 551 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 554 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() 562 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 565 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 568 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() 576 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 579 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() [all …]
|
| H A D | phydm_ccx.h | 155 u8 nhm_result[NHM_RPT_NUM]; member 188 u8 nhm_result[NHM_RPT_NUM]; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/ |
| H A D | phydm_ccx.c | 497 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 498 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 548 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 551 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 554 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() 562 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 565 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 568 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() 576 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 579 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() [all …]
|
| H A D | phydm_ccx.h | 155 u8 nhm_result[NHM_RPT_NUM]; member 188 u8 nhm_result[NHM_RPT_NUM]; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/ |
| H A D | phydm_ccx.c | 455 noise_tmp += ccx->nhm_result[0] * in phydm_nhm_cal_noise() 458 noise_tmp += ccx->nhm_result[NHM_RPT_NUM - 1] * in phydm_nhm_cal_noise() 461 noise_tmp += ccx->nhm_result[i] * in phydm_nhm_cal_noise() 482 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 483 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 484 nhm_rpt_non_11 = ccx->nhm_rpt_sum - ccx->nhm_result[11]; in phydm_nhm_get_utility() 529 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 532 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 535 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() 543 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() [all …]
|
| H A D | phydm_ccx.h | 143 u8 nhm_result[NHM_RPT_NUM]; member 178 u8 nhm_result[NHM_RPT_NUM]; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/ |
| H A D | phydm_ccx.c | 454 noise_tmp += ccx->nhm_result[0] * in phydm_nhm_cal_wgt_avg() 457 noise_tmp += ccx->nhm_result[NHM_RPT_NUM - 1] * in phydm_nhm_cal_wgt_avg() 460 noise_tmp += ccx->nhm_result[i] * in phydm_nhm_cal_wgt_avg() 481 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 482 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 483 nhm_rpt_non_11 = ccx->nhm_rpt_sum - ccx->nhm_result[11]; in phydm_nhm_get_utility() 531 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 534 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 537 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() 545 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/ |
| H A D | phydm_ccx.c | 454 noise_tmp += ccx->nhm_result[0] * in phydm_nhm_cal_wgt_avg() 457 noise_tmp += ccx->nhm_result[NHM_RPT_NUM - 1] * in phydm_nhm_cal_wgt_avg() 460 noise_tmp += ccx->nhm_result[i] * in phydm_nhm_cal_wgt_avg() 481 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 482 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 483 nhm_rpt_non_11 = ccx->nhm_rpt_sum - ccx->nhm_result[11]; in phydm_nhm_get_utility() 531 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 534 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 537 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() 545 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/ |
| H A D | phydm_ccx.c | 912 noise_tmp += ccx->nhm_result[i] * ccx->nhm_wgt[i]; in phydm_nhm_cal_wgt_avg() 936 if (ccx->nhm_result[i]) { in phydm_nhm_cal_nhm_env() 946 nhm_env -= ccx->nhm_result[first_idx + i]; in phydm_nhm_cal_nhm_env() 951 nhm_env -= ccx->nhm_result[0]; in phydm_nhm_cal_nhm_env() 967 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 970 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 971 nhm_rpt_non_11 = ccx->nhm_rpt_sum - ccx->nhm_result[11]; in phydm_nhm_get_utility() 1026 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 1029 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 1032 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() [all …]
|
| H A D | phydm_ccx.h | 198 u8 nhm_result[NHM_RPT_NUM]; member 216 u8 nhm_result[NHM_RPT_NUM]; member 284 u8 nhm_result[NHM_RPT_NUM]; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/ |
| H A D | phydm_ccx.c | 911 noise_tmp += ccx->nhm_result[i] * ccx->nhm_wgt[i]; in phydm_nhm_cal_wgt_avg() 935 if (ccx->nhm_result[i]) { in phydm_nhm_cal_nhm_env() 945 nhm_env -= ccx->nhm_result[first_idx + i]; in phydm_nhm_cal_nhm_env() 950 nhm_env -= ccx->nhm_result[0]; in phydm_nhm_cal_nhm_env() 966 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 969 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 970 nhm_rpt_non_11 = ccx->nhm_rpt_sum - ccx->nhm_result[11]; in phydm_nhm_get_utility() 1025 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 1028 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 1031 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() [all …]
|
| H A D | phydm_ccx.h | 197 u8 nhm_result[NHM_RPT_NUM]; member 215 u8 nhm_result[NHM_RPT_NUM]; member 283 u8 nhm_result[NHM_RPT_NUM]; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/ |
| H A D | phydm_ccx.c | 227 noise_tmp += ccx->nhm_result[i] * ccx->nhm_wgt[i]; in phydm_nhm_cal_wgt_avg() 251 if (ccx->nhm_result[i]) { in phydm_nhm_cal_nhm_env() 261 nhm_env -= ccx->nhm_result[first_idx + i]; in phydm_nhm_cal_nhm_env() 266 nhm_env -= ccx->nhm_result[0]; in phydm_nhm_cal_nhm_env() 282 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 285 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 286 nhm_rpt_non_11 = ccx->nhm_rpt_sum - ccx->nhm_result[11]; in phydm_nhm_get_utility() 344 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 347 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 350 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() [all …]
|
| H A D | phydm_ccx.h | 189 u8 nhm_result[NHM_RPT_NUM]; member 207 u8 nhm_result[NHM_RPT_NUM]; member 280 u8 nhm_result[NHM_RPT_NUM]; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/ |
| H A D | phydm_ccx.c | 227 noise_tmp += ccx->nhm_result[i] * ccx->nhm_wgt[i]; in phydm_nhm_cal_wgt_avg() 251 if (ccx->nhm_result[i]) { in phydm_nhm_cal_nhm_env() 261 nhm_env -= ccx->nhm_result[first_idx + i]; in phydm_nhm_cal_nhm_env() 266 nhm_env -= ccx->nhm_result[0]; in phydm_nhm_cal_nhm_env() 282 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 285 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 286 nhm_rpt_non_11 = ccx->nhm_rpt_sum - ccx->nhm_result[11]; in phydm_nhm_get_utility() 347 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 351 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 355 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() [all …]
|
| H A D | phydm_ccx.h | 207 u8 nhm_result[NHM_RPT_NUM]; member 225 u8 nhm_result[NHM_RPT_NUM]; member 304 u8 nhm_result[NHM_RPT_NUM]; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/ |
| H A D | phydm_ccx.c | 227 noise_tmp += ccx->nhm_result[i] * ccx->nhm_wgt[i]; in phydm_nhm_cal_wgt_avg() 251 if (ccx->nhm_result[i]) { in phydm_nhm_cal_nhm_env() 261 nhm_env -= ccx->nhm_result[first_idx + i]; in phydm_nhm_cal_nhm_env() 266 nhm_env -= ccx->nhm_result[0]; in phydm_nhm_cal_nhm_env() 282 if (ccx->nhm_rpt_sum >= ccx->nhm_result[0]) { in phydm_nhm_get_utility() 285 nhm_rpt_non_0 = ccx->nhm_rpt_sum - ccx->nhm_result[0]; in phydm_nhm_get_utility() 286 nhm_rpt_non_11 = ccx->nhm_rpt_sum - ccx->nhm_result[11]; in phydm_nhm_get_utility() 355 odm_move_memory(dm, &ccx->nhm_result[0], &value32, 4); in phydm_nhm_get_result() 359 odm_move_memory(dm, &ccx->nhm_result[4], &value32, 4); in phydm_nhm_get_result() 363 odm_move_memory(dm, &ccx->nhm_result[8], &value32, 4); in phydm_nhm_get_result() [all …]
|
| H A D | phydm_ccx.h | 209 u8 nhm_result[NHM_RPT_NUM]; member 229 u8 nhm_result[NHM_RPT_NUM]; member 308 u8 nhm_result[NHM_RPT_NUM]; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_env_mntr.c | 411 env->nhm_sw_result[0] += env->nhm_result[i]; in halbb_nhm_get_utility() 414 env->nhm_sw_result[i] = env->nhm_result[i]; in halbb_nhm_get_utility() 480 env->nhm_result[0] = (u16)halbb_get_reg(bb, cr->nhm_cnt0, in halbb_nhm_get_result() 482 env->nhm_result[1] = (u16)halbb_get_reg(bb, cr->nhm_cnt1, in halbb_nhm_get_result() 484 env->nhm_result[2] = (u16)halbb_get_reg(bb, cr->nhm_cnt2, in halbb_nhm_get_result() 486 env->nhm_result[3] = (u16)halbb_get_reg(bb, cr->nhm_cnt3, in halbb_nhm_get_result() 488 env->nhm_result[4] = (u16)halbb_get_reg(bb, cr->nhm_cnt4, in halbb_nhm_get_result() 490 env->nhm_result[5] = (u16)halbb_get_reg(bb, cr->nhm_cnt5, in halbb_nhm_get_result() 492 env->nhm_result[6] = (u16)halbb_get_reg(bb, cr->nhm_cnt6, in halbb_nhm_get_result() 494 env->nhm_result[7] = (u16)halbb_get_reg(bb, cr->nhm_cnt7, in halbb_nhm_get_result() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_env_mntr.c | 411 env->nhm_sw_result[0] += env->nhm_result[i]; in halbb_nhm_get_utility() 414 env->nhm_sw_result[i] = env->nhm_result[i]; in halbb_nhm_get_utility() 480 env->nhm_result[0] = (u16)halbb_get_reg(bb, cr->nhm_cnt0, in halbb_nhm_get_result() 482 env->nhm_result[1] = (u16)halbb_get_reg(bb, cr->nhm_cnt1, in halbb_nhm_get_result() 484 env->nhm_result[2] = (u16)halbb_get_reg(bb, cr->nhm_cnt2, in halbb_nhm_get_result() 486 env->nhm_result[3] = (u16)halbb_get_reg(bb, cr->nhm_cnt3, in halbb_nhm_get_result() 488 env->nhm_result[4] = (u16)halbb_get_reg(bb, cr->nhm_cnt4, in halbb_nhm_get_result() 490 env->nhm_result[5] = (u16)halbb_get_reg(bb, cr->nhm_cnt5, in halbb_nhm_get_result() 492 env->nhm_result[6] = (u16)halbb_get_reg(bb, cr->nhm_cnt6, in halbb_nhm_get_result() 494 env->nhm_result[7] = (u16)halbb_get_reg(bb, cr->nhm_cnt7, in halbb_nhm_get_result() [all …]
|