Searched refs:power_idx (Results 1 – 2 of 2) sorted by relevance
1331 u8 power_idx; in il3945_hw_reg_set_scan_power() local1348 power_idx = in il3945_hw_reg_set_scan_power()1366 power_idx = il3945_hw_reg_fix_power_idx(power_idx); in il3945_hw_reg_set_scan_power()1368 scan_power_info->power_table_idx = power_idx; in il3945_hw_reg_set_scan_power()1370 power_gain_table[band_idx][power_idx].tx_gain; in il3945_hw_reg_set_scan_power()1372 power_gain_table[band_idx][power_idx].dsp_atten; in il3945_hw_reg_set_scan_power()1583 int power_idx = in il3945_hw_reg_comp_txpower_temp() local1587 power_idx += delta_idx; in il3945_hw_reg_comp_txpower_temp()1590 power_idx = il3945_hw_reg_fix_power_idx(power_idx); in il3945_hw_reg_comp_txpower_temp()1592 (u8) power_idx; in il3945_hw_reg_comp_txpower_temp()[all …]
1029 s32 power_idx; in il4965_fill_txpower_tbl() local1184 power_idx = in il4965_fill_txpower_tbl()1193 if (power_idx < get_min_power_idx(i, band)) in il4965_fill_txpower_tbl()1194 power_idx = get_min_power_idx(i, band); in il4965_fill_txpower_tbl()1198 power_idx += 9; in il4965_fill_txpower_tbl()1202 power_idx += in il4965_fill_txpower_tbl()1206 if (power_idx > 107) { in il4965_fill_txpower_tbl()1207 IL_WARN("txpower idx %d > 107\n", power_idx); in il4965_fill_txpower_tbl()1208 power_idx = 107; in il4965_fill_txpower_tbl()1210 if (power_idx < 0) { in il4965_fill_txpower_tbl()[all …]