| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | tables_lpphy.c | 1070 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, }, 1071 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, }, 1072 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, }, 1073 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, }, 1074 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, }, 1075 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, }, 1076 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, }, 1077 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, }, 1078 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, }, 1079 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, }, [all …]
|
| H A D | lo.c | 66 u16 lna, u16 pga, u16 trsw_rx) in lo_measure_feedthrough() argument 74 pga <<= B43_PHY_RFOVERVAL_PGA_SHIFT; in lo_measure_feedthrough() 77 B43_WARN_ON(pga & ~B43_PHY_RFOVERVAL_PGA); in lo_measure_feedthrough() 85 rfover |= pga; in lo_measure_feedthrough() 103 pga |= B43_PHY_PGACTL_UNKNOWN; in lo_measure_feedthrough() 104 b43_phy_write(dev, B43_PHY_PGACTL, pga); in lo_measure_feedthrough() 106 pga |= B43_PHY_PGACTL_LOWBANDW; in lo_measure_feedthrough() 107 b43_phy_write(dev, B43_PHY_PGACTL, pga); in lo_measure_feedthrough() 109 pga |= B43_PHY_PGACTL_LPF; in lo_measure_feedthrough() 110 b43_phy_write(dev, B43_PHY_PGACTL, pga); in lo_measure_feedthrough() [all …]
|
| H A D | tables_lpphy.h | 33 u8 gm, pga, pad, dac, bb_mult; member
|
| H A D | tables_phy_lcn.c | 19 u8 pga; member 634 (gain_table[i].pga << 8) | in b43_phy_lcn_load_tx_gain_tab()
|
| H A D | phy_lp.c | 789 struct lpphy_tx_gains { u16 gm, pga, pad, dac; }; member 855 gains.pga = (tmp & 0x0078) >> 3; in lpphy_get_tx_gains() 861 gains.pga = (tmp >> 8) & 0xFF; in lpphy_get_tx_gains() 891 rf_gain = (gains.pad << 7) | (gains.pga << 3) | gains.gm; in lpphy_set_tx_gains() 897 (gains.pga << 8) | gains.gm); in lpphy_set_tx_gains() 905 (gains.pga << 8) | gains.gm); in lpphy_set_tx_gains() 1384 gains.pga = (tx_gain >> 8) & 0xFF; in lpphy_set_tx_power_by_index() 1542 gains.pga = 12; in lpphy_tx_pctl_init_sw() 1547 gains.pga = 15; in lpphy_tx_pctl_init_sw()
|
| /linux/drivers/iio/adc/ |
| H A D | mcp3422.c | 91 u8 pga[4]; member 144 config |= MCP3422_PGA_VALUE(adc->pga[req_channel]); in mcp3422_read_channel() 168 u8 pga = MCP3422_PGA(adc->config); in mcp3422_read_raw() local 180 *val2 = mcp3422_scales[sample_rate][pga]; in mcp3422_read_raw() 212 adc->pga[req_channel] = i; in mcp3422_write_raw() 217 config |= MCP3422_PGA_VALUE(adc->pga[req_channel]); in mcp3422_write_raw()
|
| H A D | ti-ads1015.c | 234 unsigned int pga; member 397 int ret, pga, dr, dr_old, conv_time; in ads1015_get_adc_result() local 407 pga = data->channel_data[chan].pga; in ads1015_get_adc_result() 411 cfg = chan << ADS1015_CFG_MUX_SHIFT | pga << ADS1015_CFG_PGA_SHIFT | in ads1015_get_adc_result() 484 data->channel_data[chan->address].pga = i; in ads1015_set_scale() 576 idx = data->channel_data[chan->address].pga; in ads1015_read_raw() 869 unsigned int pga = ADS1015_DEFAULT_PGA; in ads1015_client_get_channels_config() local 885 pga = pval; in ads1015_client_get_channels_config() 886 if (pga > 5) { in ads1015_client_get_channels_config() 900 data->channel_data[channel].pga = pga; in ads1015_client_get_channels_config() [all …]
|
| H A D | ad4170-4.c | 1280 unsigned int pga, fs_idx; in ad4170_read_raw() local 1293 pga = FIELD_GET(AD4170_AFE_PGA_GAIN_MSK, setup->afe); in ad4170_read_raw() 1296 *val = chan_info->scale_tbl[pga][0]; in ad4170_read_raw() 1297 *val2 = chan_info->scale_tbl[pga][1]; in ad4170_read_raw() 1308 *val2 = DIV_ROUND_CLOSEST(chan_info->scale_tbl[pga][1] * MILLI, 477) * in ad4170_read_raw() 1315 pga = FIELD_GET(AD4170_AFE_PGA_GAIN_MSK, setup->afe); in ad4170_read_raw() 1316 *val = chan_info->offset_tbl[pga]; in ad4170_read_raw() 1358 int pga, ainm_voltage, ret; in ad4170_fill_scale_tbl() local 1366 for (pga = 0; pga < AD4170_NUM_PGA_OPTIONS; pga++) { in ad4170_fill_scale_tbl() 1387 lshift = !!(pga & BIT(3)); /* handle PGA options 8 and 9 */ in ad4170_fill_scale_tbl() [all …]
|
| H A D | ti-ads1018.c | 490 unsigned int pga, drate, addr; in ads1018_buffer_preenable() local 495 pga = ads1018->chan_data[addr].pga_mode; in ads1018_buffer_preenable() 500 cfg |= FIELD_PREP(ADS1018_CFG_PGA_MASK, pga); in ads1018_buffer_preenable()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phytbl_lcn.h | 33 unsigned char pga; member
|
| H A D | phy_n.c | 174 u16 pga; member 23282 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23293 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23302 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23326 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23347 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23363 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23390 params->pga = target_gain.pga[core_no]; in wlc_phy_iqcal_gainparams_nphy() 23396 (params->pga << 8) | in wlc_phy_iqcal_gainparams_nphy() 23400 ((params->txgm << 12) | (params->pga << 8) | in wlc_phy_iqcal_gainparams_nphy() [all …]
|
| H A D | phy_int.h | 422 u16 pga[2]; member
|
| H A D | phy_lcn.c | 4302 (gain_table[j].pga << 8) | gm_gain); in wlc_lcnphy_load_tx_gain_table()
|
| /linux/Documentation/iio/ |
| H A D | ad7191.rst | 50 - When using GPIO control, specify the "pga-gpios" property in the device tree 51 - For pin-strapped configuration, specify the "adi,pga-value" property in the
|
| /linux/Documentation/hwmon/ |
| H A D | tmp513.rst | 53 The readable range depends on the "ti,pga-gain" property (default to 8) and the
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | dib0090.c | 1629 u8 pga:1; member 1731 if (state->dc->pga && state->adc_diff < 0) in dib0090_dc_offset_calibration() 1733 if (state->dc->pga == 0 && state->adc_diff > 0) in dib0090_dc_offset_calibration()
|