Searched refs:aic_sram (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_aic.c | 177 aic->aic_sram[i] = 0; ar9003_aic_cal_start() 268 struct ath_aic_out_info aic_sram[ATH_AIC_MAX_BT_CHANNEL]; ar9003_aic_cal_post_process() local 276 memset(&aic_sram, 0, sizeof(aic_sram)); ar9003_aic_cal_post_process() 279 value = aic->aic_sram[i]; ar9003_aic_cal_post_process() 303 aic_sram[i].dir_path_gain_lin = dir_path_sign * ar9003_aic_cal_post_process() 305 aic_sram[i].quad_path_gain_lin = quad_path_sign * ar9003_aic_cal_post_process() 329 aic_sram[i].dir_path_gain_lin = ar9003_aic_cal_post_process() 330 ((aic_sram[start_idx].dir_path_gain_lin - ar9003_aic_cal_post_process() 331 aic_sram[end_idx].dir_path_gain_lin) * ar9003_aic_cal_post_process() 334 aic_sram[start_idx].dir_path_gain_lin; ar9003_aic_cal_post_process() 335 aic_sram[i].quad_path_gain_lin = ar9003_aic_cal_post_process() 336 ((aic_sram[start_idx].quad_path_gain_lin - ar9003_aic_cal_post_process() 337 aic_sram[end_idx].quad_path_gain_lin) * ar9003_aic_cal_post_process() 340 aic_sram[start_idx].quad_path_gain_lin; ar9003_aic_cal_post_process() 352 aic_sram[i].dir_path_gain_lin = ar9003_aic_cal_post_process() 353 ((aic_sram[start_idx].dir_path_gain_lin - ar9003_aic_cal_post_process() 354 aic_sram[end_idx].dir_path_gain_lin) * ar9003_aic_cal_post_process() 357 aic_sram[start_idx].dir_path_gain_lin; ar9003_aic_cal_post_process() 358 aic_sram[i].quad_path_gain_lin = ar9003_aic_cal_post_process() 359 ((aic_sram[start_idx].quad_path_gain_lin - ar9003_aic_cal_post_process() 360 aic_sram[end_idx].quad_path_gain_lin) * ar9003_aic_cal_post_process() 363 aic_sram[start_idx].quad_path_gain_lin; ar9003_aic_cal_post_process() 367 aic_sram[i].dir_path_gain_lin = ar9003_aic_cal_post_process() 368 (((end_idx - i) * aic_sram[start_idx].dir_path_gain_lin) + ar9003_aic_cal_post_process() 369 ((i - start_idx) * aic_sram[end_idx].dir_path_gain_lin) + ar9003_aic_cal_post_process() 372 aic_sram[i].quad_path_gain_lin = ar9003_aic_cal_post_process() 373 (((end_idx - i) * aic_sram[start_idx].quad_path_gain_lin) + ar9003_aic_cal_post_process() 374 ((i - start_idx) * aic_sram[end_idx].quad_path_gain_lin) + ar9003_aic_cal_post_process() 391 aic_sram[i].sram.vga_dir_sign = ar9003_aic_cal_post_process() 392 (aic_sram[i].dir_path_gain_lin >= 0) ? 1 : 0; ar9003_aic_cal_post_process() 393 aic_sram[i].sram.vga_quad_sign= ar9003_aic_cal_post_process() 394 (aic_sram[i].quad_path_gain_lin >= 0) ? 1 : 0; ar9003_aic_cal_post_process() 397 ar9003_aic_find_index(0, abs(aic_sram[i].dir_path_gain_lin)) - ar9003_aic_cal_post_process() 400 ar9003_aic_find_index(0, abs(aic_sram[i].quad_path_gain_lin)) - ar9003_aic_cal_post_process() 403 aic_sram[i].sram.com_att_6db = ar9003_aic_cal_post_process() 406 aic_sram[i].sram.valid = 1; ar9003_aic_cal_post_process() 408 aic_sram[i].sram.rot_dir_att_db = ar9003_aic_cal_post_process() 412 aic_sram[i].sram.rot_quad_att_db = ar9003_aic_cal_post_process() 419 aic->aic_sram[i] = (SM(aic_sram[i].sram.vga_dir_sign, ar9003_aic_cal_post_process() 421 SM(aic_sram[i].sram.vga_quad_sign, ar9003_aic_cal_post_process() 423 SM(aic_sram[i].sram.com_att_6db, ar9003_aic_cal_post_process() 425 SM(aic_sram[i].sram.valid, ar9003_aic_cal_post_process() 427 SM(aic_sram[i].sram.rot_dir_att_db, ar9003_aic_cal_post_process() 429 SM(aic_sram[i].sram.rot_quad_att_db, ar9003_aic_cal_post_process() 494 if (aic->aic_sram[i] == 0) ar9003_aic_cal_continue() 497 aic->aic_sram[i] = value; ar9003_aic_cal_continue() 553 REG_WRITE(ah, AR_PHY_AIC_SRAM_DATA_B1, aic->aic_sram[i]); ar9003_aic_start_normal()
|
H A D | btcoex.h | 103 u32 aic_sram[ATH_AIC_MAX_BT_CHANNEL]; member in struct:ath9k_hw_aic
|
Completed in 109 milliseconds