| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/rtl8822c/ |
| H A D | phydm_rtl8822c.c | 42 ndp_valid_cnt_diff = DIFF_2(dm->ndp_cnt_pre, ndp_valid_cnt); in phydm_dynamic_switch_htstf_agc_8822c()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_math_lib.h | 42 #define DIFF_2(_x_, _y_) (((_x_) >= (_y_)) ? ((_x_) - (_y_)) : ((_y_) - (_x_))) macro
|
| H A D | halbb_dyn_csi_rsp.c | 282 chdiff = DIFF_2(h11h22, h12h21); in halbb_dcr_ch_est()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_math_lib.h | 42 #define DIFF_2(_x_, _y_) (((_x_) >= (_y_)) ? ((_x_) - (_y_)) : ((_y_) - (_x_))) macro
|
| H A D | halbb_dyn_csi_rsp.c | 282 chdiff = DIFF_2(h11h22, h12h21); in halbb_dcr_ch_est()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/ |
| H A D | phydm_api.c | 1077 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1160 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2085 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2110 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2135 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2160 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2185 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|
| H A D | phydm_ccx.c | 1056 l1_dif_r2 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak() 1071 r1_dif_r2 = DIFF_2(ccx->nhm_result[max_i + 1], in phydm_nhm_dym_pw_th_1peak() 1084 l2_dif_r1 = DIFF_2(ccx->nhm_result[max_i - 2], in phydm_nhm_dym_pw_th_1peak() 1100 l1_dif_l2 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak() 1114 l1_dif_r1 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak()
|
| H A D | phydm.h | 147 #define DIFF_2(x, y) \ macro 157 #define DIFF_2(_x_, _y_) ((_x_ >= _y_) ? (_x_ - _y_) : (_y_ - _x_)) macro
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/ |
| H A D | phydm_api.c | 1074 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1157 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2181 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2206 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2231 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2256 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2281 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|
| H A D | phydm_ccx.c | 1002 l1_dif_r2 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak() 1017 r1_dif_r2 = DIFF_2(ccx->nhm_result[max_i + 1], in phydm_nhm_dym_pw_th_1peak() 1030 l2_dif_r1 = DIFF_2(ccx->nhm_result[max_i - 2], in phydm_nhm_dym_pw_th_1peak() 1046 l1_dif_l2 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak() 1059 l1_dif_r1 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak()
|
| H A D | phydm.h | 151 #define DIFF_2(x, y) \ macro 161 #define DIFF_2(_x_, _y_) ((_x_ >= _y_) ? (_x_ - _y_) : (_y_ - _x_)) macro
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/ |
| H A D | phydm_api.c | 1077 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1160 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2085 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2110 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2135 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2160 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2185 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|
| H A D | phydm_ccx.c | 1056 l1_dif_r2 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak() 1071 r1_dif_r2 = DIFF_2(ccx->nhm_result[max_i + 1], in phydm_nhm_dym_pw_th_1peak() 1084 l2_dif_r1 = DIFF_2(ccx->nhm_result[max_i - 2], in phydm_nhm_dym_pw_th_1peak() 1100 l1_dif_l2 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak() 1114 l1_dif_r1 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak()
|
| H A D | phydm.h | 147 #define DIFF_2(x, y) \ macro 157 #define DIFF_2(_x_, _y_) ((_x_ >= _y_) ? (_x_ - _y_) : (_y_ - _x_)) macro
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/ |
| H A D | phydm_api.c | 1077 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1160 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2085 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2110 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2135 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2160 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2185 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|
| H A D | phydm_ccx.c | 1056 l1_dif_r2 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak() 1071 r1_dif_r2 = DIFF_2(ccx->nhm_result[max_i + 1], in phydm_nhm_dym_pw_th_1peak() 1084 l2_dif_r1 = DIFF_2(ccx->nhm_result[max_i - 2], in phydm_nhm_dym_pw_th_1peak() 1100 l1_dif_l2 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak() 1114 l1_dif_r1 = DIFF_2(ccx->nhm_result[max_i - 1], in phydm_nhm_dym_pw_th_1peak()
|
| H A D | phydm.h | 147 #define DIFF_2(x, y) \ macro 157 #define DIFF_2(_x_, _y_) ((_x_ >= _y_) ? (_x_ - _y_) : (_y_ - _x_)) macro
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/ |
| H A D | phydm_api.c | 1178 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1409 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2627 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2652 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2677 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2702 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2727 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2751 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/ |
| H A D | phydm_api.c | 1176 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1417 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2631 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2656 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2681 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2706 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2731 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2755 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/ |
| H A D | phydm_api.c | 1178 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1409 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2627 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2652 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2677 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2702 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2727 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2751 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/ |
| H A D | phydm_api.c | 1177 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1418 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2632 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2657 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2682 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2707 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2732 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2756 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/ |
| H A D | phydm_api.c | 1176 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1407 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2622 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2647 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2672 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2697 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2722 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2746 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/ |
| H A D | phydm_api.c | 1147 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1231 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2345 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2370 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2395 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2420 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2445 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/ |
| H A D | phydm_api.c | 1151 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1373 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2554 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2579 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2604 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2629 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2654 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/ |
| H A D | phydm_api.c | 1151 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance() 1373 int_distance = DIFF_2(fc, f_interference); in phydm_find_intf_distance_jgr3() 2554 if (DIFF_2((pwr_idx & 0x7f), base) > 64 || pwr_idx > 127) in phydm_api_set_txagc() 2579 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2604 if (DIFF_2((pwr_idx & 0x7f), base) > 64) in phydm_api_set_txagc() 2629 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc() 2654 if (DIFF_2((pwr_idx & 0x7f), base) > 63 || pwr_idx > 127) in phydm_api_set_txagc()
|