| /src/usr.bin/audio/record/ |
| record.c | 64 static int gain; variable 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 217 gain = 76; 221 gain = 71; 226 black_level = round_fixed(norm->black_level*26625)/gain;
|
| /src/external/gpl3/gcc/dist/gcc/config/i386/ |
| i386-features.cc | 532 /* Compute a gain for chain conversion. */ 539 int gain = 0; local 543 fprintf (dump_file, "Computing gain for chain #%d...\n", chain_id); 588 /* Gain for extend highpart case. */ 628 /* Additional gain for andnot for targets without BMI. */ 760 fprintf (dump_file, " Instruction gain %d for ", igain); 763 gain += igain; 767 fprintf (dump_file, " Instruction conversion gain: %d\n", gain); 801 gain -= cost [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/config/i386/ |
| i386-features.cc | 512 /* Compute a gain for chain conversion. */ 519 int gain = 0; local 523 fprintf (dump_file, "Computing gain for chain #%d...\n", chain_id); 573 /* Additional gain for andnot for targets without BMI. */ 655 fprintf (dump_file, " Instruction gain %d for ", igain); 658 gain += igain; 662 fprintf (dump_file, " Instruction conversion gain: %d\n", gain); 674 gain -= cost; 677 fprintf (dump_file, " Total gain: %d\n", gain) [all...] |
| /src/sys/dev/ic/ |
| ad1848.c | 564 u_char reg, gain; local 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);
|
| 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 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...] |
| atw.c | 1530 uint16_t gain; local 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);
|
| /src/sys/dev/isa/ |
| essvar.h | 146 u_char gain[ESS_MAX_NDEVS][2]; /* kept in input levels */ member in struct:ess_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 [all...] |
| sbdspvar.h | 120 u_char gain[SB_NDEVS][2]; /* kept in input levels */ member in struct:sbdsp_softc
|
| 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 1694 gain = SB_1335_GAIN(sc->gain[port][SB_LEFT]); 1707 gain = SB_1335_MASTER_GAIN(sc->gain[port][SB_LEFT]) [all...] |
| /src/external/gpl3/gcc/dist/gcc/ |
| fwprop.cc | 143 int gain; local 148 gain = address_cost (XEXP (mem, 0), GET_MODE (mem), 151 gain -= address_cost (XEXP (mem, 0), GET_MODE (mem), 158 if (gain == 0) 160 gain = set_src_cost (XEXP (mem, 0), VOIDmode, speed); 162 gain -= set_src_cost (XEXP (mem, 0), VOIDmode, speed); 166 return (gain > 0);
|
| loop-invariant.cc | 996 gain much in practice. */ 1455 /* Calculates gain for eliminating invariant INV. REGS_USED is the number 1537 /* Finds invariant with best gain for moving. Returns the gain, stores 1549 int i, gain = 0, again; local 1563 if (again > gain) 1565 gain = again; 1578 return gain; 1584 set_move_mark (unsigned invno, int gain) 1598 if (gain >= 0 1617 int gain; local [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| fwprop.cc | 143 int gain; local 148 gain = address_cost (XEXP (mem, 0), GET_MODE (mem), 151 gain -= address_cost (XEXP (mem, 0), GET_MODE (mem), 158 if (gain == 0) 160 gain = set_src_cost (XEXP (mem, 0), VOIDmode, speed); 162 gain -= set_src_cost (XEXP (mem, 0), VOIDmode, speed); 166 return (gain > 0);
|
| loop-invariant.cc | 996 gain much in practice. */ 1455 /* Calculates gain for eliminating invariant INV. REGS_USED is the number 1537 /* Finds invariant with best gain for moving. Returns the gain, stores 1549 int i, gain = 0, again; local 1563 if (again > gain) 1565 gain = again; 1578 return gain; 1584 set_move_mark (unsigned invno, int gain) 1598 if (gain >= 0 1617 int gain; local [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 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 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...] |
| /src/sys/ufs/lfs/ |
| lfs_vfsops.c | 2528 int sbbytes, csbbytes, gain, cgain; local 2691 gain = (newnsegs - oldnsegs); 2694 lfs_sb_addsize(fs, gain * lfs_btofsb(fs, lfs_sb_getssize(fs))); 2695 lfs_sb_adddsize(fs, gain * lfs_btofsb(fs, lfs_sb_getssize(fs)) 2697 lfs_sb_addbfree(fs, gain * lfs_btofsb(fs, lfs_sb_getssize(fs)) 2700 - gain * lfs_btofsb(fs, lfs_sb_getbsize(fs) / 2) 2704 if (gain > 0) { 2705 lfs_sb_addnclean(fs, gain); 2706 lfs_sb_addavail(fs, gain * lfs_btofsb(fs, lfs_sb_getssize(fs)));
|
| /src/external/bsd/ntp/dist/ntpd/ |
| refclock_chu.c | 151 * the audio driver is compiled, the current gain (0-255) and relative 153 * should be set so that the gain is somewhere near the middle of the 170 * agc audio gain (0 - 255) 186 * monitoring of the input signal. For this purpose, the monitor gain is 235 #define AGAIN 6. /* baseband gain */ 360 int gain; /* codec gain (modem only) */ member in struct:chuunit 377 int mongain; /* codec monitor gain */ 546 up->gain = 127; 683 * increase the gain a tad; if the clips are too high, [all...] |
| refclock_irig.c | 67 * An automatic gain control feature provides protection against 92 * these fields are the carrier amplitude (0-3000), codec gain (0-255), 141 * the monitor gain is set t a default value. Fudgetime2 is used as a 232 int gain; /* codec gain */ member in struct:irigunit 233 int mongain; /* codec monitor gain */ 359 up->gain = 127; 466 * Once each second, determine the IRIG format and gain. 484 * Set the input port and monitor gain for the next buffer. 951 up->maxsignal, up->gain, up->modndx [all...] |
| refclock_wwv.c | 73 * the monitor gain is set to a default value. 116 #define DGAIN 5. /* subcarrier gain */ 505 int gain; /* audio gain */ member in struct:chan 530 int gain; /* codec gain */ member in struct:wwvunit 531 int mongain; /* codec monitor gain */ 854 * Set the input port and monitor gain for the next buffer. 1242 * not in minute sync, fiddle the codec gain. Note the SNR is 1358 up->status, up->gain, sp->refid [all...] |
| /src/sys/sys/ |
| audioio.h | 55 u_int gain; /* volume level */ member in struct:audio_prinfo
|
| /src/sys/dev/audio/ |
| audio.c | 5644 /* If there are multiple tracks, do auto gain control */ 5714 * Do auto gain control. 7146 * ai.{play,record}.gain (R/W) 7148 * It is historical reason that the gain is connected to HW mixer. 7159 * It specifies the recording monitor gain(?) of HW mixer. 7296 if (SPECIFIED(ai->play.gain)) 7297 SPRINTF(buf, ",play.gain=%d", ai->play.gain); 7298 if (SPECIFIED(ai->record.gain)) 7299 SPRINTF(buf, ",record.gain=%d", ai->record.gain) 7808 int gain; local 9143 u_int gain; local 9174 u_int gain, newgain; local 9199 u_int gain, newgain; local [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 5551 /* Check ai.play.gain */ 5554 XP_EQ(master, ai.play.gain); 5559 gain = 255 [all...] |