/linux-4.1.27/drivers/net/wireless/b43/ |
D | tables_lpphy.c | 1083 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, }, 1084 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, }, 1085 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, }, 1086 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, }, 1087 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, }, 1088 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, }, 1089 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, }, 1090 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, }, 1091 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, }, 1092 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, }, [all …]
|
D | lo.c | 79 u16 lna, u16 pga, u16 trsw_rx) in lo_measure_feedthrough() argument 87 pga <<= B43_PHY_RFOVERVAL_PGA_SHIFT; in lo_measure_feedthrough() 90 B43_WARN_ON(pga & ~B43_PHY_RFOVERVAL_PGA); in lo_measure_feedthrough() 98 rfover |= pga; in lo_measure_feedthrough() 116 pga |= B43_PHY_PGACTL_UNKNOWN; in lo_measure_feedthrough() 117 b43_phy_write(dev, B43_PHY_PGACTL, pga); in lo_measure_feedthrough() 119 pga |= B43_PHY_PGACTL_LOWBANDW; in lo_measure_feedthrough() 120 b43_phy_write(dev, B43_PHY_PGACTL, pga); in lo_measure_feedthrough() 122 pga |= B43_PHY_PGACTL_LPF; in lo_measure_feedthrough() 123 b43_phy_write(dev, B43_PHY_PGACTL, pga); in lo_measure_feedthrough() [all …]
|
D | tables_lpphy.h | 32 u8 gm, pga, pad, dac, bb_mult; member
|
D | tables_phy_lcn.c | 32 u8 pga; member 647 (gain_table[i].pga << 8) | in b43_phy_lcn_load_tx_gain_tab()
|
D | phy_lp.c | 801 struct lpphy_tx_gains { u16 gm, pga, pad, dac; }; member 867 gains.pga = (tmp & 0x0078) >> 3; in lpphy_get_tx_gains() 873 gains.pga = (tmp >> 8) & 0xFF; in lpphy_get_tx_gains() 903 rf_gain = (gains.pad << 7) | (gains.pga << 3) | gains.gm; in lpphy_set_tx_gains() 909 (gains.pga << 8) | gains.gm); in lpphy_set_tx_gains() 917 (gains.pga << 8) | gains.gm); in lpphy_set_tx_gains() 1396 gains.pga = (tx_gain >> 8) & 0xFF; in lpphy_set_tx_power_by_index() 1554 gains.pga = 12; in lpphy_tx_pctl_init_sw() 1559 gains.pga = 15; in lpphy_tx_pctl_init_sw()
|
D | phy_n.c | 42 u16 pga[2]; member 50 u16 pga; member 3573 params->pga = target.pga[core]; in b43_nphy_iq_cal_gain_params() 3579 …params->cal_gain = (params->txgm << 12) | (params->pga << 8) | (params->pad << 3) | (params->ipa) … in b43_nphy_iq_cal_gain_params() 3581 … params->cal_gain = (params->txgm << 12) | (params->pga << 8) | (params->pad << 4) | (params->ipa); in b43_nphy_iq_cal_gain_params() 3586 gain = (target.pad[core]) | (target.pga[core] << 4) | in b43_nphy_iq_cal_gain_params() 3597 params->pga = tbl_iqcal_gainparams[indx][i][2]; in b43_nphy_iq_cal_gain_params() 3599 params->cal_gain = (params->txgm << 7) | (params->pga << 4) | in b43_nphy_iq_cal_gain_params() 5039 target.pga[i] = (curr_gain[i] & 0x0F00) >> 8; in b43_nphy_get_tx_gains() 5045 target.pga[i] = (curr_gain[i] & 0x0F00) >> 8; in b43_nphy_get_tx_gains() [all …]
|
/linux-4.1.27/drivers/hwmon/ |
D | ads1015.c | 77 unsigned int pga = data->channel_data[channel].pga; in ads1015_read_adc() local 97 config |= (pga & 0x0007) << 9; in ads1015_read_adc() 127 unsigned int pga = data->channel_data[channel].pga; in ads1015_reg_to_mv() local 128 int fullscale = fullscale_table[pga]; in ads1015_reg_to_mv() 189 unsigned int pga = ADS1015_DEFAULT_PGA; in ads1015_get_channels_config_of() local 207 pga = pval; in ads1015_get_channels_config_of() 208 if (pga > 6) { in ads1015_get_channels_config_of() 226 data->channel_data[channel].pga = pga; in ads1015_get_channels_config_of() 255 data->channel_data[k].pga = ADS1015_DEFAULT_PGA; in ads1015_get_channels_config()
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 1095 struct brw_page **pga) in handle_short_read() argument 1104 if (pga[i]->count > nob_read) { in handle_short_read() 1106 ptr = kmap(pga[i]->pg) + in handle_short_read() 1107 (pga[i]->off & ~CFS_PAGE_MASK); in handle_short_read() 1108 memset(ptr + nob_read, 0, pga[i]->count - nob_read); in handle_short_read() 1109 kunmap(pga[i]->pg); in handle_short_read() 1115 nob_read -= pga[i]->count; in handle_short_read() 1122 ptr = kmap(pga[i]->pg) + (pga[i]->off & ~CFS_PAGE_MASK); in handle_short_read() 1123 memset(ptr, 0, pga[i]->count); in handle_short_read() 1124 kunmap(pga[i]->pg); in handle_short_read() [all …]
|
D | osc_cache.c | 1356 struct brw_page *pga) in osc_consume_write_grant() argument 1359 LASSERT(!(pga->flag & OBD_BRW_FROM_GRANT)); in osc_consume_write_grant() 1362 pga->flag |= OBD_BRW_FROM_GRANT; in osc_consume_write_grant() 1364 PAGE_CACHE_SIZE, pga, pga->pg); in osc_consume_write_grant() 1371 struct brw_page *pga) in osc_release_write_grant() argument 1374 if (!(pga->flag & OBD_BRW_FROM_GRANT)) { in osc_release_write_grant() 1378 pga->flag &= ~OBD_BRW_FROM_GRANT; in osc_release_write_grant() 1381 if (pga->flag & OBD_BRW_NOCACHE) { in osc_release_write_grant() 1382 pga->flag &= ~OBD_BRW_NOCACHE; in osc_release_write_grant()
|
/linux-4.1.27/drivers/iio/adc/ |
D | mcp3422.c | 93 u8 pga[4]; member 148 config |= MCP3422_PGA_VALUE(adc->pga[req_channel]); in mcp3422_read_channel() 166 u8 pga = MCP3422_PGA(adc->config); in mcp3422_read_raw() local 178 *val2 = mcp3422_scales[sample_rate][pga]; in mcp3422_read_raw() 210 adc->pga[req_channel] = i; in mcp3422_write_raw() 215 config |= MCP3422_PGA_VALUE(adc->pga[req_channel]); in mcp3422_write_raw()
|
/linux-4.1.27/Documentation/hwmon/ |
D | ads1015 | 45 - pga is the programmable gain amplifier (values are full scale) 64 [2] = { .enabled = true, .pga = 1, .data_rate = 0 }, 65 [4] = { .enabled = true, .pga = 4, .data_rate = 5 },
|
/linux-4.1.27/include/linux/i2c/ |
D | ads1015.h | 28 unsigned int pga; member
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phytbl_lcn.h | 44 unsigned char pga; member
|
D | phy_n.c | 185 u16 pga; member 23403 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23414 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23423 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23447 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23468 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23484 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23512 params->pga = target_gain.pga[core_no]; in wlc_phy_iqcal_gainparams_nphy() 23518 (params->pga << 8) | in wlc_phy_iqcal_gainparams_nphy() 23522 ((params->txgm << 12) | (params->pga << 8) | in wlc_phy_iqcal_gainparams_nphy() [all …]
|
D | phy_int.h | 440 u16 pga[2]; member
|
D | phy_lcn.c | 4391 (gain_table[j].pga << 8) | gm_gain); in wlc_lcnphy_load_tx_gain_table()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 1552 struct brw_page *pga; in echo_client_kbrw() local 1582 OBD_ALLOC(pga, npages * sizeof(*pga)); in echo_client_kbrw() 1583 if (pga == NULL) in echo_client_kbrw() 1588 OBD_FREE(pga, npages * sizeof(*pga)); in echo_client_kbrw() 1592 for (i = 0, pgp = pga, off = offset; in echo_client_kbrw() 1622 for (i = 0, pgp = pga; i < npages; i++, pgp++) { in echo_client_kbrw() 1637 OBD_FREE(pga, npages * sizeof(*pga)); in echo_client_kbrw()
|
/linux-4.1.27/Documentation/devicetree/bindings/hwmon/ |
D | ads1015.txt | 18 - pga is the programmable gain amplifier (values are full scale)
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | dib0090.c | 1633 u8 pga:1; member 1736 if (state->dc->pga && state->adc_diff < 0) in dib0090_dc_offset_calibration() 1738 if (state->dc->pga == 0 && state->adc_diff > 0) in dib0090_dc_offset_calibration()
|