Searched refs:SCALE (Results 1 - 13 of 13) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Daci.c248 vol = SCALE(100, 0x20, vol);
251 ret = SCALE(0x20, 100, vol);
258 vol = SCALE(100, 0x20, vol);
261 ret |= SCALE(0x20, 100, vol) << 8;
277 vol = SCALE(0x20, 100, buf < 0x20 ? 0x20-buf : 0);
282 vol |= SCALE(0x20, 100, buf < 0x20 ? 0x20-buf : 0) << 8;
306 ret=SCALE(49, 0x7e, vol)+1;
308 ret=0xff - SCALE(50, 0x7f, vol);
315 return SCALE(0x7f, 50, vol) + 50;
317 return SCALE(
[all...]
H A Daci.h39 * The following macro SCALE can be used to scale one integer volume
42 * the range 0 <= SCALE(xmax,ymax,x) <= ymax.
47 * - SCALE(xmax,ymax,xmax) = ymax
48 * - SCALE(xmax,ymax,0) = 0
49 * - SCALE(xmax,ymax,SCALE(ymax,xmax,SCALE(xmax,ymax,x))) = SCALE(xmax,ymax,x)
55 #define SCALE(xmax,ymax,x) (((x)*(ymax)+(xmax)/2)/(xmax)) macro
H A Dvidc.c106 #define SCALE(lev,master) ((lev) * (master) * 65536 / 10000) macro
117 vidc_audio_volume_l = SCALE(lev_l, mlev_l);
118 vidc_audio_volume_r = SCALE(lev_r, mlev_r);
122 #undef SCALE macro
H A Dwaveartist.c926 #define SCALE(lev,max) ((lev) * (max) / 100) macro
936 lev_left = SCALE(lev_left, mix->max) << mix->shift;
937 lev_right = SCALE(lev_right, mix->max) << mix->shift;
956 SCALE(lev_left, 32767),
957 SCALE(lev_right, 32767));
962 SCALE(lev_left, 32767),
963 SCALE(lev_right, 32767));
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/radio/
H A Dmiropcm20-radio.c119 if ((*signal=SCALE(15, 0xffff, buf))==0)
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/fpsp040/
H A Dbindec.S52 | A7. Calculate SCALE.
53 | SCALE is equal to 10^ISCALE, where ISCALE is the number
329 | A7. Calculate SCALE.
330 | SCALE is equal to 10^ISCALE, where ISCALE is the number
335 | Coonen, p. 7.23 as ref.; however, the SCALE variable is
475 | fp0: float(ILOG)/X adjusted for SCALE (Y)
488 fdivx %fp1,%fp0 |calculate X / SCALE -> Y to fp0
517 fmulx %fp1,%fp0 |calculate X * SCALE -> Y to fp0
H A Dsetox.S439 .set SCALE,FP_SCR1
532 movew %d0,SCALE(%a6) | ...SCALE is 2^(M) in extended
533 clrw SCALE+2(%a6)
534 movel #0x80000000,SCALE+4(%a6)
535 clrl SCALE+8(%a6)
568 fmulx SCALE(%a6),%fp0 | ...multiply 2^(M)
H A Dscale.S28 |SCALE idnt 2,1 | Motorola 040 Floating Point Software Package
/asus-wl-520gu-7.0.1.45/src/router/samba/source/include/
H A Dnt_printing.h30 #define SCALE 0x00000010L macro
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/ifpsp060/src/
H A Dpfpsp.S5458 mov.l (%sp)+,%d0 # return SCALE factor
5465 mov.l (%sp)+,%d0 # return SCALE factor
5494 mov.l (%sp)+,%d0 # return SCALE factor
5501 mov.l (%sp)+,%d0 # return SCALE factor
8854 neg.l (%sp) # SCALE FACTOR = scale1 - scale2
13465 # A7. Calculate SCALE. #
13466 # SCALE is equal to 10^ISCALE, where ISCALE is the number #
13735 # A7. Calculate SCALE.
13736 # SCALE is equal to 10^ISCALE, where ISCALE is the number
13741 # Coonen, p. 7.23 as ref.; however, the SCALE variabl
[all...]
H A Dfpsp.S7201 set SCALE,FP_SCR0
7275 mov.w %d1,SCALE(%a6) # SCALE is 2^(M) in extended
7276 mov.l &0x80000000,SCALE+4(%a6)
7277 clr.l SCALE+8(%a6)
7309 fmul.x SCALE(%a6),%fp0 # multiply 2^(M)
12423 neg.l (%sp) # SCALE FACTOR = scale1 - scale2
15912 mov.l (%sp)+,%d0 # return SCALE factor
15919 mov.l (%sp)+,%d0 # return SCALE factor
15948 mov.l (%sp)+,%d0 # return SCALE facto
[all...]
H A Dfplsp.S7095 set SCALE,FP_SCR0
7169 mov.w %d1,SCALE(%a6) # SCALE is 2^(M) in extended
7170 mov.l &0x80000000,SCALE+4(%a6)
7171 clr.l SCALE+8(%a6)
7203 fmul.x SCALE(%a6),%fp0 # multiply 2^(M)
/asus-wl-520gu-7.0.1.45/src/router/samba/source/printing/
H A Dnt_printing.c2149 DEFAULTSOURCE | COPIES | SCALE |

Completed in 378 milliseconds