Home
last modified time | relevance | path

Searched refs:new_gain (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/iio/light/
Dveml6030.c378 int ret, new_gain, gain_idx; in veml6030_set_als_gain() local
382 new_gain = 0x1000; /* 0x02 << 11 */ in veml6030_set_als_gain()
385 new_gain = 0x1800; in veml6030_set_als_gain()
388 new_gain = 0x00; in veml6030_set_als_gain()
391 new_gain = 0x800; in veml6030_set_als_gain()
398 VEML6030_ALS_GAIN, new_gain); in veml6030_set_als_gain()
/linux-5.19.10/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c1613 u32 gain_x2, new_gain; in rtw8822c_txgapk_cal_gain() local
1618 new_gain = gain; in rtw8822c_txgapk_cal_gain()
1621 gain, offset, new_gain); in rtw8822c_txgapk_cal_gain()
1622 return new_gain; in rtw8822c_txgapk_cal_gain()
1626 new_gain = (gain_x2 >> 1) | (gain_x2 & BIT(0) ? BIT_GAIN_EXT : 0); in rtw8822c_txgapk_cal_gain()
1630 gain, offset, new_gain); in rtw8822c_txgapk_cal_gain()
1632 return new_gain; in rtw8822c_txgapk_cal_gain()