/src/usr.bin/audio/record/ |
record.c | 64 static int gain; variable in typeref:typename:int 184 decode_int(optarg, &gain); 185 if (gain < 0 || gain > 255) 247 * what the old monitor gain value is, so that we can reset it later. 280 SETINFO2 (gain, gain)
|
/src/sys/external/bsd/drm2/dist/drm/i2c/ |
ch7006_mode.c | 211 int gain; local in function:ch7006_setup_levels 217 gain = 76; 221 gain = 71; 226 black_level = round_fixed(norm->black_level*26625)/gain;
|
/src/sys/dev/isa/ |
essvar.h | 146 u_char gain[ESS_MAX_NDEVS][2]; /* kept in input levels */ member in struct:ess_softc
|
sbdspvar.h | 120 u_char gain[SB_NDEVS][2]; /* kept in input levels */ member in struct:sbdsp_softc
|
ess.c | 292 printf("gain:"); 294 printf(" %u,%u", sc->gain[i][ESS_LEFT], sc->gain[i][ESS_RIGHT]); 984 * setting the gain of the unused sources to zero. (See 995 * Set gain on each mixer device to a sensible value. 1025 sc->gain[i][ESS_LEFT] = sc->gain[i][ESS_RIGHT] = v; 1588 * single-channel gain value passed in, then we duplicate it 1617 sc->gain[cp->dev][ESS_LEFT] = lgain; 1618 sc->gain[cp->dev][ESS_RIGHT] = rgain 2239 int gain, left, right; local in function:ess_set_gain [all...] |
sbdsp.c | 273 printf("gain:"); 275 printf(" %u,%u", sc->gain[i][SB_LEFT], sc->gain[i][SB_RIGHT]); 426 sc->gain[i][SB_LEFT] = sc->gain[i][SB_RIGHT] = v; 1685 int src, gain; local in function:sbdsp_set_mixer_gain 1694 gain = SB_1335_GAIN(sc->gain[port][SB_LEFT]); 1707 gain = SB_1335_MASTER_GAIN(sc->gain[port][SB_LEFT]) [all...] |
/src/sys/dev/ic/ |
ad1848.c | 564 u_char reg, gain; local in function:ad1848_set_rec_gain 570 gain = (gp->left * (GAIN_22_5 + 1)) / (AUDIO_MAX_GAIN + 1); 573 ad_write(sc, SP_LEFT_INPUT_CONTROL, (gain & 0x0f) | reg); 575 gain = (gp->right * (GAIN_22_5 + 1)) / (AUDIO_MAX_GAIN + 1); 578 ad_write(sc, SP_RIGHT_INPUT_CONTROL, (gain & 0x0f) | reg);
|
atw.c | 1530 uint16_t gain; local in function:atw_si4126_tune 1563 /* Set the phase-locked loop gain. If RF2 N > 2047, then 1569 gain = __SHIFTIN(((mhz - 374) > 2047) ? 1 : 0, SI4126_GAIN_KP2_MASK); 1571 atw_si4126_write(sc, SI4126_GAIN, gain);
|
arn9003.c | 2509 * 3) Force Tx gain to that of training signal 2610 /* Save Tx gain table. */ 2666 /* Compute desired Tx gain. */ 2705 int gain; local in function:ar9003_set_training_gain 2708 * Get desired gain for training signal power (take into account 2711 gain = ar9003_get_desired_txgain(sc, chain, sc->sc_trainpow); 2714 if ((int)MS(sc->sc_txgain[i], AR_PHY_TXGAIN_INDEX) >= gain) 2743 /* Set gain of training signal. */ 2824 sc->sc_gain1[chain] = G; /* Save low signal gain. */ 3103 /* Make sure forced gain is disabled. * [all...] |
/src/sys/compat/sunos/ |
sunos.h | 132 u_int gain; member in struct:sunos_audio_prinfo
|
/src/sys/dev/pci/ |
yds.c | 1349 const u_int gain = 0x40000000; local in function:yds_trigger_output 1413 psb->eggainend = htole32(gain); 1417 psb->eggain = htole32(gain); 1429 psb->lchgain = psb->lchgainend = htole32(gain); 1432 psb->rchgain = psb->rchgainend = htole32(gain); 1437 psb->lchgain = psb->rchgain = htole32(gain); 1438 psb->lchgainend = psb->rchgainend = htole32(gain);
|
if_iwn.c | 1732 aprint_normal("chain %d, sample %d: temp=%d gain=%d " 1735 chans[0].samples[c][j].gain, 1743 aprint_normal("chain %d, sample %d: temp=%d gain=%d " 1746 chans[1].samples[c][j].gain, 2430 * XXX Differential gain calibration makes the 6005 firmware 3779 uint8_t power, gain, temp; local in function:iwn4965_set_txpower 3785 gain = interpolate(chan, 3786 chans[0].num, chans[0].samples[c][1].gain, 3787 chans[1].num, chans[1].samples[c][1].gain, 1); 3791 DPRINTF(("TX chain %d: power=%d gain=%d temp=%d\n" [all...] |
if_iwnreg.h | 1113 int8_t gain[3]; member in struct:iwn_phy_calib_gain 1626 uint8_t gain; member in struct:iwn4965_eeprom_chan_samples::__anond6af6dc40908 1712 * RF Tx gain values from highest to lowest power (values obtained from 1742 * DSP pre-DAC gain values from highest to lowest power (values obtained
|
/src/sys/ufs/lfs/ |
lfs_vfsops.c | 2475 int sbbytes, csbbytes, gain, cgain; local in function:lfs_resize_fs 2615 gain = (newnsegs - oldnsegs); 2618 lfs_sb_addsize(fs, gain * lfs_btofsb(fs, lfs_sb_getssize(fs))); 2619 lfs_sb_adddsize(fs, gain * lfs_btofsb(fs, lfs_sb_getssize(fs)) - lfs_btofsb(fs, sbbytes)); 2620 lfs_sb_addbfree(fs, gain * lfs_btofsb(fs, lfs_sb_getssize(fs)) - lfs_btofsb(fs, sbbytes) 2621 - gain * lfs_btofsb(fs, lfs_sb_getbsize(fs) / 2)); 2622 if (gain > 0) { 2623 lfs_sb_addnclean(fs, gain); 2624 lfs_sb_addavail(fs, gain * lfs_btofsb(fs, lfs_sb_getssize(fs)));
|
/src/sys/sys/ |
audioio.h | 55 u_int gain; /* volume level */ member in struct:audio_prinfo
|
/src/sys/dev/audio/ |
audio.c | 5645 /* If there are multiple tracks, do auto gain control */ 5715 * Do auto gain control. 7147 * ai.{play,record}.gain (R/W) 7149 * It is historical reason that the gain is connected to HW mixer. 7160 * It specifies the recording monitor gain(?) of HW mixer. 7297 if (SPECIFIED(ai->play.gain)) 7298 SPRINTF(buf, ",play.gain=%d", ai->play.gain); 7299 if (SPECIFIED(ai->record.gain)) 7300 SPRINTF(buf, ",record.gain=%d", ai->record.gain) 7809 int gain; local in function:audiogetinfo 9144 u_int gain; local in function:audio_volume_down 9175 u_int gain, newgain; local in function:audio_volume_up 9200 u_int gain, newgain; local in function:audio_volume_toggle [all...] |
/src/tests/dev/audio/ |
audiotest.c | 1540 /* gain */ 1558 /* gain */ 1628 /* gain */ 1646 /* gain */ 5503 * Check whether gain can be obtained/set. 5504 * And the gain should work with rich mixer. 5514 int gain; local in function:DEF 5551 /* Check ai.play.gain */ 5554 XP_EQ(master, ai.play.gain); 5559 gain = 255 [all...] |