Searched refs:pga_gain (Results 1 – 9 of 9) sorted by relevance
170 u16 pga_gain; member188 return 5 - ffs(data->pga_gain); in tmp51x_get_pga_shift()541 int vshunt_max = data->pga_gain * 40; in tmp51x_calibrate()641 if (data->pga_gain == 8) { in tmp51x_pga_gain_to_reg()643 } else if (data->pga_gain == 4) { in tmp51x_pga_gain_to_reg()645 } else if (data->pga_gain == 2) { in tmp51x_pga_gain_to_reg()647 } else if (data->pga_gain == 1) { in tmp51x_pga_gain_to_reg()651 "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()680 if (data->shunt_uohms > data->pga_gain * 40 * MICRO) { 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
4220 u8 pga_gain, pad_gain; in b43_nphy_tx_gain_table_upload() local4253 pga_gain = (table[i] >> 24) & 0xf; in b43_nphy_tx_gain_table_upload()4258 rfpwr_offset = rf_pwr_offset_table[pga_gain]; in b43_nphy_tx_gain_table_upload()4260 pga_gain = (table[i] >> 24) & 0xF; in b43_nphy_tx_gain_table_upload()4262 rfpwr_offset = b43_ntab_papd_pga_gain_delta_ipa_2g[pga_gain]; in b43_nphy_tx_gain_table_upload()
86 unsigned int pga_gain; member284 unsigned int pga_gain) in ads131e08_pga_gain_to_field_value() argument289 if (ads131e08_pga_gain_tbl[i].gain == pga_gain) in ads131e08_pga_gain_to_field_value()302 unsigned int channel, unsigned int pga_gain) in ads131e08_set_pga_gain() argument306 field_value = ads131e08_pga_gain_to_field_value(st, pga_gain); in ads131e08_set_pga_gain()415 st->channel_config[i].pga_gain); in ads131e08_initial_config()530 *value /= st->channel_config[channel->address].pga_gain; in ads131e08_read_raw()745 channel_config[i].pga_gain = ADS131E08_DEFAULT_PGA_GAIN; in ads131e08_alloc_channels()751 channel_config[i].pga_gain = tmp; in ads131e08_alloc_channels()
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()2665 (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 …]
103 and depend on the shunt resistor value and the pga_gain value.
460 s16 pga_gain; /* PGA */ member