Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/broadcom/b43/
H A 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 …]
H A 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 …]
H A Dtables_lpphy.h33 u8 gm, pga, pad, dac, bb_mult; member
H A Dtables_phy_lcn.c19 u8 pga; member
634 (gain_table[i].pga << 8) | in b43_phy_lcn_load_tx_gain_tab()
H A 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()
/linux/drivers/iio/adc/
H A Dmcp3422.c84 u8 pga[4]; member
136 FIELD_MODIFY(MCP3422_PGA_MASK, &config, adc->pga[req_channel]); in mcp3422_read_channel()
160 u8 pga = FIELD_GET(MCP3422_PGA_MASK, adc->config); in mcp3422_read_raw() local
172 *val2 = mcp3422_scales[sample_rate][pga]; in mcp3422_read_raw()
204 adc->pga[req_channel] = i; in mcp3422_write_raw()
207 FIELD_MODIFY(MCP3422_PGA_MASK, &config, adc->pga[req_channel]); in mcp3422_write_raw()
H A Dti-ads1018.c489 unsigned int pga, drate, addr; in ads1018_buffer_preenable() local
494 pga = ads1018->chan_data[addr].pga_mode; in ads1018_buffer_preenable()
499 cfg |= FIELD_PREP(ADS1018_CFG_PGA_MASK, pga); in ads1018_buffer_preenable()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphytbl_lcn.h33 unsigned char pga; member
H A Dphy_n.c174 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 Dphy_int.h422 u16 pga[2]; member
/linux/Documentation/iio/
H A Dad7191.rst50 - 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 Dtmp513.rst53 The readable range depends on the "ti,pga-gain" property (default to 8) and the
/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8822c.c3563 u8 pga; member
3578 data->pga = (u8)rtw_read_rf(rtwdev, data->path, RF_MODE_TRXAGC, in rtw8822c_gain_check_state()
3604 u8 pga = data->pga; in rtw8822c_gain_large_state() local
3606 if (pga > 0xe) in rtw8822c_gain_large_state()
3608 else if (pga > 0xb && pga < 0xf) in rtw8822c_gain_large_state()
3610 else if (pga < 0xc) in rtw8822c_gain_large_state()
3619 u8 pga = data->pga; in rtw8822c_gain_less_state() local
3621 if (pga < 0xc) in rtw8822c_gain_less_state()
3623 else if (pga > 0xb && pga < 0xf) in rtw8822c_gain_less_state()
3625 else if (pga > 0xe) in rtw8822c_gain_less_state()
/linux/drivers/media/dvb-frontends/
H A 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()