Searched refs:div (Results 201 - 225 of 363) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/frontends/
H A Dmt352.c320 u16 div; local
342 div = (mt352_read_register(state, CHAN_START_1) << 8) | mt352_read_register(state, CHAN_START_0);
404 param->frequency = ( 500 * (div - IF_FREQUENCYx6) ) / 3 * 1000;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/cpu/sh4a/
H A Dclock-sh7723.c78 unsigned long div = 1; local
83 div = 2;
85 return (clk->parent->rate * mult) / div;
H A Dclock-sh7724.c59 unsigned long div = 1; local
65 div = 2;
67 return (clk->parent->rate * mult) / div;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/ep93xx/
H A Dep93xx-i2s.c248 unsigned word_len, div, sdiv, lrdiv; local
278 div = (clk_get_rate(info->mclk) / params_rate(params)) *
282 if (sdiv * lrdiv == div) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c478 int div = np->clock_divn; /* Number of divisors supported */ local
510 while (div > 0) {
511 --div;
512 if (kpc > (div_10M[div] << 2)) {
513 ++div;
518 if (div == np->clock_divn) { /* Are we too fast ? */
521 *divp = div;
530 while (div-- > 0)
531 if (kpc >= (div_10M[div] << 2)) break;
540 fak = (kpc - 1) / (div_10M[div] <<
1917 sym_settrans(struct sym_hcb *np, int target, u_char opts, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) argument
2073 sym_setsync(struct sym_hcb *np, int target, u_char ofs, u_char per, u_char div, u_char fak) argument
2106 sym_setpprot(struct sym_hcb *np, int target, u_char opts, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) argument
3905 u_char chg, ofs, per, fak, div; local
4020 unsigned char fak, div; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/omap/
H A Domapfb.h117 int hs_pol_inv, int vs_pol_inv, int div);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/
H A Dpxa168fb.h174 #define CFG_SCLKCNT(div) ((div) << 24) /* 0xFF~0x2 */
335 #define CLK_INT_DIV(div) (div)
H A Dnuc900fb.c68 * calculate divider for lcd div
74 unsigned long long div; local
77 /* div = (clk * pixclk)/10^12 */
78 div = (unsigned long long)clk * pixclk;
79 div >>= 12;
80 do_div(div, 625 * 625UL * 625);
82 dev_dbg(fbi->dev, "pixclk %ld, divisor is %lld\n", pixclk, div);
84 return div;
H A Ds3c2410fb.c94 unsigned long long div; local
101 div = (unsigned long long)clk * pixclk;
102 div >>= 12; /* div / 2^12 */
103 do_div(div, 625 * 625UL * 625); /* div / 5^12 */
105 dprintk("pixclk %ld, divisor is %ld\n", pixclk, (long)div);
106 return div;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/lib/
H A Dqrnnd.S22 brc 3,0f # (n/4) div (n/2) can overflow by 1
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/codecs/
H A Dwm8904.c1516 int div; /* *10 due to .5s */ member in struct:__anon19301
1631 cur_val = ((wm8904->sysclk_rate * 10) / bclk_divs[i].div)
1640 wm8904->bclk = (wm8904->sysclk_rate * 10) / bclk_divs[best].div;
1642 bclk_divs[best].div, wm8904->bclk);
1865 unsigned int div; local
1869 div = 1;
1871 while ((Fref / div) > 13500000) {
1872 div *= 2;
1875 if (div > 8) {
1885 Fref /= div;
[all...]
H A Dwm8940.c599 int div_id, int div)
608 ret = snd_soc_write(codec, WM8940_CLOCK, reg | (div << 2));
612 ret = snd_soc_write(codec, WM8940_CLOCK, reg | (div << 5));
616 ret = snd_soc_write(codec, WM8940_ADDCNTRL, reg | (div << 4));
598 wm8940_set_dai_clkdiv(struct snd_soc_dai *codec_dai, int div_id, int div) argument
H A Dwm8974.c375 int div_id, int div)
383 snd_soc_write(codec, WM8974_GPIO, reg | div);
387 snd_soc_write(codec, WM8974_CLOCK, reg | div);
391 snd_soc_write(codec, WM8974_CLOCK, reg | div);
374 wm8974_set_dai_clkdiv(struct snd_soc_dai *codec_dai, int div_id, int div) argument
H A Dwm8960.c820 int div_id, int div)
828 snd_soc_write(codec, WM8960_CLOCK1, reg | div);
832 snd_soc_write(codec, WM8960_CLOCK1, reg | div);
836 snd_soc_write(codec, WM8960_PLL1, reg | div);
840 snd_soc_write(codec, WM8960_CLOCK2, reg | div);
844 snd_soc_write(codec, WM8960_ADDCTL1, reg | div);
819 wm8960_set_dai_clkdiv(struct snd_soc_dai *codec_dai, int div_id, int div) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-s3c2410/
H A Dmach-bast.c560 .div = 512,
566 .div = 1024,
572 .div = 512,
578 .div = 1024,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-omap/include/plat/
H A Dclock.h62 u8 div; member in struct:clksel_rate
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/
H A Ds3c-hwmon.c183 ret = DIV_ROUND_CLOSEST(ret, cfg->div);
336 if (cfg->div == 0) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/gperf-3.0.4/tests/
H A Dmodula.exp61 in word set div
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/common/tuners/
H A Dtuner-xc2028.c917 u32 div, offset = 0; local
979 div = (freq - offset + DIV / 2) / DIV;
999 buf[0] = 0xff & (div >> 24);
1000 buf[1] = 0xff & (div >> 16);
1001 buf[2] = 0xff & (div >> 8);
1002 buf[3] = 0xff & (div);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dadpcmenc.c316 const int div = (sample - predictor) / step; local
317 const int nmin = av_clip(div-range, -8, 6);
318 const int nmax = av_clip(div+range, -7, 7);
394 const int div = (sample - predictor) * 4 / STEP_TABLE;\
395 int nmin = av_clip(div - range, -7, 6);\
396 int nmax = av_clip(div + range, -6, 7);\
H A Dituh263enc.c114 int div, error; local
115 div= (s->avctx->time_base.num*1800000LL + 500LL*s->avctx->time_base.den) / ((1000LL+i)*s->avctx->time_base.den);
116 div= av_clip(div, 1, 127);
117 error= FFABS(s->avctx->time_base.num*1800000LL - (1000LL+i)*s->avctx->time_base.den*div);
120 best_divisor= div;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dadpcmenc.c321 const int div = (sample - predictor) / step; local
322 const int nmin = av_clip(div-range, -8, 6);
323 const int nmax = av_clip(div+range, -7, 7);
399 const int div = (sample - predictor) * 4 / STEP_TABLE;\
400 int nmin = av_clip(div - range, -7, 6);\
401 int nmax = av_clip(div + range, -6, 7);\
H A Dituh263enc.c111 int div, error; local
112 div= (s->avctx->time_base.num*1800000LL + 500LL*s->avctx->time_base.den) / ((1000LL+i)*s->avctx->time_base.den);
113 div= av_clip(div, 1, 127);
114 error= FFABS(s->avctx->time_base.num*1800000LL - (1000LL+i)*s->avctx->time_base.den*div);
117 best_divisor= div;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/mpi/
H A DMakefile77 am_libmpi_la_OBJECTS = mpi-add.lo mpi-bit.lo mpi-cmp.lo mpi-div.lo \
79 mpi-pow.lo mpi-mpow.lo mpi-scan.lo mpicoder.lo mpih-div.lo \
357 mpi-div.c \
369 mpih-div.c \
430 include ./$(DEPDIR)/mpi-div.Plo
442 include ./$(DEPDIR)/mpih-div.Plo
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/mpi/
H A DMakefile77 am_libmpi_la_OBJECTS = mpi-add.lo mpi-bit.lo mpi-cmp.lo mpi-div.lo \
79 mpi-pow.lo mpi-mpow.lo mpi-scan.lo mpicoder.lo mpih-div.lo \
357 mpi-div.c \
369 mpih-div.c \
430 include ./$(DEPDIR)/mpi-div.Plo
442 include ./$(DEPDIR)/mpih-div.Plo

Completed in 176 milliseconds

1234567891011>>