Home
last modified time | relevance | path

Searched refs:gain_index (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/net/wireless/ath/ath9k/
H A Dar9003_paprd.c370 static void ar9003_tx_force_gain(struct ath_hw *ah, unsigned int gain_index) in ar9003_tx_force_gain() argument
376 selected_gain_entry = gain_table_entries[gain_index]; in ar9003_tx_force_gain()
801 unsigned int i, desired_gain, gain_index; in ar9003_paprd_setup_gain_table() local
806 gain_index = 0; in ar9003_paprd_setup_gain_table()
810 gain_index++; in ar9003_paprd_setup_gain_table()
813 ar9003_tx_force_gain(ah, gain_index); in ar9003_paprd_setup_gain_table()
/linux-6.15/drivers/iio/adc/
H A Dad7191.c316 static int ad7191_set_gain(struct ad7191_state *st, int gain_index) in ad7191_set_gain() argument
320 st->scale_index = gain_index; in ad7191_set_gain()
322 bitmap_write(bitmap, gain_index, 0, 2); in ad7191_set_gain()
/linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c5053 if (*gain_index >= 0) in wlc_lcnphy_get_receive_power()
5054 gain_code = lcnphy_23bitgaincode_table[*gain_index]; in wlc_lcnphy_get_receive_power()
5056 if (-1 == *gain_index) { in wlc_lcnphy_get_receive_power()
5057 *gain_index = 0; in wlc_lcnphy_get_receive_power()
5058 while ((*gain_index <= (s32) max_index) in wlc_lcnphy_get_receive_power()
5062 [*gain_index]); in wlc_lcnphy_get_receive_power()
5068 (*gain_index)++; in wlc_lcnphy_get_receive_power()
5070 (*gain_index)--; in wlc_lcnphy_get_receive_power()
5094 received_power = wlc_lcnphy_get_receive_power(pi, &gain_index); in wlc_lcnphy_rx_signal_power()
5096 gain = lcnphy_gain_table[gain_index]; in wlc_lcnphy_rx_signal_power()
[all …]
H A Dphy_int.h1022 s32 wlc_lcnphy_rx_signal_power(struct brcms_phy *pi, s32 gain_index);
H A Dphy_n.c23388 u16 gain_index; in wlc_phy_iqcal_gainparams_nphy() local
23416 gain_index = ((target_gain.pad[core_no] << 0) | in wlc_phy_iqcal_gainparams_nphy()
23422 gain_index) in wlc_phy_iqcal_gainparams_nphy()