Lines Matching refs:lna_5g
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()
146 lna = lna_5g[0]; in mt76x02_get_lna_gain()
148 lna = lna_5g[1]; in mt76x02_get_lna_gain()
150 lna = lna_5g[2]; in mt76x02_get_lna_gain()