Home
last modified time | relevance | path

Searched refs:DIFF_2 (Results 1 – 25 of 95) sorted by relevance

1234

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/rtl8822c/
H A Dphydm_rtl8822c.c42 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 Dhalbb_math_lib.h42 #define DIFF_2(_x_, _y_) (((_x_) >= (_y_)) ? ((_x_) - (_y_)) : ((_y_) - (_x_))) macro
H A Dhalbb_dyn_csi_rsp.c282 chdiff = DIFF_2(h11h22, h12h21); in halbb_dcr_ch_est()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/
H A Dhalbb_math_lib.h42 #define DIFF_2(_x_, _y_) (((_x_) >= (_y_)) ? ((_x_) - (_y_)) : ((_y_) - (_x_))) macro
H A Dhalbb_dyn_csi_rsp.c282 chdiff = DIFF_2(h11h22, h12h21); in halbb_dcr_ch_est()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/
H A Dphydm_api.c1077 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 Dphydm_ccx.c1056 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 Dphydm.h147 #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 Dphydm_api.c1074 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 Dphydm_ccx.c1002 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 Dphydm.h151 #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 Dphydm_api.c1077 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 Dphydm_ccx.c1056 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 Dphydm.h147 #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 Dphydm_api.c1077 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 Dphydm_ccx.c1056 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 Dphydm.h147 #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 Dphydm_api.c1178 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 Dphydm_api.c1176 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 Dphydm_api.c1178 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 Dphydm_api.c1177 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 Dphydm_api.c1176 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 Dphydm_api.c1147 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 Dphydm_api.c1151 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 Dphydm_api.c1151 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()

1234