Searched refs:mt76x02_sign_extend (Results 1 – 2 of 2) sorted by relevance
137 mt76x02_sign_extend(u32 val, unsigned int size) in mt76x02_sign_extend() function151 return enable ? mt76x02_sign_extend(val, size) : 0; in mt76x02_sign_extend_optional()
193 dest[0] = mt76x02_sign_extend(val, 4); in mt76x2_set_rx_gain_group()194 dest[1] = mt76x02_sign_extend(val >> 4, 4); in mt76x2_set_rx_gain_group()279 dev->cal.rx.lna_gain = mt76x02_sign_extend(lna, 8); in mt76x2_read_rx_gain()