Searched refs:pga_gain (Results 1 – 9 of 9) sorted by relevance
161 u16 pga_gain; member179 return 5 - ffs(data->pga_gain); in tmp51x_get_pga_shift()532 int vshunt_max = data->pga_gain * 40; in tmp51x_calibrate()640 if (data->pga_gain == 8) { in tmp51x_pga_gain_to_reg()642 } else if (data->pga_gain == 4) { in tmp51x_pga_gain_to_reg()644 } else if (data->pga_gain == 2) { in tmp51x_pga_gain_to_reg()646 } else if (data->pga_gain == 1) { in tmp51x_pga_gain_to_reg()649 dev_err(dev, "ti,pga-gain is invalid: %u\n", data->pga_gain); in tmp51x_pga_gain_to_reg()671 data->pga_gain = (ret >= 0) ? val : TMP51X_PGA_DEFAULT; in tmp51x_read_properties()682 if (data->shunt_uohms > data->pga_gain * 40 * 1000 * 1000) { in tmp51x_read_properties()[all …]
307 gphy->pga_gain = trsw_rx_gain / 3; in lo_measure_gain_values()308 if (gphy->pga_gain >= 5) { in lo_measure_gain_values()309 gphy->pga_gain -= 5; in lo_measure_gain_values()318 gphy->pga_gain = 2; in lo_measure_gain_values()321 gphy->pga_gain = 1; in lo_measure_gain_values()324 gphy->pga_gain = 0; in lo_measure_gain_values()327 gphy->pga_gain = 0; in lo_measure_gain_values()496 tmp = (gphy->pga_gain << 8); in lo_measure_restore()503 tmp = (gphy->pga_gain | 0xEFA0); in lo_measure_restore()619 gphy->pga_gain, in lo_probe_possible_loctls()[all …]
42 u16 pga_gain; member517 (target_gains->gm_gain | (target_gains->pga_gain << 8))); in b43_phy_lcn_set_tx_gain()521 (target_gains->gm_gain | (target_gains->pga_gain << 8))); in b43_phy_lcn_set_tx_gain()540 tx_gains.pga_gain = 12; in b43_phy_lcn_tx_pwr_ctl_init()546 tx_gains.pga_gain = 15; in b43_phy_lcn_tx_pwr_ctl_init()
163 s16 pga_gain; /* PGA */ member
4224 u8 pga_gain, pad_gain; in b43_nphy_tx_gain_table_upload() local4257 pga_gain = (table[i] >> 24) & 0xf; in b43_nphy_tx_gain_table_upload()4262 rfpwr_offset = rf_pwr_offset_table[pga_gain]; in b43_nphy_tx_gain_table_upload()4264 pga_gain = (table[i] >> 24) & 0xF; in b43_nphy_tx_gain_table_upload()4266 rfpwr_offset = b43_ntab_papd_pga_gain_delta_ipa_2g[pga_gain]; in b43_nphy_tx_gain_table_upload()
103 and depend on the shunt resistor value and the pga_gain value.
143 u16 pga_gain; member1007 gains->pga_gain = (rfgain0 >> 8) & 0xff; in wlc_lcnphy_get_tx_gain()1870 (target_gains->pga_gain << 8)) << in wlc_lcnphy_set_tx_gain()1880 (target_gains->pga_gain << 8)) << in wlc_lcnphy_set_tx_gain()2663 (target_gains->pga_gain << 4) | (target_gains->pad_gain); in wlc_lcnphy_tx_iqlo_cal()2673 cal_gains.pga_gain = in wlc_lcnphy_tx_iqlo_cal()3025 tx_gains.pga_gain = 12; in wlc_lcnphy_tx_pwr_ctrl_init()3032 tx_gains.pga_gain = 15; in wlc_lcnphy_tx_pwr_ctrl_init()3158 gains.pga_gain = (u16) (txgain >> 8) & 0xff; in wlc_lcnphy_set_tx_pwr_by_index()3859 target_gains.pga_gain = 0; in wlc_lcnphy_txpwrtbl_iqlo_cal()[all …]
460 s16 pga_gain; /* PGA */ member
310 IIO_DEVICE_ATTR(pga_gain, _mode, _show, _store, _addr)