Lines Matching refs:lna_5g
356 s8 lna_5g[3], lna_2g; in mt76x2_read_rx_gain() local
379 lna_5g[0] = val >> 8; in mt76x2_read_rx_gain()
382 lna_5g[1] = val >> 8; in mt76x2_read_rx_gain()
385 lna_5g[2] = val >> 8; in mt76x2_read_rx_gain()
387 if (!field_valid(lna_5g[1])) in mt76x2_read_rx_gain()
388 lna_5g[1] = lna_5g[0]; in mt76x2_read_rx_gain()
390 if (!field_valid(lna_5g[2])) in mt76x2_read_rx_gain()
391 lna_5g[2] = lna_5g[0]; in mt76x2_read_rx_gain()
394 dev->cal.rx.mcu_gain |= (lna_5g[0] & 0xff) << 8; in mt76x2_read_rx_gain()
395 dev->cal.rx.mcu_gain |= (lna_5g[1] & 0xff) << 16; in mt76x2_read_rx_gain()
396 dev->cal.rx.mcu_gain |= (lna_5g[2] & 0xff) << 24; in mt76x2_read_rx_gain()
402 memset(lna_5g, 0, sizeof(lna_5g)); in mt76x2_read_rx_gain()
407 lna = lna_5g[0]; in mt76x2_read_rx_gain()
409 lna = lna_5g[1]; in mt76x2_read_rx_gain()
411 lna = lna_5g[2]; in mt76x2_read_rx_gain()