Home
last modified time | relevance | path

Searched full:gain (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/freebsd/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_regs.h51 #define BWN_NPHY_C1_CGAINI BWN_PHY_N(0x01C) /* Core 1 compute gain info */
52 #define BWN_NPHY_C1_CGAINI_GAINBKOFF 0x001F /* Gain backoff */
54 #define BWN_NPHY_C1_CGAINI_CLIPGBKOFF 0x03E0 /* Clip gain backoff */
56 #define BWN_NPHY_C1_CGAINI_GAINSTEP 0x1C00 /* Gain step */
59 #define BWN_NPHY_C1_CCK_CGAINI BWN_PHY_N(0x01D) /* Core 1 CCK compute gain info */
60 #define BWN_NPHY_C1_CCK_CGAINI_GAINBKOFF 0x001F /* Gain backoff */
61 #define BWN_NPHY_C1_CCK_CGAINI_CLIPGBKOFF 0x01E0 /* CCK barely clip gain backoff */
62 #define BWN_NPHY_C1_MINMAX_GAIN BWN_PHY_N(0x01E) /* Core 1 min/max gain */
63 #define BWN_NPHY_C1_MINGAIN 0x00FF /* Minimum gain */
65 #define BWN_NPHY_C1_MAXGAIN 0xFF00 /* Maximum gain */
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dphy.c15 s8 gain; in mt76x2_adjust_high_lna_gain() local
17 gain = FIELD_GET(MT_BBP_AGC_LNA_HIGH_GAIN, in mt76x2_adjust_high_lna_gain()
19 gain -= offset / 2; in mt76x2_adjust_high_lna_gain()
20 mt76_rmw_field(dev, MT_BBP(AGC, reg), MT_BBP_AGC_LNA_HIGH_GAIN, gain); in mt76x2_adjust_high_lna_gain()
26 s8 gain; in mt76x2_adjust_agc_gain() local
28 gain = FIELD_GET(MT_BBP_AGC_GAIN, mt76_rr(dev, MT_BBP(AGC, reg))); in mt76x2_adjust_agc_gain()
29 gain += offset; in mt76x2_adjust_agc_gain()
30 mt76_rmw_field(dev, MT_BBP(AGC, reg), MT_BBP_AGC_GAIN, gain); in mt76x2_adjust_agc_gain()
144 int base_power, gain; in mt76x2_phy_set_txpower() local
163 gain = min(txp_0, txp_1); in mt76x2_phy_set_txpower()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/light/
H A Dus5182d.txt14 - upisemi,upper-dark-gain: 8-bit dark gain compensation factor(4 int and 4
17 - upisemi,lower-dark-gain: 8-bit dark gain compensation factor(4 int and 4
33 There will be no dark-gain compensation by default when ALS > thresh
34 (0 * dark-gain), and a 1.35 compensation factor when ALS < thresh.
43 upisemi,upper-dark-gain = /bits/ 8 <0x00>;
44 upisemi,lower-dark-gain = /bits/ 8 <0x16>;
H A Dupisemi,us5182.yaml33 upisemi,upper-dark-gain:
36 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4)
40 upisemi,lower-dark-gain:
43 8-bit dark gain compensation factor(4 int and 4 fractional bits - Q4.4)
74 upisemi,upper-dark-gain = /bits/ 8 <0x00>;
75 upisemi,lower-dark-gain = /bits/ 8 <0x16>;
H A Damstaos,tsl2563.yaml26 amstaos,cover-comp-gain:
27 description: Multiplier for gain compensation
47 amstaos,cover-comp-gain = <16>;
/freebsd/sys/contrib/device-tree/Bindings/iio/dac/
H A Dadi,ad3552r.yaml89 adi,gain-offset:
90 description: Gain offset used in the above formula
95 adi,gain-scaling-p-inv-log2:
96 description: GainP = 1 / ( 2 ^ adi,gain-scaling-p-inv-log2)
100 adi,gain-scaling-n-inv-log2:
101 description: GainN = 1 / ( 2 ^ adi,gain-scaling-n-inv-log2)
109 - adi,gain-offset
110 - adi,gain-scaling-p-inv-log2
111 - adi,gain-scaling-n-inv-log2
210 adi,gain-offset = <5>;
[all …]
/freebsd/sys/tools/sound/
H A Dfeeder_eq_mkfilter.awk88 function feedeq_A(gain, A)
91 A = pow(10, gain / 40.0);
93 A = sqrt(pow(10, gain / 20.0));
127 function feedeq_gen_biquad_coeffs(coeffs, rate, gain, \
131 A = feedeq_A(1.0 * gain);
157 coeffs["treble", gain, 0] = feedeq_fx_floor(a0);
158 coeffs["treble", gain, 1] = feedeq_fx_floor(a1);
159 coeffs["treble", gain, 2] = feedeq_fx_floor(a2);
160 coeffs["treble", gain, 3] = feedeq_fx_floor(b0);
161 coeffs["treble", gain, 4] = feedeq_fx_floor(b1);
[all …]
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Dti,ina2xx.yaml40 ti,shunt-gain:
42 Programmable gain divisor for the shunt voltage accuracy and range. This
44 gain value is used configure the gain and to convert the shunt voltage,
49 the gain value maps directly with the PG bits of the config register.
51 For devices that have ADCRANGE configuration (e.g. INA238) a shunt-gain
52 value of 1 maps to ADCRANGE=1 where no gain divisor is applied to the
H A Dti,tmp513.yaml39 rshunt <= pga-gain * 40 * 1000 * 1000.
43 ti,pga-gain:
45 The gain value for the PGA function. This is 8, 4, 2 or 1.
46 The PGA gain affect the shunt voltage range.
47 The range will be equal to: pga-gain * 40mV
88 ti,pga-gain = <8>;
/freebsd/sys/contrib/device-tree/Bindings/iio/afe/
H A Dcurrent-sense-amplifier.txt15 - sense-gain-mult: Amplifier gain multiplier. The default is <1>.
16 - sense-gain-div: Amplifier gain divider. The default is <1>.
25 sense-gain-mul = <50>;
H A Dcurrent-sense-amplifier.yaml30 sense-gain-mult:
32 description: Amplifier gain multiplier. The default is <1>.
34 sense-gain-div:
36 description: Amplifier gain divider. The default is <1>.
52 sense-gain-mult = <50>;
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_rfgain.c49 { { {3, 0,0,0, 0,0,0}, 6, "FG7"}, /* most fixed gain */
56 { {0, 1,0,1, 1,0,1}, -16, "FG0"}, /* least fixed gain */
61 * Initialize the gain structure to good values
69 /* initialize gain optimization values */ in ar5212InitializeGainValues()
157 * Enable the probe gain check on the next packet
165 /* Enable the gain readback probe */ in ar5212RequestRfgain()
175 * Check to see if our readback gain level sits within the linear
199 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: Max gain limit.\n", in ar5212AdjustGain()
204 "%s: Adding gain: currG=%d [%s] --> ", in ar5212AdjustGain()
219 "%s: Min gain limit.\n", __func__); in ar5212AdjustGain()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_cal_adcgain.c29 /* Adc Gain Cal aliases */
36 * Collect data from HW to later perform ADC Gain Calibration
45 * Accumulate ADC Gain cal measures for active chains in ar5416AdcGainCalCollect()
66 * Use HW data to do ADC Gain Calibration
81 "Start ADC Gain Cal for Chain %d\n", i); in ar5416AdcGainCalibration()
111 "ADC Gain Cal done for Chain %d\n", i); in ar5416AdcGainCalibration()
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/
H A Dads1015.txt18 - pga is the programmable gain amplifier (values are full scale)
64 - ti,gain : the programmable gain amplifier setting
71 ti,gain = <3>;
H A Dti,ads131e08.yaml15 built-in programmable gain amplifier (PGA), internal reference
96 ti,gain:
98 The PGA gain value for the channel.
99 If this field is left empty, PGA gain 1 is used.
158 ti,gain = <2>;
H A Dadi,ad7780.yaml15 Its interface also allows writing on the FILTER and GAIN GPIO pins on the
50 adi,gain-gpios:
52 Must be the device tree identifier of the GAIN pin. Only for
85 adi,gain-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Dcap11xx.txt24 microchip,sensor-gain: Defines the gain of the sensor circuitry. This
29 By default, a gain of 1 is set.
50 microchip,sensor-gain = <2>;
/freebsd/contrib/ntp/libntp/
H A Daudio.c220 * only), preset the gain and set the input port. It assumes that the
359 info.play.gain = AUDIO_MAX_GAIN; in audio_init()
382 int gain, /* volume level (gain) 0-255 */ in audio_gain() argument
383 int mongain, /* input to output mix (monitor gain) 0-255 */ in audio_gain()
398 r = l = 100 * gain / 255; /* Normalize to 0-100 */ in audio_gain()
401 printf("audio_gain: gain %d/%d\n", gain, l); in audio_gain()
468 info.record.gain = gain; in audio_gain()
[all...]
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dmax1586-regulator.txt6 - v3-gain: integer specifying the V3 gain as per datasheet
16 v3-gain = <1000000>;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp23 // A pair of chains giving the maximum gain is merged into a new chain. The
179 /// The gain of merging two chains, that is, the Ext-TSP score of the merge in updateIfLessThan()
199 // Update the current gain if Other is preferred over this.
425 void setMergeGain(MergeGainT Gain) { CachedGain = Gain; }
429 double gain() const { return CachedGain.score(); } in outCount()
438 // Cached gain value for merging the pair of chains. in inCount()
441 // Cached gain values for merging the pair of chains. Since the gain of in inCount()
443 // here and a flag indicating which of the options results in a higher gain
404 double gain() const { return CachedGain.score(); } gain() function
809 MergeGainT Gain = MergeGainT(); getBestMergeGain() local
[all...]
/freebsd/usr.bin/beep/
H A Dbeep.c61 static int gain = GAIN_DEF; variable
140 "\t" "-g <gain from %d to %d, default %d>\n" in usage()
183 gain = strtol(optarg, NULL, 10); in main()
184 if (gain < GAIN_MIN || in main()
185 gain > GAIN_MAX) in main()
235 /* compute base gain */ in main()
236 a = powf(65536.0f, (float)gain / (float)GAIN_MAX) / 65536.0f; in main()
/freebsd/sys/contrib/dev/rtw89/
H A Drtw8852b.c615 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; rtw8852b_efuse_parsing_gain_offset() local
806 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; rtw8852b_phycap_parsing_gain_comp() local
972 const struct rtw89_phy_bb_gain_info *gain = &rtwdev->bb_gain; rtw8852b_set_gain_error() local
1070 const struct rtw89_phy_bb_gain_info *gain = &rtwdev->bb_gain; rtw8852b_set_rxsc_rpl_comp() local
1412 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; rtw8852b_bb_sethw() local
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dmaxim,max9759.yaml24 gain-gpios:
32 - gain-gpios
43 gain-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>,
/freebsd/sys/sys/
H A Dpidctrl.h53 * Failing to measure and tune the gain parameters can result in wild
55 * tested and tuned under a wide variety of workloads before gain values are
72 int pc_Kpd; /* Proportional gain divisor. */
73 int pc_Kid; /* Integral gain divisor. */
74 int pc_Kdd; /* Derivative gain divisor. */
/freebsd/sys/contrib/device-tree/Bindings/iio/potentiostat/
H A Dlmp91000.txt14 - ti,external-tia-resistor: if the property ti,tia-gain-ohm is not defined this
19 - ti,tia-gain-ohm: ohm value of the internal resistor for the transimpedance
30 ti,tia-gain-ohm = <7500>;

12345678910>>...19