Searched refs:scale (Results 1 - 25 of 37) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Dac97_codec.c219 /* table to scale scale from OSS mixer value to AC97 mixer register value */
222 int scale; member in struct:ac97_mixer_hw
279 int scale; local
294 right = (right * 100) / mh->scale;
295 left = (left * 100) / mh->scale;
299 scale = (1 << codec->bit_resolution);
301 scale = mh->scale;
303 right = 100 - ((right * 100) / scale);
340 int scale; local
[all...]
H A Dsound_timer.c37 unsigned long scale; local
40 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */
41 return (tmp + (scale / 2)) / scale;
H A Dsys_timer.c42 unsigned long scale; local
47 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */
48 return (tmp + scale / 2) / scale;
H A Dmaestro.c624 int scale; member in struct:ac97_mixer_hw
662 right = (right * 100) / mh->scale;
663 left = (left * 100) / mh->scale;
665 right = 100 - ((right * 100) / mh->scale);
666 left = 100 - ((left * 100) / mh->scale);
671 ret = 100 - ((((val & 0x1e)>>1) * 100) / mh->scale);
673 ret = 100 - (((val & 0x1f) * 100) / mh->scale);
677 ret = 100 - ((((val >> 8) & 0xe) * 100) / mh->scale);
679 ret = 100 - (((val & 0xe) * 100) / mh->scale);
692 /* linear scale
[all...]
H A Dopl3sa2.c246 static unsigned char scale[101] = { local
261 vol = scale[left];
269 vol = scale[right];
/asus-wl-520gu-7.0.1.45/src/router/iproute2/lib/
H A Ddnet_ntop.c18 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len, int *started) argument
20 u_int16_t tmp = *addr / scale;
25 if (((tmp) > 0) || *started || (scale == 1)) {
29 *addr -= (tmp * scale);
H A Dipx_ntop.c7 static __inline__ int do_digit(char *str, u_int32_t addr, u_int32_t scale, size_t *pos, size_t len) argument
9 u_int32_t tmp = addr >> (scale * 4);
/asus-wl-520gu-7.0.1.45/src/router/LPRng/PrintingCookbook/source/images/
H A Dfiximages31 scale(){
32 # echo "scale $1 $2 $3"
39 if [ $w -gt $hwmax ] ; then s=`expr "$hwmax" "*" "100" "/" "$w"`; echo "$1 width scale $s"; fi
40 if [ $h -gt $hmax ] ; then t=`expr "$hmax" "*" "100" "/" "$h"`; echo "$1 height scale $t"; fi
42 echo "HTML $1 scale by $s";
47 if [ $w -gt $pwmax ] ; then s=`expr "$pwmax" "*" "100" "/" "$w"`; echo "$1 width scale $s"; fi
48 if [ $h -gt $hmax ] ; then t=`expr "$hmax" "*" "100" "/" "$h"`; echo "$1 height scale $t"; fi
50 echo "EPS $1 scale by $s";
57 *.png ) echo $i; scale `identify -format "%f %w %h" $i` ;;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/fpsp040/
H A DMakefile18 smovecr.o srem_mod.o scale.o \
H A Dscale.S2 | scale.sa 3.3 7/30/91
15 | Output: The function returns scale(X,Y) to fp0.
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/math-emu/
H A Dfp_arith.c656 int scale, oldround; local
683 scale = fp_conv_ext2long(src);
687 scale += dest->exp;
689 if (scale >= 0x7fff) {
691 } else if (scale <= 0) {
693 fp_denormalize(dest, -scale);
695 dest->exp = scale;
H A Dfp_decode.h157 move.w %d2,%d1 | scale factor
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Ddaynaport.c110 static int test_8390(volatile char *ptr, int scale)
117 if(hwreg_present(&ptr[0x0D<<scale])==0)
119 if(hwreg_present(&ptr[0x0D<<scale])==0)
122 regd=ptr[0x0D<<scale];
123 ptr[0x0D<<scale]=0xFF;
125 v=ptr[0x0D<<scale];
126 if(ptr[0x0D<<scale]!=0)
128 ptr[0x0D<<scale]=regd;
131 /* printk("NS8390 found at %p scaled %d\n", ptr,scale);*/
109 test_8390(volatile char *ptr, int scale) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/emu10k1/
H A Defxmgr.c170 void emu10k1_set_volume_gpr(struct emu10k1_card *card, int addr, s32 vol, int scale) argument
185 vol = (100 - vol ) * scale / 100;
188 vol = (vol >= scale) ? 0 : (log2lin[vol & 3] >> (vol >> 2));
H A Dmixer.c580 int scale; local
604 scale = 1 << card->ac97.bit_resolution;
606 scale = volume_params[oss_mixer];
608 emu10k1_set_volume_gpr(card, card->mgr.ctrl_gpr[oss_mixer][0], left, scale);
609 emu10k1_set_volume_gpr(card, card->mgr.ctrl_gpr[oss_mixer][1], right, scale);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/pcmcia/
H A Dcistpl.c627 u_char scale; local
657 scale = *p & 7;
658 if (scale == 7) return CS_BAD_TUPLE;
659 device->dev[i].size = ((*p >> 3) + 1) * (512 << (scale*2));
867 u_int scale; local
877 scale = POWER_SCALE(*p);
881 pwr->param[i] += (*p & 0x7f) * scale / 100;
901 u_char scale; local
904 scale = *p;
905 if ((scale
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/skfp/
H A Dsmtparse.c364 static u_long parse_num(type,value,v,mn,mx,scale)
370 int scale ;
403 if (scale == 10) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sbus/char/
H A Denvctrl.c108 * through a data table and a scale.
115 #define ENVCTRL_TRANSLATE_SCALE 4 /* table[data]/scale */
150 unsigned int scale; member in struct:pcf8584_tblprop
346 int scale, char *tbl, char *bufdata)
364 /* Decode this way: data = table[data]/scale */
365 sprintf(bufdata,"%d ", (tbl[data] * 10) / (scale));
408 pchild->tblprop_array[i].scale,
439 pchild->tblprop_array[i].scale,
345 envctrl_i2c_data_translate(unsigned char data, int translate_type, int scale, char *tbl, char *bufdata) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/i386/math-emu/
H A Dfpu_trig.c1676 long scale; local
1707 scale = signnegative(st1_ptr) ? -tmp.sigl : tmp.sigl;
1708 scale += exponent16(st0_ptr);
1710 setexponent16(st0_ptr, scale);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/ifpsp060/src/
H A Dpfpsp.S4974 andi.l &0x3,%d1 # extract scale value
4976 lsl.l %d1,%d0 # shift index by scale
5069 rol.w &0x7,%d1 # rotate scale value into place
5070 andi.l &0x3,%d1 # extract scale value
5072 lsl.l %d1,%d0 # shift index by scale
5386 # addsub_scaler2(): scale inputs to fadd/fsub such that no #
5399 # d0 = scale amount #
5403 # equal to 0x3fff and scale the SRC exponent by the value that the #
5405 # do the opposite. Return this scale factor in d0. #
5431 # dst exp is > src exp; scale ds
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/include/
H A Dnt_printing.h273 uint16 scale; member in struct:ntdevicemode
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/message/fusion/
H A Dmptscsih.c1173 int scale; local
1281 scale = this->req_sz/(sizeof(dma_addr_t) + sizeof(u32));
1283 numSGE = (scale - 1) * (this->facts.MaxChainDepth-1) + scale +
1286 numSGE = 1 + (scale - 1) * (this->facts.MaxChainDepth-1) + scale +
1545 int scale; local
1554 scale = MPT_SG_REQ_64_SCALE;
1556 scale = MPT_SG_REQ_96_SCALE;
1558 scale
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dtmscsim.c2393 static int dc390_search (char **p1, char **p2, char *var, char* txt, int max, int scale, char* ign) argument
2403 { *var = (dum * 100) / scale; }
2418 #define SEARCH2(p1, p2, var, txt, max, scale) \
2419 if (dc390_search (&p1, &p2, &var, txt, max, scale, "")) goto einv2; \
2422 #define SEARCH3(p1, p2, var, txt, max, scale, ign) \
2423 if (dc390_search (&p1, &p2, &var, txt, max, scale, ign)) goto einv2; \
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/lib/
H A Dudiv.S48 ! Ready to divide. Compute size of quotient; scale comparand.
H A Durem.S46 ! Ready to divide. Compute size of quotient; scale comparand.

Completed in 182 milliseconds

12