fint 70 drivers/clk/ti/clkt_dpll.c long fint, fint_min, fint_max; fint 76 drivers/clk/ti/clkt_dpll.c fint = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)) / n; fint 91 drivers/clk/ti/clkt_dpll.c if (fint < ti_clk_get_features()->fint_min) { fint 96 drivers/clk/ti/clkt_dpll.c } else if (fint > ti_clk_get_features()->fint_max) { fint 101 drivers/clk/ti/clkt_dpll.c } else if (fint > ti_clk_get_features()->fint_band1_max && fint 102 drivers/clk/ti/clkt_dpll.c fint < ti_clk_get_features()->fint_band2_min) { fint 95 drivers/clk/ti/dpll3xxx.c unsigned long fint; fint 98 drivers/clk/ti/dpll3xxx.c fint = clk_hw_get_rate(clk->dpll_data->clk_ref) / n; fint 100 drivers/clk/ti/dpll3xxx.c pr_debug("clock: fint is %lu\n", fint); fint 102 drivers/clk/ti/dpll3xxx.c if (fint >= 750000 && fint <= 1000000) fint 104 drivers/clk/ti/dpll3xxx.c else if (fint > 1000000 && fint <= 1250000) fint 106 drivers/clk/ti/dpll3xxx.c else if (fint > 1250000 && fint <= 1500000) fint 108 drivers/clk/ti/dpll3xxx.c else if (fint > 1500000 && fint <= 1750000) fint 110 drivers/clk/ti/dpll3xxx.c else if (fint > 1750000 && fint <= 2100000) fint 112 drivers/clk/ti/dpll3xxx.c else if (fint > 7500000 && fint <= 10000000) fint 114 drivers/clk/ti/dpll3xxx.c else if (fint > 10000000 && fint <= 12500000) fint 116 drivers/clk/ti/dpll3xxx.c else if (fint > 12500000 && fint <= 15000000) fint 118 drivers/clk/ti/dpll3xxx.c else if (fint > 15000000 && fint <= 17500000) fint 120 drivers/clk/ti/dpll3xxx.c else if (fint > 17500000 && fint <= 21000000) fint 249 drivers/clk/ti/dpll3xxx.c unsigned long fint, clkinp; /* watch out for overflow */ fint 252 drivers/clk/ti/dpll3xxx.c fint = (clkinp / n) * m; fint 254 drivers/clk/ti/dpll3xxx.c if (fint < 1000000000) fint 92 drivers/clk/ti/dpll44xx.c long fint, fout; fint 94 drivers/clk/ti/dpll44xx.c fint = clk_hw_get_rate(dd->clk_ref) / (dd->last_rounded_n + 1); fint 95 drivers/clk/ti/dpll44xx.c fout = fint * dd->last_rounded_m; fint 97 drivers/clk/ti/dpll44xx.c if ((fint < OMAP4_DPLL_LP_FINT_MAX) && (fout < OMAP4_DPLL_LP_FOUT_MAX)) fint 190 drivers/gpu/drm/omapdrm/dss/dpi.c static bool dpi_calc_pll_cb(int n, int m, unsigned long fint, fint 198 drivers/gpu/drm/omapdrm/dss/dpi.c ctx->pll_cinfo.fint = fint; fint 1400 drivers/gpu/drm/omapdrm/dss/dsi.c seq_printf(s, "Fint\t\t%-16lun %u\n", cinfo->fint, cinfo->n); fint 4331 drivers/gpu/drm/omapdrm/dss/dsi.c static bool dsi_cm_calc_pll_cb(int n, int m, unsigned long fint, fint 4339 drivers/gpu/drm/omapdrm/dss/dsi.c ctx->dsi_cinfo.fint = fint; fint 4632 drivers/gpu/drm/omapdrm/dss/dsi.c static bool dsi_vm_calc_pll_cb(int n, int m, unsigned long fint, fint 4640 drivers/gpu/drm/omapdrm/dss/dsi.c ctx->dsi_cinfo.fint = fint; fint 131 drivers/gpu/drm/omapdrm/dss/dss.h unsigned long fint; fint 441 drivers/gpu/drm/omapdrm/dss/dss.h typedef bool (*dss_pll_calc_func)(int n, int m, unsigned long fint, fint 212 drivers/gpu/drm/omapdrm/dss/pll.c unsigned long fint, clkdco; fint 233 drivers/gpu/drm/omapdrm/dss/pll.c fint = clkin / n; fint 235 drivers/gpu/drm/omapdrm/dss/pll.c m_start = max(DIV_ROUND_UP(DIV_ROUND_UP(pll_min, fint), 2), fint 237 drivers/gpu/drm/omapdrm/dss/pll.c m_stop = min3((unsigned)(pll_max / fint / 2), fint 238 drivers/gpu/drm/omapdrm/dss/pll.c (unsigned)(pll_hw_max / fint / 2), fint 248 drivers/gpu/drm/omapdrm/dss/pll.c clkdco = 2 * m * fint; fint 250 drivers/gpu/drm/omapdrm/dss/pll.c if (func(n, m, fint, clkdco, data)) fint 269 drivers/gpu/drm/omapdrm/dss/pll.c unsigned long fint, clkdco, clkout; fint 279 drivers/gpu/drm/omapdrm/dss/pll.c fint = clkin / n; fint 282 drivers/gpu/drm/omapdrm/dss/pll.c min_dco = roundup(hw->clkdco_min, fint); fint 288 drivers/gpu/drm/omapdrm/dss/pll.c m = target_clkdco / fint; fint 290 drivers/gpu/drm/omapdrm/dss/pll.c clkdco = fint * m; fint 293 drivers/gpu/drm/omapdrm/dss/pll.c if (WARN_ON(target_clkdco - clkdco > fint)) fint 296 drivers/gpu/drm/omapdrm/dss/pll.c mf = (u32)div_u64(262144ull * (target_clkdco - clkdco), fint); fint 299 drivers/gpu/drm/omapdrm/dss/pll.c clkdco += (u32)div_u64((u64)mf * fint, 262144); fint 304 drivers/gpu/drm/omapdrm/dss/pll.c sd = DIV_ROUND_UP(fint * m, 250000000); fint 308 drivers/gpu/drm/omapdrm/dss/pll.c DSSDBG("Fint %lu, clkdco %lu, clkout %lu\n", fint, clkdco, clkout); fint 316 drivers/gpu/drm/omapdrm/dss/pll.c cinfo->fint = fint; fint 422 drivers/gpu/drm/omapdrm/dss/pll.c u32 f = cinfo->fint < 1000000 ? 0x3 : fint 423 drivers/gpu/drm/omapdrm/dss/pll.c cinfo->fint < 1250000 ? 0x4 : fint 424 drivers/gpu/drm/omapdrm/dss/pll.c cinfo->fint < 1500000 ? 0x5 : fint 425 drivers/gpu/drm/omapdrm/dss/pll.c cinfo->fint < 1750000 ? 0x6 : fint 454 drivers/gpu/drm/omapdrm/dss/pll.c sleep_time = DIV_ROUND_UP(1000*1000*1000, cinfo->fint); fint 563 drivers/media/i2c/ov9650.c unsigned long fint, trow; fint 574 drivers/media/i2c/ov9650.c fint = ov965x->mclk_frequency * ((clkrc >> 7) + 1) / fint 577 drivers/media/i2c/ov9650.c trow = (2 * 1520 * 1000000UL) / fint; fint 583 drivers/media/i2c/ov9650.c clkrc, fint, trow, max); fint 193 drivers/video/fbdev/omap2/omapfb/dss/dpi.c static bool dpi_calc_pll_cb(int n, int m, unsigned long fint, fint 201 drivers/video/fbdev/omap2/omapfb/dss/dpi.c ctx->dsi_cinfo.fint = fint; fint 1480 drivers/video/fbdev/omap2/omapfb/dss/dsi.c seq_printf(s, "Fint\t\t%-16lun %u\n", cinfo->fint, cinfo->n); fint 4434 drivers/video/fbdev/omap2/omapfb/dss/dsi.c static bool dsi_cm_calc_pll_cb(int n, int m, unsigned long fint, fint 4441 drivers/video/fbdev/omap2/omapfb/dss/dsi.c ctx->dsi_cinfo.fint = fint; fint 4732 drivers/video/fbdev/omap2/omapfb/dss/dsi.c static bool dsi_vm_calc_pll_cb(int n, int m, unsigned long fint, fint 4739 drivers/video/fbdev/omap2/omapfb/dss/dsi.c ctx->dsi_cinfo.fint = fint; fint 121 drivers/video/fbdev/omap2/omapfb/dss/dss.h unsigned long fint; fint 477 drivers/video/fbdev/omap2/omapfb/dss/dss.h typedef bool (*dss_pll_calc_func)(int n, int m, unsigned long fint, fint 42 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c unsigned long fint, clkdco, clkout; fint 57 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c fint = clkin / n; fint 60 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c min_dco = roundup(hw->clkdco_min, fint); fint 66 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c m = target_clkdco / fint; fint 68 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c clkdco = fint * m; fint 71 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c if (WARN_ON(target_clkdco - clkdco > fint)) fint 74 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c mf = (u32)div_u64(262144ull * (target_clkdco - clkdco), fint); fint 77 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c clkdco += (u32)div_u64((u64)mf * fint, 262144); fint 82 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c sd = DIV_ROUND_UP(fint * m, 250000000); fint 86 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c DSSDBG("Fint %lu, clkdco %lu, clkout %lu\n", fint, clkdco, clkout); fint 94 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c pi->fint = fint; fint 153 drivers/video/fbdev/omap2/omapfb/dss/pll.c unsigned long fint, clkdco; fint 168 drivers/video/fbdev/omap2/omapfb/dss/pll.c fint = clkin / n; fint 170 drivers/video/fbdev/omap2/omapfb/dss/pll.c m_start = max(DIV_ROUND_UP(DIV_ROUND_UP(pll_min, fint), 2), fint 172 drivers/video/fbdev/omap2/omapfb/dss/pll.c m_stop = min3((unsigned)(pll_max / fint / 2), fint 173 drivers/video/fbdev/omap2/omapfb/dss/pll.c (unsigned)(pll_hw_max / fint / 2), fint 177 drivers/video/fbdev/omap2/omapfb/dss/pll.c clkdco = 2 * m * fint; fint 179 drivers/video/fbdev/omap2/omapfb/dss/pll.c if (func(n, m, fint, clkdco, data)) fint 270 drivers/video/fbdev/omap2/omapfb/dss/pll.c u32 f = cinfo->fint < 1000000 ? 0x3 : fint 271 drivers/video/fbdev/omap2/omapfb/dss/pll.c cinfo->fint < 1250000 ? 0x4 : fint 272 drivers/video/fbdev/omap2/omapfb/dss/pll.c cinfo->fint < 1500000 ? 0x5 : fint 273 drivers/video/fbdev/omap2/omapfb/dss/pll.c cinfo->fint < 1750000 ? 0x6 :