Searched refs:ratio (Results 1 - 25 of 50) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-iop13xx/
H A Dtime.h52 unsigned long ratio = __raw_readl(IOP13XX_PROCESSOR_FREQ); local
53 ratio &= IOP13XX_XSI_FREQ_RATIO_MASK;
54 switch (ratio) {
62 printk("%s: warning unknown ratio, defaulting to 2\n",
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/frontends/
H A Dbsbe1.h71 static int alps_bsbe1_set_symbol_rate(struct dvb_frontend* fe, u32 srate, u32 ratio) argument
85 stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff);
86 stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff);
87 stv0299_writereg(fe, 0x21, (ratio ) & 0xf0);
H A Dbsru6.h70 static int alps_bsru6_set_symbol_rate(struct dvb_frontend *fe, u32 srate, u32 ratio) argument
97 stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff);
98 stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff);
99 stv0299_writereg(fe, 0x21, ratio & 0xf0);
H A Dves1x93.c176 u32 ratio; local
195 ratio = tmp / FIN;
198 ratio = (ratio << 8) + tmp / FIN;
201 ratio = (ratio << 8) + tmp / FIN;
205 if (ratio < MUL/3) FNR = 0;
206 if (ratio < (MUL*11)/50) FNR = 1;
207 if (ratio < MUL/6) FNR = 2;
208 if (ratio < MU
[all...]
H A Dstv0299.h89 int (*set_symbol_rate)(struct dvb_frontend* fe, u32 srate, u32 ratio);
H A Dtda8083.c133 u32 ratio; local
149 ratio = tmp / srate;
152 ratio = (ratio << 8) + tmp / srate;
155 ratio = (ratio << 8) + tmp / srate;
157 dprintk("tda8083: ratio == %08x\n", (unsigned int) ratio);
160 tda8083_writereg (state, 0x02, (ratio >> 16) & 0xff);
161 tda8083_writereg (state, 0x03, (ratio >>
[all...]
H A Dcx24110.c237 u32 ratio; local
283 ratio=(tmp/BDRI);
286 ratio=(ratio<<8)+(tmp/BDRI);
289 ratio=(ratio<<8)+(tmp/BDRI);
292 ratio=(ratio<<1)+(tmp/BDRI);
296 dprintk("ratio= %08x\n", ratio);
[all...]
H A Dtda10021.c151 u32 tmp, ratio; local
171 ratio = (symbolrate << 4) / FIN;
173 ratio = (ratio << 8) + tmp / FIN;
175 ratio = (ratio << 8) + (tmp + FIN/2) / FIN;
177 BDR = ratio;
H A Dves1820.c119 u32 ratio; local
164 ratio = (symbolrate << 4) / fin;
166 ratio = (ratio << 8) + tmp / fin;
168 ratio = (ratio << 8) + (tmp + fin / 2) / fin;
170 BDR = ratio;
H A Dcx24123.c426 u32 tmp, sample_rate, ratio, sample_gain; local
466 ratio = tmp / sample_rate;
469 ratio = (ratio << 6) + (tmp / sample_rate);
472 ratio = (ratio << 6) + (tmp / sample_rate);
475 ratio = (ratio << 5) + (tmp / sample_rate);
480 cx24123_writereg(state, 0x08, (ratio >> 16) & 0x3f );
481 cx24123_writereg(state, 0x09, (ratio >>
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppstats/
H A Dpppstats.c8 * -r Show compression ratio
199 creq.stats.c.ratio = 0.0;
201 creq.stats.c.ratio = 256.0 * creq.stats.c.in_count /
209 creq.stats.d.ratio = 0.0;
211 creq.stats.d.ratio = 256.0 * creq.stats.d.in_count /
347 ccs.d.ratio / 256.0);
353 ccs.c.ratio / 256.0);
360 ccs.d.ratio / 256.0);
366 ccs.c.ratio / 256.0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppdump/
H A Ddeflate.c123 stats->ratio = stats->unc_bytes;
125 if (stats->ratio <= 0x7ffffff)
126 stats->ratio <<= 8;
130 stats->ratio /= out;
H A Dbsd-comp.c69 * The compression ratio is checked at the first end of a packet
94 u_int ratio; /* recent compression ratio */ member in struct:bsd_db
95 u_int checkpoint; /* when to next check the ratio */
183 db->ratio = 0;
192 * Compute the compression ratio using fixed-point arithmetic
196 * watch only the local compression ratio.
200 * must compute the same ratio.
209 /* age the ratio by limiting the size of the counts */
219 /* Reset the dictionary only if the ratio i
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/pci/
H A Dpdc202xx_new.c374 long pll_input, pll_output, ratio; local
432 * Calculate the ratio of F, R and NO
435 ratio = pll_output / (pll_input / 1000);
436 if (ratio < 8600L) { /* 8.6x */
439 } else if (ratio < 12900L) { /* 12.9x */
442 } else if (ratio < 16100L) { /* 16.1x */
445 } else if (ratio < 64000L) { /* 64x */
448 /* Invalid ratio */
449 printk(KERN_ERR "%s: Bad ratio %ld, giving up!\n", name, ratio);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ata/
H A Dpata_pdc2027x.c601 long ratio = pout_required / pll_clock_khz; local
622 * Calculate the ratio of F, R and OD
625 if (ratio < 8600L) { /* 8.6x */
628 } else if (ratio < 12900L) { /* 12.9x */
631 } else if (ratio < 16100L) { /* 16.1x */
634 } else if (ratio < 64000L) { /* 64x */
637 /* Invalid ratio */
638 printk(KERN_ERR DRV_NAME ": Invalid ratio %ld, give up!\n", ratio);
642 F = (ratio * (
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/
H A Dasiliantfb.c119 unsigned ratio; local
124 ratio = 1000000 / pixclock;
126 Ftarget = 1000000 * ratio + (1000000 * remainder) / pixclock;
133 ratio = Ftarget / Fref;
139 unsigned m = n * ratio + (n * remainder) / Fref;
229 unsigned long Ftarget, ratio, remainder; local
231 ratio = 1000000 / var->pixclock;
233 Ftarget = 1000000 * ratio + (1000000 * remainder) / var->pixclock;
435 {0xcc, 200 }, /* MCLK ratio M */
436 {0xcd, 18 }, /* MCLK ratio
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/include/net/
H A Dppp_defs.h169 unsigned int ratio; /* recent compression ratio << 8 */ member in struct:compstat
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dresample.c46 float ratio; member in struct:ReSampleContext
167 s->ratio = (float)output_rate / (float)input_rate;
243 if (s->input_channels == s->output_channels && s->ratio == 1.0 && 0) {
277 lenout= 4*nb_samples * s->ratio + 16;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Dsoundfont.h126 int snd_sf_linear_to_log(unsigned int amount, int offset, int ratio);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/cpu/cpufreq/
H A Dspeedstep-lib.c37 unsigned int ratio; /* Frequency Multiplier (x10) */ member in struct:__anon3485
100 dprintk("speed is %u\n", (msr_decode_mult[j].ratio * msr_decode_fsb[i].value * 100));
102 return (msr_decode_mult[j].ratio * msr_decode_fsb[i].value * 100);
H A Dlonghaul.c218 /* Disable bus ratio bit */
248 * Sets a new clock ratio.
427 unsigned int ratio; local
428 ratio = clock_ratio[j];
429 if (ratio == -1)
431 if (ratio > maxmult || ratio < minmult)
433 longhaul_table[k].frequency = calc_speed(ratio);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/powermac/
H A Dcpufreq_32.c521 const u32 *freqs, *ratio; local
529 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2",
531 if (ratio == NULL) {
532 printk(KERN_ERR "cpufreq: processor-to-bus-ratio*2 missing\n");
549 low_freq = (low_freq * (*ratio)) / 2000;
550 hi_freq = (hi_freq * (*ratio)) / 2000;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/
H A Dwget.c694 unsigned ratio; local
704 ratio = 100;
707 ratio = (unsigned) (100ULL * (transferred+beg_range) / totalsize);
708 if (ratio > 100) ratio = 100;
711 fprintf(stderr, "\r%-20.20s%4d%% ", curfile, ratio);
716 i = barlength * ratio / 100;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/plugin_winamp2/
H A Dinfobox.c223 DWORD length, bps, ratio, rg; local
239 ratio = bps*1000000 / (streaminfo.data.stream_info.sample_rate*streaminfo.data.stream_info.channels*streaminfo.data.stream_info.bits_per_sample);
244 "File size: %I64d bytes\nTotal samples: %I64d\nLength: %d:%02d\nAvg. bitrate: %d\nCompression ratio: %d.%d%%\n"
248 length/60, length%60, bps, ratio/10, ratio%10,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/include/linux/
H A Dppp_defs.h161 /* the compression ratio is defined as in_count / bytes_out */
165 double ratio; /* not computed in kernel. */ member in struct:compstat

Completed in 137 milliseconds

12