Home
last modified time | relevance | path

Searched refs:pga (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/net/wireless/broadcom/b43/
Dtables_lpphy.c1070 { .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 …]
Dlo.c66 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 …]
Dtables_lpphy.h33 u8 gm, pga, pad, dac, bb_mult; member
Dtables_phy_lcn.c19 u8 pga; member
634 (gain_table[i].pga << 8) | in b43_phy_lcn_load_tx_gain_tab()
Dphy_lp.c789 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()
Dphy_n.c30 u16 pga[2]; member
38 u16 pga; member
3558 params->pga = target.pga[core]; in b43_nphy_iq_cal_gain_params()
3564 …params->cal_gain = (params->txgm << 12) | (params->pga << 8) | (params->pad << 3) | (params->ipa) … in b43_nphy_iq_cal_gain_params()
3566 … params->cal_gain = (params->txgm << 12) | (params->pga << 8) | (params->pad << 4) | (params->ipa); in b43_nphy_iq_cal_gain_params()
3571 gain = (target.pad[core]) | (target.pga[core] << 4) | in b43_nphy_iq_cal_gain_params()
3582 params->pga = tbl_iqcal_gainparams[indx][i][2]; in b43_nphy_iq_cal_gain_params()
3584 params->cal_gain = (params->txgm << 7) | (params->pga << 4) | in b43_nphy_iq_cal_gain_params()
4979 target.pga[i] = (curr_gain[i] & 0x0F00) >> 8; in b43_nphy_get_tx_gains()
4985 target.pga[i] = (curr_gain[i] & 0x0F00) >> 8; in b43_nphy_get_tx_gains()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/hwmon/
Dti,tmp513.yaml39 rshunt <= pga-gain * 40 * 1000 * 1000.
43 ti,pga-gain:
47 The range will be equal to: pga-gain * 40mV
88 ti,pga-gain = <8>;
/linux-6.6.21/drivers/iio/adc/
Dmcp3422.c91 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()
Dti-ads1015.c234 unsigned int pga; member
399 int ret, pga, dr, dr_old, conv_time; in ads1015_get_adc_result() local
409 pga = data->channel_data[chan].pga; in ads1015_get_adc_result()
413 cfg = chan << ADS1015_CFG_MUX_SHIFT | pga << ADS1015_CFG_PGA_SHIFT | in ads1015_get_adc_result()
488 data->channel_data[chan->address].pga = i; in ads1015_set_scale()
578 idx = data->channel_data[chan->address].pga; in ads1015_read_raw()
911 unsigned int pga = ADS1015_DEFAULT_PGA; in ads1015_client_get_channels_config() local
927 pga = pval; in ads1015_client_get_channels_config()
928 if (pga > 6) { in ads1015_client_get_channels_config()
944 data->channel_data[channel].pga = pga; in ads1015_client_get_channels_config()
[all …]
Dad4130.c230 unsigned int pga; member
688 FIELD_PREP(AD4130_CONFIG_PGA_MASK, setup_info->pga); in ad4130_write_slot_setup()
973 unsigned int pga, old_pga; in ad4130_set_channel_pga() local
976 for (pga = 0; pga < AD4130_MAX_PGA; pga++) in ad4130_set_channel_pga()
977 if (val == st->scale_tbls[setup_info->ref_sel][pga][0] && in ad4130_set_channel_pga()
978 val2 == st->scale_tbls[setup_info->ref_sel][pga][1]) in ad4130_set_channel_pga()
981 if (pga == AD4130_MAX_PGA) in ad4130_set_channel_pga()
985 if (pga == setup_info->pga) in ad4130_set_channel_pga()
988 old_pga = setup_info->pga; in ad4130_set_channel_pga()
989 setup_info->pga = pga; in ad4130_set_channel_pga()
[all …]
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphytbl_lcn.h33 unsigned char pga; member
Dphy_n.c174 u16 pga; member
23292 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy()
23303 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy()
23312 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy()
23336 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy()
23357 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy()
23373 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy()
23400 params->pga = target_gain.pga[core_no]; in wlc_phy_iqcal_gainparams_nphy()
23406 (params->pga << 8) | in wlc_phy_iqcal_gainparams_nphy()
23410 ((params->txgm << 12) | (params->pga << 8) | in wlc_phy_iqcal_gainparams_nphy()
[all …]
Dphy_int.h422 u16 pga[2]; member
Dphy_lcn.c4302 (gain_table[j].pga << 8) | gm_gain); in wlc_lcnphy_load_tx_gain_table()
/linux-6.6.21/Documentation/devicetree/bindings/iio/adc/
Dti,ads1015.yaml70 pga is the programmable gain amplifier (values are full scale)
/linux-6.6.21/Documentation/hwmon/
Dtmp513.rst53 The readable range depends on the "ti,pga-gain" property (default to 8) and the
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c3597 u8 pga; member
3612 data->pga = (u8)rtw_read_rf(rtwdev, data->path, RF_MODE_TRXAGC, in rtw8822c_gain_check_state()
3638 u8 pga = data->pga; in rtw8822c_gain_large_state() local
3640 if (pga > 0xe) in rtw8822c_gain_large_state()
3642 else if (pga > 0xb && pga < 0xf) in rtw8822c_gain_large_state()
3644 else if (pga < 0xc) in rtw8822c_gain_large_state()
3653 u8 pga = data->pga; in rtw8822c_gain_less_state() local
3655 if (pga < 0xc) in rtw8822c_gain_less_state()
3657 else if (pga > 0xb && pga < 0xf) in rtw8822c_gain_less_state()
3659 else if (pga > 0xe) in rtw8822c_gain_less_state()
/linux-6.6.21/drivers/media/dvb-frontends/
Ddib0090.c1629 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()