| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 141 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 143 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 254 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 257 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 259 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 260 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 261 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 262 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 264 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 267 … rf_path, rf0_idx, rf56_current_temp[rf_path][rf0_idx], rf_path, rf0_idx, rf33[rf_path][rf0_idx])); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 154 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 156 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 267 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 270 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 272 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 273 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 274 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 275 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 277 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 283 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 154 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 156 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 267 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 270 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 272 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 273 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 274 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 275 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 277 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 283 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 154 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 156 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 267 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 270 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 272 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 273 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 274 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 275 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 277 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 283 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 155 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 157 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 268 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 271 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 273 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 274 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 275 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 276 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 278 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 284 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 155 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 157 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 268 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 271 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 273 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 274 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 275 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 276 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 278 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 284 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 154 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 156 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 267 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 270 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 272 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 273 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 274 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 275 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 277 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 283 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 155 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 157 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 268 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 271 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 273 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 274 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 275 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 276 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 278 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 284 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 154 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 156 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 267 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 270 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 272 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 273 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 274 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 275 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 277 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 283 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 155 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 157 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 268 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 271 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 273 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 274 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 275 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 276 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 278 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 284 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 154 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 156 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 267 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 270 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 272 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 273 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 274 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 275 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 277 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 283 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 154 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 156 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 267 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 270 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 272 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 273 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 274 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 275 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 277 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 283 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 155 s4Byte rf33[2][11]; in odm_tx_gain_gap_calibration_8197f() local 157 memset(rf33, 0x0, sizeof(rf33)); in odm_tx_gain_gap_calibration_8197f() 268 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + (rf56_current_temp[rf_path][rf0_idx] & 0x1f); in odm_tx_gain_gap_calibration_8197f() 271 rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + delta_gain_gap[rf_path][i]; in odm_tx_gain_gap_calibration_8197f() 273 if (rf33[rf_path][rf0_idx] >= 0x1d) in odm_tx_gain_gap_calibration_8197f() 274 rf33[rf_path][rf0_idx] = 0x1d; in odm_tx_gain_gap_calibration_8197f() 275 else if (rf33[rf_path][rf0_idx] <= 0x2) in odm_tx_gain_gap_calibration_8197f() 276 rf33[rf_path][rf0_idx] = 0x2; in odm_tx_gain_gap_calibration_8197f() 278 …rf33[rf_path][rf0_idx] = rf33[rf_path][rf0_idx] + ((rf0_idx - 1) * 0x4000) + (rf56_current_temp[rf… in odm_tx_gain_gap_calibration_8197f() 284 rf0_idx, rf33[rf_path][rf0_idx]); in odm_tx_gain_gap_calibration_8197f() [all …]
|