/linux-4.1.27/arch/arm/mach-omap2/ |
D | dpll3xxx.c | 91 unsigned long fint; in _omap3_dpll_compute_freqsel() local 94 fint = __clk_get_rate(clk->dpll_data->clk_ref) / n; in _omap3_dpll_compute_freqsel() 96 pr_debug("clock: fint is %lu\n", fint); in _omap3_dpll_compute_freqsel() 98 if (fint >= 750000 && fint <= 1000000) in _omap3_dpll_compute_freqsel() 100 else if (fint > 1000000 && fint <= 1250000) in _omap3_dpll_compute_freqsel() 102 else if (fint > 1250000 && fint <= 1500000) in _omap3_dpll_compute_freqsel() 104 else if (fint > 1500000 && fint <= 1750000) in _omap3_dpll_compute_freqsel() 106 else if (fint > 1750000 && fint <= 2100000) in _omap3_dpll_compute_freqsel() 108 else if (fint > 7500000 && fint <= 10000000) in _omap3_dpll_compute_freqsel() 110 else if (fint > 10000000 && fint <= 12500000) in _omap3_dpll_compute_freqsel() [all …]
|
D | clkt_dpll.c | 71 long fint, fint_min, fint_max; in _dpll_test_fint() local 77 fint = __clk_get_rate(__clk_get_parent(clk->hw.clk)) / n; in _dpll_test_fint() 92 if (fint < ti_clk_features.fint_min) { in _dpll_test_fint() 97 } else if (fint > ti_clk_features.fint_max) { in _dpll_test_fint() 102 } else if (fint > ti_clk_features.fint_band1_max && in _dpll_test_fint() 103 fint < ti_clk_features.fint_band2_min) { in _dpll_test_fint()
|
D | dpll44xx.c | 94 long fint, fout; in omap4_dpll_lpmode_recalc() local 96 fint = __clk_get_rate(dd->clk_ref) / (dd->last_rounded_n + 1); in omap4_dpll_lpmode_recalc() 97 fout = fint * dd->last_rounded_m; in omap4_dpll_lpmode_recalc() 99 if ((fint < OMAP4_DPLL_LP_FINT_MAX) && (fout < OMAP4_DPLL_LP_FOUT_MAX)) in omap4_dpll_lpmode_recalc()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | hdmi_pll.c | 44 unsigned long fint, clkdco, clkout; in hdmi_pll_compute() local 59 fint = clkin / n; in hdmi_pll_compute() 62 min_dco = roundup(hw->clkdco_min, fint); in hdmi_pll_compute() 68 m = target_clkdco / fint; in hdmi_pll_compute() 70 clkdco = fint * m; in hdmi_pll_compute() 73 if (WARN_ON(target_clkdco - clkdco > fint)) in hdmi_pll_compute() 76 mf = (u32)div_u64(262144ull * (target_clkdco - clkdco), fint); in hdmi_pll_compute() 79 clkdco += (u32)div_u64((u64)mf * fint, 262144); in hdmi_pll_compute() 84 sd = DIV_ROUND_UP(fint * m, 250000000); in hdmi_pll_compute() 88 DSSDBG("Fint %lu, clkdco %lu, clkout %lu\n", fint, clkdco, clkout); in hdmi_pll_compute() [all …]
|
D | pll.c | 164 unsigned long fint, clkdco; in dss_pll_calc() local 179 fint = clkin / n; in dss_pll_calc() 181 m_start = max(DIV_ROUND_UP(DIV_ROUND_UP(pll_min, fint), 2), in dss_pll_calc() 183 m_stop = min3((unsigned)(pll_max / fint / 2), in dss_pll_calc() 184 (unsigned)(pll_hw_max / fint / 2), in dss_pll_calc() 188 clkdco = 2 * m * fint; in dss_pll_calc() 190 if (func(n, m, fint, clkdco, data)) in dss_pll_calc() 281 u32 f = cinfo->fint < 1000000 ? 0x3 : in dss_pll_write_config_type_a() 282 cinfo->fint < 1250000 ? 0x4 : in dss_pll_write_config_type_a() 283 cinfo->fint < 1500000 ? 0x5 : in dss_pll_write_config_type_a() [all …]
|
D | dss.h | 121 unsigned long fint; member 447 typedef bool (*dss_pll_calc_func)(int n, int m, unsigned long fint,
|
D | dpi.c | 203 static bool dpi_calc_pll_cb(int n, int m, unsigned long fint, in dpi_calc_pll_cb() argument 211 ctx->dsi_cinfo.fint = fint; in dpi_calc_pll_cb()
|
D | dsi.c | 1500 seq_printf(s, "Fint\t\t%-16lun %u\n", cinfo->fint, cinfo->n); in dsi_dump_dsidev_clocks() 4454 static bool dsi_cm_calc_pll_cb(int n, int m, unsigned long fint, in dsi_cm_calc_pll_cb() argument 4461 ctx->dsi_cinfo.fint = fint; in dsi_cm_calc_pll_cb() 4752 static bool dsi_vm_calc_pll_cb(int n, int m, unsigned long fint, in dsi_vm_calc_pll_cb() argument 4759 ctx->dsi_cinfo.fint = fint; in dsi_vm_calc_pll_cb()
|
/linux-4.1.27/arch/m68k/fpsp040/ |
D | tbldo.S | 58 .long sint |$01-0 fint norm 59 .long szero |$01-1 fint zero 60 .long sinf |$01-2 fint inf 61 .long src_nan |$01-3 fint nan 62 .long sintd |$01-4 fint denorm inx 63 .long serror |$01-5 fint ERROR 64 .long serror |$01-6 fint ERROR 65 .long serror |$01-7 fint ERROR
|
D | sint.S | 9 | to emulate the fint and fintrz unimplemented instructions,
|
/linux-4.1.27/arch/m68k/ifpsp060/ |
D | MISC | 72 fint.s : 2.3 131 fint.s : 2.3
|
D | fplsp.doc | 124 The fabs/fadd/fdiv/fint/fintrz/fmul/fneg/fsqrt/fsub entry points
|
/linux-4.1.27/drivers/media/i2c/ |
D | ov9650.c | 566 unsigned long fint, trow; in ov965x_update_exposure_ctrl() local 577 fint = ov965x->mclk_frequency * ((clkrc >> 7) + 1) / in ov965x_update_exposure_ctrl() 580 trow = (2 * 1520 * 1000000UL) / fint; in ov965x_update_exposure_ctrl() 586 clkrc, fint, trow, max); in ov965x_update_exposure_ctrl()
|
/linux-4.1.27/arch/m68k/ifpsp060/src/ |
D | pfpsp.S | 2488 # fint fcos fsincos 9650 # here. For norms, load the rounding mode/prec, execute a "fint", then #
|
D | fpsp.S | 2489 # fint fcos fsincos 11412 long fint - tbl_unsupp # 01: fint 13205 # fint(): emulates the fint instruction #
|
D | fplsp.S | 5547 # fint.x %fp2
|