Searched refs:lna_5g (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02_eeprom.c | 103 u16 *rssi_offset, s8 *lna_2g, s8 *lna_5g) in mt76x02_get_rx_gain() argument 109 lna_5g[0] = val >> 8; in mt76x02_get_rx_gain() 112 lna_5g[1] = val >> 8; in mt76x02_get_rx_gain() 115 lna_5g[2] = val >> 8; in mt76x02_get_rx_gain() 117 if (!mt76x02_field_valid(lna_5g[1])) in mt76x02_get_rx_gain() 118 lna_5g[1] = lna_5g[0]; in mt76x02_get_rx_gain() 120 if (!mt76x02_field_valid(lna_5g[2])) in mt76x02_get_rx_gain() 121 lna_5g[2] = lna_5g[0]; in mt76x02_get_rx_gain() 131 s8 *lna_2g, s8 *lna_5g, in mt76x02_get_lna_gain() argument 141 memset(lna_5g, 0, sizeof(s8) * 3); in mt76x02_get_lna_gain() [all …]
|
H A D | mt76x02_eeprom.h | 176 u16 *rssi_offset, s8 *lna_2g, s8 *lna_5g); 178 s8 *lna_2g, s8 *lna_5g,
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/ |
H A D | eeprom.c | 258 s8 lna_5g[3], lna_2g; in mt76x2_read_rx_gain() local 269 mt76x02_get_rx_gain(dev, chan->band, &val, &lna_2g, lna_5g); in mt76x2_read_rx_gain() 274 dev->cal.rx.mcu_gain |= (lna_5g[0] & 0xff) << 8; in mt76x2_read_rx_gain() 275 dev->cal.rx.mcu_gain |= (lna_5g[1] & 0xff) << 16; in mt76x2_read_rx_gain() 276 dev->cal.rx.mcu_gain |= (lna_5g[2] & 0xff) << 24; in mt76x2_read_rx_gain() 278 lna = mt76x02_get_lna_gain(dev, &lna_2g, lna_5g, chan); in mt76x2_read_rx_gain()
|