Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dmax16065.c90 int curr_gain; member
224 ADC_TO_CURR(data->curr_sense, data->curr_gain)); in max16065_current_show()
579 data->curr_gain = 6 << ((val >> 2) & 0x03); in max16065_probe()
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_n.c4962 u16 curr_gain[2]; in b43_nphy_get_tx_gains() local
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()
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()
4988 target.ipa[i] = curr_gain[i] & 0x0003; in b43_nphy_get_tx_gains()
4989 target.pad[i] = (curr_gain[i] & 0x000C) >> 2; in b43_nphy_get_tx_gains()
4990 target.pga[i] = (curr_gain[i] & 0x0070) >> 4; in b43_nphy_get_tx_gains()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A 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()
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()
23309 curr_gain[core_no] & 0x0003; in wlc_phy_get_tx_gain_nphy()
23311 ((curr_gain[core_no] & 0x000C) >> 2); in wlc_phy_get_tx_gain_nphy()
[all …]