Searched refs:cal_sram (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath9k/
H A Dar9003_aic.c56 static int16_t ar9003_aic_find_valid(struct ath_aic_sram_info *cal_sram, ar9003_aic_find_valid() argument
63 if (cal_sram[i].valid) ar9003_aic_find_valid()
68 if (cal_sram[i].valid) ar9003_aic_find_valid()
267 struct ath_aic_sram_info cal_sram[ATH_AIC_MAX_BT_CHANNEL]; ar9003_aic_cal_post_process() local
275 memset(&cal_sram, 0, sizeof(cal_sram)); ar9003_aic_cal_post_process()
281 cal_sram[i].valid = ar9003_aic_cal_post_process()
283 cal_sram[i].rot_quad_att_db = ar9003_aic_cal_post_process()
285 cal_sram[i].vga_quad_sign = ar9003_aic_cal_post_process()
287 cal_sram[i].rot_dir_att_db = ar9003_aic_cal_post_process()
289 cal_sram[i].vga_dir_sign = ar9003_aic_cal_post_process()
291 cal_sram[i].com_att_6db = ar9003_aic_cal_post_process()
294 if (cal_sram[i].valid) { ar9003_aic_cal_post_process()
295 dir_path_gain_idx = cal_sram[i].rot_dir_att_db + ar9003_aic_cal_post_process()
296 com_att_db_table[cal_sram[i].com_att_6db]; ar9003_aic_cal_post_process()
297 quad_path_gain_idx = cal_sram[i].rot_quad_att_db + ar9003_aic_cal_post_process()
298 com_att_db_table[cal_sram[i].com_att_6db]; ar9003_aic_cal_post_process()
300 dir_path_sign = (cal_sram[i].vga_dir_sign) ? 1 : -1; ar9003_aic_cal_post_process()
301 quad_path_sign = (cal_sram[i].vga_quad_sign) ? 1 : -1; ar9003_aic_cal_post_process()
313 if (cal_sram[i].valid) ar9003_aic_cal_post_process()
316 start_idx = ar9003_aic_find_valid(cal_sram, 0, i); ar9003_aic_cal_post_process()
317 end_idx = ar9003_aic_find_valid(cal_sram, 1, i); ar9003_aic_cal_post_process()
322 end_idx = ar9003_aic_find_valid(cal_sram, 1, start_idx); ar9003_aic_cal_post_process()
345 end_idx = ar9003_aic_find_valid(cal_sram, 0, start_idx); ar9003_aic_cal_post_process()
381 i = ar9003_aic_find_valid(cal_sram, 1, 0); ar9003_aic_cal_post_process()
386 fixed_com_att_db = com_att_db_table[cal_sram[i].com_att_6db]; ar9003_aic_cal_post_process()

Completed in 64 milliseconds