| /linux-6.15/drivers/net/wireless/broadcom/b43/ |
| H A D | tables_lpphy.c | 1278 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 70, }, 1279 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 68, }, 1280 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 66, }, 1281 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 64, }, 1282 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 63, }, 1283 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 61, }, 1284 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 59, }, 1285 { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 71, }, 1286 { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 69, }, 2350 tmp |= data.pga << 7; in lpphy_rev0_1_write_gain_table() [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() 85 rfover |= pga; in lo_measure_feedthrough() 103 pga |= B43_PHY_PGACTL_UNKNOWN; in lo_measure_feedthrough() 106 pga |= B43_PHY_PGACTL_LOWBANDW; in lo_measure_feedthrough() 109 pga |= B43_PHY_PGACTL_LPF; in lo_measure_feedthrough() 168 u16 trsw_rx, pga; in lo_measure_txctl_values() local 182 pga = 0; in lo_measure_txctl_values() 190 pga = abs(10 - lb_gain) / 6; in lo_measure_txctl_values() 191 pga = clamp_val(pga, 0, 15); in lo_measure_txctl_values() [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()
|
| H A D | phy_n.c | 30 u16 pga[2]; member 38 u16 pga; member 3558 params->pga = target.pga[core]; 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() 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() 4990 target.pga[i] = (curr_gain[i] & 0x0070) >> 4; in b43_nphy_get_tx_gains() 5012 target.pga[i] = (table[index[i]] >> 24) & 0xF; in b43_nphy_get_tx_gains() 5018 target.pga[i] = (table[index[i]] >> 24) & 0xF; in b43_nphy_get_tx_gains() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/iio/adc/ |
| H A D | adi,ad7191.yaml | 70 pga-gpios: 72 PGA1 and PGA2 pins for gain selection. Should be defined if adi,pga-value 77 adi,pga-value: 85 If defined, pga-gpios must be absent. 117 - adi,pga-value 119 - pga-gpios 144 adi,pga-value = <1>;
|
| H A D | ti,ads1015.yaml | 74 pga is the programmable gain amplifier (values are full scale)
|
| /linux-6.15/Documentation/devicetree/bindings/hwmon/ |
| H A D | ti,tmp513.yaml | 38 rshunt <= pga-gain * 40 * 1000 * 1000. 42 ti,pga-gain: 46 The range will be equal to: pga-gain * 40mV 90 ti,pga-gain = <8>;
|
| /linux-6.15/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 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() 910 unsigned int pga = ADS1015_DEFAULT_PGA; in ads1015_client_get_channels_config() local 926 pga = pval; in ads1015_client_get_channels_config() 927 if (pga > 5) { in ads1015_client_get_channels_config() 941 data->channel_data[channel].pga = pga; in ads1015_client_get_channels_config() [all …]
|
| H A D | ad4130.c | 235 unsigned int pga; member 611 unsigned int pga; in ad4130_setup_info_eq() 622 a->pga != b->pga || in ad4130_setup_info_eq() 1015 unsigned int pga, old_pga; in ad4130_set_channel_pga() local 1018 for (pga = 0; pga < AD4130_MAX_PGA; pga++) in ad4130_set_channel_pga() 1020 val2 == st->scale_tbls[setup_info->ref_sel][pga][1]) in ad4130_set_channel_pga() 1023 if (pga == AD4130_MAX_PGA) in ad4130_set_channel_pga() 1027 if (pga == setup_info->pga) in ad4130_set_channel_pga() 1030 old_pga = setup_info->pga; in ad4130_set_channel_pga() 1031 setup_info->pga = pga; in ad4130_set_channel_pga() [all …]
|
| /linux-6.15/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 23288 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23299 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23308 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23332 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23353 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23369 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23396 params->pga = target_gain.pga[core_no]; in wlc_phy_iqcal_gainparams_nphy() 23402 (params->pga << 8) | in wlc_phy_iqcal_gainparams_nphy() 24704 (phy_a9.pga[core] << 8) | in wlc_phy_a2_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-6.15/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-6.15/Documentation/hwmon/ |
| H A D | tmp513.rst | 53 The readable range depends on the "ti,pga-gain" property (default to 8) and the
|
| /linux-6.15/drivers/net/wireless/realtek/rtw88/ |
| H A D | rtw8822c.c | 3559 u8 pga; member 3574 data->pga = (u8)rtw_read_rf(rtwdev, data->path, RF_MODE_TRXAGC, in rtw8822c_gain_check_state() 3600 u8 pga = data->pga; in rtw8822c_gain_large_state() local 3602 if (pga > 0xe) in rtw8822c_gain_large_state() 3604 else if (pga > 0xb && pga < 0xf) in rtw8822c_gain_large_state() 3606 else if (pga < 0xc) in rtw8822c_gain_large_state() 3615 u8 pga = data->pga; in rtw8822c_gain_less_state() local 3617 if (pga < 0xc) in rtw8822c_gain_less_state() 3619 else if (pga > 0xb && pga < 0xf) in rtw8822c_gain_less_state() 3621 else if (pga > 0xe) in rtw8822c_gain_less_state()
|
| /linux-6.15/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()
|