Lines Matching refs:lo_gain
680 uint16_t lo_gain, ext_lna, loop; in bwi_phy812_value() local
685 lo_gain = rf->rf_lo_gain; in bwi_phy812_value()
687 lo_gain += 0x3e; in bwi_phy812_value()
689 lo_gain += 0x26; in bwi_phy812_value()
691 if (lo_gain >= 0x46) { in bwi_phy812_value()
692 lo_gain -= 0x46; in bwi_phy812_value()
694 } else if (lo_gain >= 0x3a) { in bwi_phy812_value()
695 lo_gain -= 0x3a; in bwi_phy812_value()
697 } else if (lo_gain >= 0x2e) { in bwi_phy812_value()
698 lo_gain -= 0x2e; in bwi_phy812_value()
701 lo_gain -= 0x10; in bwi_phy812_value()
706 lo_gain -= (6 * loop); in bwi_phy812_value()
707 if (lo_gain < 6) in bwi_phy812_value()