Home
last modified time | relevance | path

Searched refs:mt76x02_sign_extend (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/wireless/mediatek/mt76/
Dmt76x02_eeprom.h137 mt76x02_sign_extend(u32 val, unsigned int size) in mt76x02_sign_extend() function
151 return enable ? mt76x02_sign_extend(val, size) : 0; in mt76x02_sign_extend_optional()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt76x2/
Deeprom.c193 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()
288 dev->cal.rx.lna_gain = mt76x02_sign_extend(lna, 8); in mt76x2_read_rx_gain()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt76x0/
Deeprom.c88 dev->cal.rx.temp_offset = mt76x02_sign_extend(val, 8); in mt76x0_set_temp_offset()
107 caldata->freq_offset -= mt76x02_sign_extend(val, 8); in mt76x0_set_freq_offset()