HomeSort by: relevance | last modified time | path
    Searched refs:SCALE (Results 1 - 8 of 8) sorted by relevancy

  /src/sys/dev/wscons/
tpcalib.c 56 #define SCALE (1024)
80 *x = (sc->sc_ax * rawx + sc->sc_bx * rawy) / SCALE + sc->sc_cx;
81 *y = (sc->sc_ay * rawx + sc->sc_by * rawy) / SCALE + sc->sc_cy;
109 d->samplelen, SCALE,
114 d->samplelen, SCALE,
  /src/usr.bin/time/
time.c 167 #define SCALE(x) (long)(ticks ? x / ticks : 0)
172 prl(SCALE(ru.ru_ixrss), "average shared memory size");
173 prl(SCALE(ru.ru_idrss), "average unshared data size");
174 prl(SCALE(ru.ru_isrss), "average unshared stack size");
  /src/sys/dev/ic/
arn9003.c 2317 #define SCALE (1 << 15)
2355 mag[i][j] = (m * SCALE) / p;
2356 phs[i][j] = (c * SCALE) / p;
2367 sin[i] = (sin[i] * SCALE) / div;
2368 cos[i] = (cos[i] * SCALE) / div;
2374 f2 = (f1 * f1 + f3 * f3) / SCALE;
2385 if (txmag == SCALE)
2389 rxmag = mag[0][0] - (cos[0] * txmag + sin[0] * txphs) / SCALE;
2391 rxphs = phs[0][0] + (sin[0] * txmag - cos[0] * txphs) / SCALE;
2393 if (-rxmag == SCALE)
2639 int32_t scale, atemp, avolt, tempcal, voltcal, temp, volt; local in function:ar9003_get_desired_txgain
2781 int alpha, beta, scale, Qalpha, Qbeta, Qscale, Qx, Qb1, Qb2; local in function:ar9003_compute_predistortion
    [all...]
  /src/sys/dev/acpi/
acpi_bat.c 482 #define SCALE(x) (((int)x) / 1000000), ((((int)x) % 1000000) / 1000)
506 SCALE(elm[ACPIBAT_BIF_GRANULARITY1].Integer.Value * 1000), unit,
507 SCALE(elm[ACPIBAT_BIF_GRANULARITY2].Integer.Value * 1000), unit);
  /src/games/rogue/
rogue.h 75 #define SCALE 2
  /src/sys/arch/m68k/060sp/dist/
pfpsp.s 4984 andi.l &0x3,%d1 # extract scale value
4986 lsl.l %d1,%d0 # shift index by scale
5079 rol.w &0x7,%d1 # rotate scale value into place
5080 andi.l &0x3,%d1 # extract scale value
5082 lsl.l %d1,%d0 # shift index by scale
5396 # addsub_scaler2(): scale inputs to fadd/fsub such that no #
5409 # d0 = scale amount #
5413 # equal to 0x3fff and scale the SRC exponent by the value that the #
5415 # do the opposite. Return this scale factor in d0. #
5441 # dst exp is > src exp; scale dst to exp = 0x3ff
    [all...]
fpsp.s 6857 # 2.6 Create the value Scale = 2^M. #
6931 # 6.4 Return ans := ans * Scale. Exit. #
6933 # |M| <= 16380, and Scale = 2^M. Moreover, exp(X) will #
6968 # 8.6 Create the values Scale = 2^M, AdjScale = 2^M1. #
7210 set SCALE,FP_SCR0
7284 mov.w %d1,SCALE(%a6) # SCALE is 2^(M) in extended
7285 mov.l &0x80000000,SCALE+4(%a6)
7286 clr.l SCALE+8(%a6)
7318 fmul.x SCALE(%a6),%fp0 # multiply 2^(M
    [all...]
fplsp.s 6751 # 2.6 Create the value Scale = 2^M. #
6825 # 6.4 Return ans := ans * Scale. Exit. #
6827 # |M| <= 16380, and Scale = 2^M. Moreover, exp(X) will #
6862 # 8.6 Create the values Scale = 2^M, AdjScale = 2^M1. #
7104 set SCALE,FP_SCR0
7178 mov.w %d1,SCALE(%a6) # SCALE is 2^(M) in extended
7179 mov.l &0x80000000,SCALE+4(%a6)
7180 clr.l SCALE+8(%a6)
7212 fmul.x SCALE(%a6),%fp0 # multiply 2^(M
    [all...]

Completed in 29 milliseconds