Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/wireless/b43/
Dtables_lpphy.c1083 { .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 …]
Dlo.c79 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 …]
Dtables_lpphy.h32 u8 gm, pga, pad, dac, bb_mult; member
Dtables_phy_lcn.c32 u8 pga; member
647 (gain_table[i].pga << 8) | in b43_phy_lcn_load_tx_gain_tab()
Dphy_lp.c801 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()
Dphy_n.c42 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.4.14/drivers/hwmon/
Dads1015.c77 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.4.14/drivers/staging/lustre/lustre/osc/
Dosc_request.c1064 struct brw_page **pga) in handle_short_read() argument
1073 if (pga[i]->count > nob_read) { in handle_short_read()
1075 ptr = kmap(pga[i]->pg) + in handle_short_read()
1076 (pga[i]->off & ~CFS_PAGE_MASK); in handle_short_read()
1077 memset(ptr + nob_read, 0, pga[i]->count - nob_read); in handle_short_read()
1078 kunmap(pga[i]->pg); in handle_short_read()
1084 nob_read -= pga[i]->count; in handle_short_read()
1091 ptr = kmap(pga[i]->pg) + (pga[i]->off & ~CFS_PAGE_MASK); in handle_short_read()
1092 memset(ptr, 0, pga[i]->count); in handle_short_read()
1093 kunmap(pga[i]->pg); in handle_short_read()
[all …]
Dosc_cache.c1357 struct brw_page *pga) in osc_consume_write_grant() argument
1360 LASSERT(!(pga->flag & OBD_BRW_FROM_GRANT)); in osc_consume_write_grant()
1363 pga->flag |= OBD_BRW_FROM_GRANT; in osc_consume_write_grant()
1365 PAGE_CACHE_SIZE, pga, pga->pg); in osc_consume_write_grant()
1372 struct brw_page *pga) in osc_release_write_grant() argument
1375 if (!(pga->flag & OBD_BRW_FROM_GRANT)) { in osc_release_write_grant()
1379 pga->flag &= ~OBD_BRW_FROM_GRANT; in osc_release_write_grant()
1382 if (pga->flag & OBD_BRW_NOCACHE) { in osc_release_write_grant()
1383 pga->flag &= ~OBD_BRW_NOCACHE; in osc_release_write_grant()
/linux-4.4.14/drivers/iio/adc/
Dmcp3422.c93 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.4.14/Documentation/hwmon/
Dads101545 - 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.4.14/include/linux/i2c/
Dads1015.h28 unsigned int pga; member
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphytbl_lcn.h44 unsigned char pga; member
Dphy_n.c185 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 …]
Dphy_int.h440 u16 pga[2]; member
Dphy_lcn.c4391 (gain_table[j].pga << 8) | gm_gain); in wlc_lcnphy_load_tx_gain_table()
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/
Dads1015.txt18 - pga is the programmable gain amplifier (values are full scale)
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1553 struct brw_page *pga; in echo_client_kbrw() local
1583 pga = kcalloc(npages, sizeof(*pga), GFP_NOFS); in echo_client_kbrw()
1584 if (pga == NULL) in echo_client_kbrw()
1589 kfree(pga); in echo_client_kbrw()
1593 for (i = 0, pgp = pga, off = offset; in echo_client_kbrw()
1623 for (i = 0, pgp = pga; i < npages; i++, pgp++) { in echo_client_kbrw()
1638 kfree(pga); in echo_client_kbrw()
/linux-4.4.14/drivers/media/dvb-frontends/
Ddib0090.c1633 u8 pga:1; member
1734 if (state->dc->pga && state->adc_diff < 0) in dib0090_dc_offset_calibration()
1736 if (state->dc->pga == 0 && state->adc_diff > 0) in dib0090_dc_offset_calibration()