Home
last modified time | relevance | path

Searched refs:gain (Results 1 – 25 of 62) sorted by relevance

123

/freebsd-9-stable/sys/tools/sound/
Dfeeder_eq_mkfilter.awk87 function feedeq_A(gain, A)
90 A = pow(10, gain / 40.0);
92 A = sqrt(pow(10, gain / 20.0));
126 function feedeq_gen_biquad_coeffs(coeffs, rate, gain, \
130 A = feedeq_A(1.0 * gain);
156 coeffs["treble", gain, 0] = feedeq_fx_floor(a0);
157 coeffs["treble", gain, 1] = feedeq_fx_floor(a1);
158 coeffs["treble", gain, 2] = feedeq_fx_floor(a2);
159 coeffs["treble", gain, 3] = feedeq_fx_floor(b0);
160 coeffs["treble", gain, 4] = feedeq_fx_floor(b1);
[all …]
/freebsd-9-stable/contrib/ntp/libntp/
Daudio.c345 info.play.gain = AUDIO_MAX_GAIN; in audio_init()
368 int gain, /* volume level (gain) 0-255 */ in audio_gain() argument
384 r = l = 100 * gain / 255; /* Normalize to 0-100 */ in audio_gain()
387 printf("audio_gain: gain %d/%d\n", gain, l); in audio_gain()
454 info.record.gain = gain; in audio_gain()
497 info.record.gain, info.monitor_gain, info.record.port); in audio_show()
/freebsd-9-stable/contrib/ntp/ntpd/
Drefclock_wwv.c503 int gain; /* audio gain */ member
528 int gain; /* codec gain */ member
1356 up->status, up->gain, sp->refid, in wwv_qrz()
1483 up->status, up->gain, tepoch, up->epomax, in wwv_endpoc()
1861 up->status, up->gain, up->yepoch, in wwv_rsec()
1991 up->mitig[up->achan].gain = up->gain; in wwv_rsec()
1994 up->mitig[up->achan].gain = up->gain; in wwv_rsec()
2026 nsec, up->status, up->gain, up->yepoch, up->epomax, in wwv_rsec()
2195 up->rsec - 1, up->status, up->gain, up->yepoch, in wwv_corr4()
2510 up->gain = MAXGAIN / 2; in wwv_newgame()
[all …]
Drefclock_irig.c230 int gain; /* codec gain */ member
357 up->gain = 127; in irig_start()
949 up->maxsignal, up->gain, up->modndx, in irig_decode()
1029 up->gain += 4; in irig_gain()
1030 if (up->gain > MAXGAIN) in irig_gain()
1031 up->gain = MAXGAIN; in irig_gain()
1033 up->gain -= 4; in irig_gain()
1034 if (up->gain < 0) in irig_gain()
1035 up->gain = 0; in irig_gain()
1037 audio_gain(up->gain, up->mongain, up->port); in irig_gain()
Drefclock_chu.c358 int gain; /* codec gain (modem only) */ member
544 up->gain = 127; in chu_start()
1383 pp->second, leapchar, up->dst, up->dut, minset, up->gain, in chu_second()
1663 up->gain += 4; in chu_gain()
1664 if (up->gain > MAXGAIN) in chu_gain()
1665 up->gain = MAXGAIN; in chu_gain()
1667 up->gain -= 4; in chu_gain()
1668 if (up->gain < 0) in chu_gain()
1669 up->gain = 0; in chu_gain()
1671 audio_gain(up->gain, up->mongain, up->port); in chu_gain()
/freebsd-9-stable/contrib/gcc/
Drtl-factoring.c195 int gain; member
402 pseq->gain = 0; /* Set to zero to force recomputing. */ in match_seqs()
594 pseq->gain = -(seq_call_cost - seq_jump_cost + seq_return_cost); in recompute_gain_for_pattern_seq()
643 pseq->gain = -1; in recompute_gain_for_pattern_seq()
657 pseq->gain += mseq->cost - seq_call_cost; in recompute_gain_for_pattern_seq()
661 if (pseq->gain <= 0) in recompute_gain_for_pattern_seq()
712 pseq->gain = 0; in recompute_gain_for_pattern_seq()
743 if ((*pseq)->gain <= 0) in recompute_gain()
746 if ((*pseq)->gain > 0) in recompute_gain()
748 if ((*pseq)->gain > maxgain) in recompute_gain()
[all …]
Dloop-invariant.c1019 int gain = 0, again; in best_gain_for_invariant() local
1033 if (again > gain) in best_gain_for_invariant()
1035 gain = again; in best_gain_for_invariant()
1041 return gain; in best_gain_for_invariant()
/freebsd-9-stable/sys/dev/sound/pcm/
Dfeeder_eq.c114 int gain; member
170 treble = &(info->coeff[info->treble.gain].treble); \
171 bass = &(info->coeff[info->bass.gain].bass); \
366 info->treble.gain = FEEDEQ_L2GAIN(50); in feed_eq_init()
367 info->bass.gain = FEEDEQ_L2GAIN(50); in feed_eq_init()
406 info->treble.gain = FEEDEQ_L2GAIN(value); in feed_eq_set()
408 info->bass.gain = FEEDEQ_L2GAIN(value); in feed_eq_set()
/freebsd-9-stable/tools/tools/ath/athprom/
Deeprom-1442 | xlna gain Chain 0 $xlnaGainCh0 |
43 | xlna gain Chain 1 $xlnaGainCh1 |
44 | xlna gain Chain 2 $xlnaGainCh2 |
Deeprom-543 | maxpow | gain | [Vpd] | [Vpd] | [Vpd] | [Vpd] | [Vpd] |
128 | maxpow | gain | [Vpd] | [Vpd] | [Vpd] | [Vpd] | [Vpd] |
206 | maxpow | gain | [Vpd] | [Vpd] | [Vpd] | [Vpd] | [Vpd] |
/freebsd-9-stable/sys/dev/siba/
Dsiba_core.c1504 int8_t gain; in siba_sprom_r123() local
1562 gain = siba_sprom_r123_antgain(out->rev, in, SIBA_SPROM1_AGAIN_BG, 0); in siba_sprom_r123()
1563 out->again.ghz24.a0 = out->again.ghz24.a1 = gain; in siba_sprom_r123()
1564 out->again.ghz24.a2 = out->again.ghz24.a3 = gain; in siba_sprom_r123()
1565 gain = siba_sprom_r123_antgain(out->rev, in, SIBA_SPROM1_AGAIN_A, 8); in siba_sprom_r123()
1566 out->again.ghz5.a0 = out->again.ghz5.a1 = gain; in siba_sprom_r123()
1567 out->again.ghz5.a2 = out->again.ghz5.a3 = gain; in siba_sprom_r123()
1698 uint8_t gain; in siba_sprom_r123_antgain() local
1701 gain = (v & mask) >> shift; in siba_sprom_r123_antgain()
1702 gain = (gain == 0xff) ? 2 : (sprom_revision == 1) ? gain << 2 : in siba_sprom_r123_antgain()
[all …]
/freebsd-9-stable/sys/i386/include/
Dpcaudioio.h42 unsigned gain; /* volume level: 0 - 255 */ member
/freebsd-9-stable/sys/dev/ath/ath_hal/ar5210/
Dar5k_0007.ini56 /* bb gain table */
122 /* rf gain table */
/freebsd-9-stable/contrib/ntp/util/
Dtg.c336 info.play.gain = level; in main()
342 info.play.port, info.play.gain, info.play.sample_rate, in main()
Dtg2.c1039 info.play.gain = level;
1045 info.play.port, info.play.gain, info.play.sample_rate,
/freebsd-9-stable/sys/dev/sound/pci/
Dvibes.c481 sv_channel_gain(struct sc_info *sc, u_int32_t dev, u_int32_t gain, u_int32_t channel) in sv_channel_gain() argument
486 g = mt[dev].max * gain / 100; in sv_channel_gain()
493 if (gain == 0) { in sv_channel_gain()
/freebsd-9-stable/sys/dev/iwn/
Dif_iwn.c1719 chans[0].samples[c][j].gain, in iwn4965_print_power_group()
1730 chans[1].samples[c][j].gain, in iwn4965_print_power_group()
4323 uint8_t power, gain, temp; in iwn4965_set_txpower() local
4329 gain = interpolate(chan, in iwn4965_set_txpower()
4330 chans[0].num, chans[0].samples[c][1].gain, in iwn4965_set_txpower()
4331 chans[1].num, chans[1].samples[c][1].gain, 1); in iwn4965_set_txpower()
4337 __func__, c, power, gain, temp); in iwn4965_set_txpower()
4367 idx = gain - (pwr - power) - tdiff - vdiff; in iwn4965_set_txpower()
4673 cmd.gain[i] = MIN(abs(delta), 3); in iwn4965_set_gains()
4675 cmd.gain[i] |= 1 << 2; /* sign bit */ in iwn4965_set_gains()
[all …]
Dif_iwnreg.h1005 int8_t gain[3]; member
1469 uint8_t gain; member
/freebsd-9-stable/share/examples/ipfilter/
Dfirewall.264 # hypothetical machine caled 'gatekeeper' that can be used to gain
/freebsd-9-stable/sys/dev/usb/wlan/
Dif_urtw.c2674 urtw_8225_setgain(struct urtw_softc *sc, int16_t gain) in urtw_8225_setgain() argument
2678 urtw_8187_write_phy_ofdm(sc, 0x0d, urtw_8225_gain[gain * 4]); in urtw_8225_setgain()
2679 urtw_8187_write_phy_ofdm(sc, 0x1b, urtw_8225_gain[gain * 4 + 2]); in urtw_8225_setgain()
2680 urtw_8187_write_phy_ofdm(sc, 0x1d, urtw_8225_gain[gain * 4 + 3]); in urtw_8225_setgain()
2681 urtw_8187_write_phy_ofdm(sc, 0x23, urtw_8225_gain[gain * 4 + 1]); in urtw_8225_setgain()
3178 urtw_8225v2_setgain(struct urtw_softc *sc, int16_t gain) in urtw_8225v2_setgain() argument
3185 urtw_8187_write_phy_ofdm(sc, 0x0d, gainp[gain * 3]); in urtw_8225v2_setgain()
3187 urtw_8187_write_phy_ofdm(sc, 0x1b, gainp[gain * 3 + 1]); in urtw_8225v2_setgain()
3189 urtw_8187_write_phy_ofdm(sc, 0x1d, gainp[gain * 3 + 2]); in urtw_8225v2_setgain()
/freebsd-9-stable/sys/dev/lmc/
Dif_lmc.c1714 u_int8_t pulse, lbo, gain; in t1_config() local
1806 if ((gain = sc->config.rx_gain) == CFG_GAIN_AUTO) in t1_config()
1809 gain = CFG_GAIN_EXTEND; in t1_config()
1811 gain = CFG_GAIN_LONG; in t1_config()
1813 gain = CFG_GAIN_MEDIUM; in t1_config()
1815 gain = CFG_GAIN_SHORT; in t1_config()
1819 write_framer(sc, Bt8370_VGA_MAX, gain); in t1_config()
1822 if (gain == CFG_GAIN_EXTEND) in t1_config()
/freebsd-9-stable/usr.bin/compress/doc/
DNOTES55 thanks you for any uncertainty as they, at least, stand to gain
/freebsd-9-stable/sys/geom/sched/
DREADME119 gain a few extra percent in performance, to improve fairness,
/freebsd-9-stable/contrib/wpa/wpa_supplicant/
DREADME-WPS25 allowing outsiders to gain access during the setup phase.
/freebsd-9-stable/contrib/opie/
DINSTALL99 option is enabled, many commands gain a '-f' option to force them to

123