Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/hwmon/
Dmax16065.c90 int curr_gain; member
216 ADC_TO_CURR(data->curr_sense, data->curr_gain)); in max16065_current_show()
572 data->curr_gain = 6 << ((val >> 2) & 0x03); in max16065_probe()
/linux-6.6.21/drivers/net/wireless/broadcom/b43/
Dphy_n.c4962 u16 curr_gain[2]; in b43_nphy_get_tx_gains() local
4971 b43_ntab_read_bulk(dev, B43_NTAB16(7, 0x110), 2, curr_gain); in b43_nphy_get_tx_gains()
4977 target.ipa[i] = curr_gain[i] & 0x0007; in b43_nphy_get_tx_gains()
4978 target.pad[i] = (curr_gain[i] & 0x00F8) >> 3; in b43_nphy_get_tx_gains()
4979 target.pga[i] = (curr_gain[i] & 0x0F00) >> 8; in b43_nphy_get_tx_gains()
4980 target.txgm[i] = (curr_gain[i] & 0x7000) >> 12; in b43_nphy_get_tx_gains()
4981 target.tx_lpf[i] = (curr_gain[i] & 0x8000) >> 15; in b43_nphy_get_tx_gains()
4983 target.ipa[i] = curr_gain[i] & 0x000F; in b43_nphy_get_tx_gains()
4984 target.pad[i] = (curr_gain[i] & 0x00F0) >> 4; in b43_nphy_get_tx_gains()
4985 target.pga[i] = (curr_gain[i] & 0x0F00) >> 8; in b43_nphy_get_tx_gains()
[all …]
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c23271 u16 base_idx[2], curr_gain[2]; in wlc_phy_get_tx_gain_nphy() local
23281 curr_gain); in wlc_phy_get_tx_gain_nphy()
23289 curr_gain[core_no] & 0x0007; in wlc_phy_get_tx_gain_nphy()
23291 ((curr_gain[core_no] & 0x00F8) >> 3); in wlc_phy_get_tx_gain_nphy()
23293 ((curr_gain[core_no] & 0x0F00) >> 8); in wlc_phy_get_tx_gain_nphy()
23295 ((curr_gain[core_no] & 0x7000) >> 12); in wlc_phy_get_tx_gain_nphy()
23297 ((curr_gain[core_no] & 0x8000) >> 15); in wlc_phy_get_tx_gain_nphy()
23300 curr_gain[core_no] & 0x000F; in wlc_phy_get_tx_gain_nphy()
23302 ((curr_gain[core_no] & 0x00F0) >> 4); in wlc_phy_get_tx_gain_nphy()
23304 ((curr_gain[core_no] & 0x0F00) >> 8); in wlc_phy_get_tx_gain_nphy()
[all …]