Lines Matching refs:vga_gain
9584 u8 vga_gain[] = {14, 14}; in rt2800_loft_iq_calibration() local
9668 vga_gain[ch_idx] = 18; in rt2800_loft_iq_calibration()
9683 for (; vga_gain[ch_idx] > 0; in rt2800_loft_iq_calibration()
9684 vga_gain[ch_idx] = vga_gain[ch_idx] - 2) { in rt2800_loft_iq_calibration()
9685 rfvalue = rfvga_gain_table[vga_gain[ch_idx]]; in rt2800_loft_iq_calibration()
9701 rt2x00_dbg(rt2x00dev, "Used VGA %d %x\n", vga_gain[ch_idx], in rt2800_loft_iq_calibration()
9702 rfvga_gain_table[vga_gain[ch_idx]]); in rt2800_loft_iq_calibration()
9704 if (vga_gain[ch_idx] < 0) in rt2800_loft_iq_calibration()
9705 vga_gain[ch_idx] = 0; in rt2800_loft_iq_calibration()
9708 rfvalue = rfvga_gain_table[vga_gain[ch_idx]]; in rt2800_loft_iq_calibration()
9896 for (; vga_gain[ch_idx] < 19; vga_gain[ch_idx] = (vga_gain[ch_idx] + count_step)) { in rt2800_loft_iq_calibration()
9897 rfvalue = rfvga_gain_table[vga_gain[ch_idx]]; in rt2800_loft_iq_calibration()
9920 if (vga_gain[ch_idx] != 0) in rt2800_loft_iq_calibration()
9921 vga_gain[ch_idx] = vga_gain[ch_idx] - 1; in rt2800_loft_iq_calibration()
9930 if (vga_gain[ch_idx] > 18) in rt2800_loft_iq_calibration()
9931 vga_gain[ch_idx] = 18; in rt2800_loft_iq_calibration()
9932 rt2x00_dbg(rt2x00dev, "Used VGA %d %x\n", vga_gain[ch_idx], in rt2800_loft_iq_calibration()
9933 rfvga_gain_table[vga_gain[ch_idx]]); in rt2800_loft_iq_calibration()