Lines Matching refs:vga_gain
9563 u8 vga_gain[] = {14, 14}; in rt2800_loft_iq_calibration() local
9647 vga_gain[ch_idx] = 18; in rt2800_loft_iq_calibration()
9662 for (; vga_gain[ch_idx] > 0; in rt2800_loft_iq_calibration()
9663 vga_gain[ch_idx] = vga_gain[ch_idx] - 2) { in rt2800_loft_iq_calibration()
9664 rfvalue = rfvga_gain_table[vga_gain[ch_idx]]; in rt2800_loft_iq_calibration()
9680 rt2x00_dbg(rt2x00dev, "Used VGA %d %x\n", vga_gain[ch_idx], in rt2800_loft_iq_calibration()
9681 rfvga_gain_table[vga_gain[ch_idx]]); in rt2800_loft_iq_calibration()
9683 if (vga_gain[ch_idx] < 0) in rt2800_loft_iq_calibration()
9684 vga_gain[ch_idx] = 0; in rt2800_loft_iq_calibration()
9687 rfvalue = rfvga_gain_table[vga_gain[ch_idx]]; in rt2800_loft_iq_calibration()
9875 for (; vga_gain[ch_idx] < 19; vga_gain[ch_idx] = (vga_gain[ch_idx] + count_step)) { in rt2800_loft_iq_calibration()
9876 rfvalue = rfvga_gain_table[vga_gain[ch_idx]]; in rt2800_loft_iq_calibration()
9899 if (vga_gain[ch_idx] != 0) in rt2800_loft_iq_calibration()
9900 vga_gain[ch_idx] = vga_gain[ch_idx] - 1; in rt2800_loft_iq_calibration()
9909 if (vga_gain[ch_idx] > 18) in rt2800_loft_iq_calibration()
9910 vga_gain[ch_idx] = 18; in rt2800_loft_iq_calibration()
9911 rt2x00_dbg(rt2x00dev, "Used VGA %d %x\n", vga_gain[ch_idx], in rt2800_loft_iq_calibration()
9912 rfvga_gain_table[vga_gain[ch_idx]]); in rt2800_loft_iq_calibration()