prediv 359 arch/arm/mach-davinci/da850.c unsigned int prediv; prediv 368 arch/arm/mach-davinci/da850.c .prediv = 1, prediv 377 arch/arm/mach-davinci/da850.c .prediv = 1, prediv 386 arch/arm/mach-davinci/da850.c .prediv = 2, prediv 395 arch/arm/mach-davinci/da850.c .prediv = 1, prediv 404 arch/arm/mach-davinci/da850.c .prediv = 1, prediv 413 arch/arm/mach-davinci/da850.c .prediv = 1, prediv 267 arch/c6x/platforms/pll.c u32 ctrl, mult = 0, prediv = 0, postdiv = 0; prediv 288 arch/c6x/platforms/pll.c prediv = pll_read(pll, PLLPRE); prediv 289 arch/c6x/platforms/pll.c if (prediv & PLLDIV_EN) prediv 290 arch/c6x/platforms/pll.c prediv = (prediv & PLLDIV_RATIO_MASK) + 1; prediv 292 arch/c6x/platforms/pll.c prediv = 0; prediv 303 arch/c6x/platforms/pll.c if (prediv) prediv 304 arch/c6x/platforms/pll.c rate /= prediv; prediv 313 arch/c6x/platforms/pll.c prediv, mult, postdiv, rate / 1000000); prediv 71 arch/mips/ar7/clock.c u32 prediv; prediv 98 arch/mips/ar7/clock.c static void approximate(int base, int target, int *prediv, prediv 109 arch/mips/ar7/clock.c *prediv = j; prediv 115 arch/mips/ar7/clock.c static void calculate(int base, int target, int *prediv, int *postdiv, prediv 120 arch/mips/ar7/clock.c for (*prediv = 1; *prediv <= 32; (*prediv)++) { prediv 121 arch/mips/ar7/clock.c tmp_base = base / *prediv; prediv 131 arch/mips/ar7/clock.c if (base / *prediv * *mul / *postdiv != target) { prediv 132 arch/mips/ar7/clock.c approximate(base, target, prediv, postdiv, mul); prediv 133 arch/mips/ar7/clock.c tmp_freq = base / *prediv * *mul / *postdiv; prediv 140 arch/mips/ar7/clock.c *prediv, *postdiv, *mul); prediv 166 arch/mips/ar7/clock.c int prediv = ((ctrl & PREDIV_MASK) >> PREDIV_SHIFT) + 1; prediv 168 arch/mips/ar7/clock.c int divisor = prediv * postdiv; prediv 208 arch/mips/ar7/clock.c int prediv, postdiv, mul; prediv 226 arch/mips/ar7/clock.c calculate(base_clock, frequency, &prediv, &postdiv, &mul); prediv 228 arch/mips/ar7/clock.c writel(((prediv - 1) << PREDIV_SHIFT) | (postdiv - 1), &clock->ctrl); prediv 262 arch/mips/ar7/clock.c int prediv, int postdiv, int postdiv2, int mul, u32 frequency) prediv 267 arch/mips/ar7/clock.c base, frequency, prediv, postdiv, postdiv2, mul); prediv 270 arch/mips/ar7/clock.c writel(DIVISOR_ENABLE_MASK | ((prediv - 1) & 0x1F), &clock->prediv); prediv 323 drivers/clk/clk-versaclock5.c unsigned int prediv, div; prediv 325 drivers/clk/clk-versaclock5.c regmap_read(vc5->regmap, VC5_VCO_CTRL_AND_PREDIV, &prediv); prediv 328 drivers/clk/clk-versaclock5.c if (prediv & VC5_VCO_CTRL_AND_PREDIV_BYPASS_PREDIV) prediv 351 drivers/clk/clk-vt8500.c u32 *multiplier, u32 *prediv) prediv 359 drivers/clk/clk-vt8500.c *prediv = 1; prediv 364 drivers/clk/clk-vt8500.c *prediv = 2; prediv 366 drivers/clk/clk-vt8500.c *prediv = 1; prediv 368 drivers/clk/clk-vt8500.c *multiplier = rate / (parent_rate / *prediv); prediv 369 drivers/clk/clk-vt8500.c tclk = (parent_rate / *prediv) * *multiplier; prediv 50 drivers/clk/imx/clk-composite-8m.c int *prediv, int *postdiv) prediv 56 drivers/clk/imx/clk-composite-8m.c *prediv = 1; prediv 64 drivers/clk/imx/clk-composite-8m.c *prediv = div1; prediv 81 drivers/clk/keystone/pll.c u32 mult = 0, prediv, postdiv, val; prediv 96 drivers/clk/keystone/pll.c prediv = (val & pll_data->plld_mask); prediv 109 drivers/clk/keystone/pll.c rate /= (prediv + 1); prediv 273 drivers/clk/pistachio/clk-pll.c u64 val, prediv, fbdiv, frac, postdiv1, postdiv2, rate; prediv 276 drivers/clk/pistachio/clk-pll.c prediv = (val >> PLL_CTRL1_REFDIV_SHIFT) & PLL_CTRL1_REFDIV_MASK; prediv 293 drivers/clk/pistachio/clk-pll.c rate = do_div_round_closest(rate, (prediv * postdiv1 * postdiv2) << 24); prediv 413 drivers/clk/pistachio/clk-pll.c u32 val, prediv, fbdiv, postdiv1, postdiv2; prediv 417 drivers/clk/pistachio/clk-pll.c prediv = (val >> PLL_CTRL1_REFDIV_SHIFT) & PLL_CTRL1_REFDIV_MASK; prediv 425 drivers/clk/pistachio/clk-pll.c rate = do_div_round_closest(rate, prediv * postdiv1 * postdiv2); prediv 88 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .prediv = 8, prediv 190 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .prediv = 8, prediv 90 drivers/clk/sunxi-ng/ccu-sun5i.c .prediv = 8, prediv 164 drivers/clk/sunxi-ng/ccu-sun5i.c .prediv = 8, prediv 480 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .prediv = 2, prediv 30 drivers/clk/sunxi-ng/ccu_common.h u32 prediv; prediv 82 drivers/clk/sunxi-ng/ccu_gate.c rate /= cg->common.prediv; prediv 94 drivers/clk/sunxi-ng/ccu_gate.c div = cg->common.prediv; prediv 19 drivers/clk/sunxi-ng/ccu_mux.c u16 prediv = 1; prediv 28 drivers/clk/sunxi-ng/ccu_mux.c return common->prediv; prediv 41 drivers/clk/sunxi-ng/ccu_mux.c prediv = cm->fixed_predivs[i].div; prediv 53 drivers/clk/sunxi-ng/ccu_mux.c prediv = div + 1; prediv 57 drivers/clk/sunxi-ng/ccu_mux.c return prediv; prediv 493 drivers/media/dvb-frontends/dib7000p.c u8 loopdiv, prediv; prediv 497 drivers/media/dvb-frontends/dib7000p.c prediv = reg_1856 & 0x3f; prediv 500 drivers/media/dvb-frontends/dib7000p.c if ((bw != NULL) && (bw->pll_prediv != prediv || bw->pll_ratio != loopdiv)) { prediv 501 drivers/media/dvb-frontends/dib7000p.c dprintk("Updating pll (prediv: old = %d new = %d ; loopdiv : old = %d new = %d)\n", prediv, bw->pll_prediv, loopdiv, bw->pll_ratio); prediv 510 drivers/media/dvb-frontends/dib7000p.c xtal = (internal / loopdiv) * prediv; prediv 750 drivers/media/dvb-frontends/dib8000.c u8 loopdiv, prediv, oldprediv = state->cfg.pll->pll_prediv ; prediv 754 drivers/media/dvb-frontends/dib8000.c prediv = reg_1856 & 0x3f; prediv 757 drivers/media/dvb-frontends/dib8000.c if ((pll == NULL) || (pll->pll_prediv == prediv && prediv 761 drivers/media/dvb-frontends/dib8000.c dprintk("Updating pll (prediv: old = %d new = %d ; loopdiv : old = %d new = %d)\n", prediv, pll->pll_prediv, loopdiv, pll->pll_ratio); prediv 775 drivers/media/dvb-frontends/dib8000.c xtal = 2 * (internal / loopdiv) * prediv; prediv 62 drivers/media/dvb-frontends/tua6100.c u32 prediv; prediv 105 drivers/media/dvb-frontends/tua6100.c prediv = (c->frequency * _R_VAL) / (_ri / 1000); prediv 106 drivers/media/dvb-frontends/tua6100.c div = prediv / _P_VAL; prediv 113 drivers/media/dvb-frontends/tua6100.c reg1[3] |= (prediv - (div*_P_VAL)) & 0x7f; prediv 916 drivers/media/i2c/ov2659.c u32 prediv, postdiv, mult; prediv 924 drivers/media/i2c/ov2659.c prediv = ctrl3[j].div; prediv 928 drivers/media/i2c/ov2659.c actual /= prediv; prediv 951 drivers/media/i2c/ov5640.c u8 prediv, mult, sysdiv; prediv 966 drivers/media/i2c/ov5640.c ov5640_calc_sys_clk(sensor, rate, &prediv, &mult, &sysdiv); prediv 981 drivers/media/i2c/ov5640.c 0x1f, OV5640_PLL_CTRL3_PLL_ROOT_DIV_2 | prediv); prediv 1008 drivers/media/i2c/ov5640.c u8 prediv, mult, sysdiv, pll_rdiv, bit_div, pclk_div; prediv 1011 drivers/media/i2c/ov5640.c ov5640_calc_pclk(sensor, rate, &prediv, &mult, &sysdiv, &pll_rdiv, prediv 1037 drivers/media/i2c/ov5640.c 0x1f, prediv | ((pll_rdiv - 1) << 4)); prediv 1328 drivers/media/i2c/ov5640.c u32 multiplier, prediv, VCO, sysdiv, pll_rdiv; prediv 1356 drivers/media/i2c/ov5640.c prediv = temp1 & 0x0f; prediv 1365 drivers/media/i2c/ov5640.c if (!prediv || !sysdiv || !pll_rdiv || !bit_div2x) prediv 1368 drivers/media/i2c/ov5640.c VCO = xvclk * multiplier / prediv; prediv 2047 drivers/media/usb/dvb-usb/dib0700_devices.c u8 spur = 0, prediv = 0, loopdiv = 0, min_prediv = 1, max_prediv = 1; prediv 2058 drivers/media/usb/dvb-usb/dib0700_devices.c adc->pll_prediv = prediv; prediv 2077 drivers/media/usb/dvb-usb/dib0700_devices.c for (prediv = min_prediv; prediv < max_prediv; prediv++) { prediv 2078 drivers/media/usb/dvb-usb/dib0700_devices.c fcp = xtal / prediv; prediv 2081 drivers/media/usb/dvb-usb/dib0700_devices.c fmem = ((xtal/prediv) * loopdiv); prediv 2098 drivers/media/usb/dvb-usb/dib0700_devices.c adc->pll_prediv = prediv; prediv 2102 drivers/media/usb/dvb-usb/dib0700_devices.c deb_info("RF %6d; BW %6d; Xtal %6d; Fmem %6d; Fdem %6d; Fs %6d; Prediv %2d; Loopdiv %2d; Timf %8d;", fe->dtv_property_cache.frequency, fe->dtv_property_cache.bandwidth_hz, xtal, fmem, fdem, fs, prediv, loopdiv, adc->timf); prediv 2560 drivers/media/usb/dvb-usb/dib0700_devices.c u8 spur = 0, prediv = 0, loopdiv = 0, min_prediv = 1, max_prediv = 1; prediv 2571 drivers/media/usb/dvb-usb/dib0700_devices.c adc->pll_prediv = prediv; prediv 2591 drivers/media/usb/dvb-usb/dib0700_devices.c for (prediv = min_prediv ; prediv < max_prediv; prediv++) { prediv 2592 drivers/media/usb/dvb-usb/dib0700_devices.c fcp = xtal / prediv; prediv 2595 drivers/media/usb/dvb-usb/dib0700_devices.c fdem = ((xtal/prediv) * loopdiv); prediv 2611 drivers/media/usb/dvb-usb/dib0700_devices.c adc->pll_prediv = prediv; prediv 2614 drivers/media/usb/dvb-usb/dib0700_devices.c deb_info("loopdiv=%i prediv=%i timf=%i", loopdiv, prediv, adc->timf); prediv 253 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c u8 prediv; prediv 268 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c u8 prediv; prediv 644 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c RK3228_PRE_PLL_PRE_DIV(cfg->prediv)); prediv 795 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c inno_write(inno, 0xa1, RK3328_PRE_PLL_PRE_DIV(cfg->prediv)); prediv 912 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c RK3228_POST_PLL_PRE_DIV(cfg->prediv)); prediv 1026 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c RK3328_POST_PLL_PRE_DIV(cfg->prediv)); prediv 1032 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c RK3328_POST_PLL_PRE_DIV(cfg->prediv)); prediv 2275 drivers/tty/serial/sh-sci.c unsigned int sr, br, prediv, scrate, c; prediv 2299 drivers/tty/serial/sh-sci.c prediv = sr * (1 << (2 * c + 1)); prediv 2310 drivers/tty/serial/sh-sci.c if (bps > UINT_MAX / prediv) prediv 2313 drivers/tty/serial/sh-sci.c scrate = prediv * bps; prediv 2317 drivers/tty/serial/sh-sci.c err = DIV_ROUND_CLOSEST(freq, br * prediv) - bps;