Searched refs:lna_5g (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/ |
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 139 lna = lna_5g[0]; in mt76x02_get_lna_gain() [all …]
|
D | mt76x02_eeprom.h | 176 u16 *rssi_offset, s8 *lna_2g, s8 *lna_5g); 178 s8 *lna_2g, s8 *lna_5g,
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | eeprom.c | 258 s8 lna_5g[3], lna_2g; in mt76x2_read_rx_gain() local 270 mt76x02_get_rx_gain(dev, chan->band, &val, &lna_2g, lna_5g); in mt76x2_read_rx_gain() 275 dev->cal.rx.mcu_gain |= (lna_5g[0] & 0xff) << 8; in mt76x2_read_rx_gain() 276 dev->cal.rx.mcu_gain |= (lna_5g[1] & 0xff) << 16; in mt76x2_read_rx_gain() 277 dev->cal.rx.mcu_gain |= (lna_5g[2] & 0xff) << 24; in mt76x2_read_rx_gain() 286 lna = mt76x02_get_lna_gain(dev, &lna_2g, lna_5g, chan); in mt76x2_read_rx_gain()
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | eeprom.c | 114 s8 val, lna_5g[3], lna_2g; in mt76x0_read_rx_gain() local 118 mt76x02_get_rx_gain(dev, chan->band, &rssi_offset, &lna_2g, lna_5g); in mt76x0_read_rx_gain() 119 caldata->lna_gain = mt76x02_get_lna_gain(dev, &lna_2g, lna_5g, chan); in mt76x0_read_rx_gain()
|