Home
last modified time | relevance | path

Searched refs:fint (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/drivers/clk/ti/
Ddpll3xxx.c98 unsigned long fint; in _omap3_dpll_compute_freqsel() local
101 fint = clk_hw_get_rate(clk->dpll_data->clk_ref) / n; in _omap3_dpll_compute_freqsel()
103 pr_debug("clock: fint is %lu\n", fint); in _omap3_dpll_compute_freqsel()
105 if (fint >= 750000 && fint <= 1000000) in _omap3_dpll_compute_freqsel()
107 else if (fint > 1000000 && fint <= 1250000) in _omap3_dpll_compute_freqsel()
109 else if (fint > 1250000 && fint <= 1500000) in _omap3_dpll_compute_freqsel()
111 else if (fint > 1500000 && fint <= 1750000) in _omap3_dpll_compute_freqsel()
113 else if (fint > 1750000 && fint <= 2100000) in _omap3_dpll_compute_freqsel()
115 else if (fint > 7500000 && fint <= 10000000) in _omap3_dpll_compute_freqsel()
117 else if (fint > 10000000 && fint <= 12500000) in _omap3_dpll_compute_freqsel()
[all …]
Dclkt_dpll.c73 long fint, fint_min, fint_max; in _dpll_test_fint() local
79 fint = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)) / n; in _dpll_test_fint()
94 if (fint < ti_clk_get_features()->fint_min) { in _dpll_test_fint()
99 } else if (fint > ti_clk_get_features()->fint_max) { in _dpll_test_fint()
104 } else if (fint > ti_clk_get_features()->fint_band1_max && in _dpll_test_fint()
105 fint < ti_clk_get_features()->fint_band2_min) { in _dpll_test_fint()
Ddpll44xx.c95 long fint, fout; in omap4_dpll_lpmode_recalc() local
97 fint = clk_hw_get_rate(dd->clk_ref) / (dd->last_rounded_n + 1); in omap4_dpll_lpmode_recalc()
98 fout = fint * dd->last_rounded_m; in omap4_dpll_lpmode_recalc()
100 if ((fint < OMAP4_DPLL_LP_FINT_MAX) && (fout < OMAP4_DPLL_LP_FOUT_MAX)) in omap4_dpll_lpmode_recalc()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_pll.c45 unsigned long fint, clkdco, clkout; in hdmi_pll_compute() local
60 fint = clkin / n; in hdmi_pll_compute()
63 min_dco = roundup(hw->clkdco_min, fint); in hdmi_pll_compute()
69 m = target_clkdco / fint; in hdmi_pll_compute()
71 clkdco = fint * m; in hdmi_pll_compute()
74 if (WARN_ON(target_clkdco - clkdco > fint)) in hdmi_pll_compute()
77 mf = (u32)div_u64(262144ull * (target_clkdco - clkdco), fint); in hdmi_pll_compute()
80 clkdco += (u32)div_u64((u64)mf * fint, 262144); in hdmi_pll_compute()
85 sd = DIV_ROUND_UP(fint * m, 250000000); in hdmi_pll_compute()
89 DSSDBG("Fint %lu, clkdco %lu, clkout %lu\n", fint, clkdco, clkout); in hdmi_pll_compute()
[all …]
Dpll.c164 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 …]
Ddpi.c204 static bool dpi_calc_pll_cb(int n, int m, unsigned long fint, in dpi_calc_pll_cb() argument
212 ctx->dsi_cinfo.fint = fint; in dpi_calc_pll_cb()
Ddss.h132 unsigned long fint; member
492 typedef bool (*dss_pll_calc_func)(int n, int m, unsigned long fint,
Ddsi.c1491 seq_printf(s, "Fint\t\t%-16lun %u\n", cinfo->fint, cinfo->n); in dsi_dump_dsidev_clocks()
4445 static bool dsi_cm_calc_pll_cb(int n, int m, unsigned long fint, in dsi_cm_calc_pll_cb() argument
4452 ctx->dsi_cinfo.fint = fint; in dsi_cm_calc_pll_cb()
4743 static bool dsi_vm_calc_pll_cb(int n, int m, unsigned long fint, in dsi_vm_calc_pll_cb() argument
4750 ctx->dsi_cinfo.fint = fint; in dsi_vm_calc_pll_cb()
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Dpll.c223 unsigned long fint, clkdco; in dss_pll_calc_a() local
244 fint = clkin / n; in dss_pll_calc_a()
246 m_start = max(DIV_ROUND_UP(DIV_ROUND_UP(pll_min, fint), 2), in dss_pll_calc_a()
248 m_stop = min3((unsigned)(pll_max / fint / 2), in dss_pll_calc_a()
249 (unsigned)(pll_hw_max / fint / 2), in dss_pll_calc_a()
259 clkdco = 2 * m * fint; in dss_pll_calc_a()
261 if (func(n, m, fint, clkdco, data)) in dss_pll_calc_a()
280 unsigned long fint, clkdco, clkout; in dss_pll_calc_b() local
290 fint = clkin / n; in dss_pll_calc_b()
293 min_dco = roundup(hw->clkdco_min, fint); in dss_pll_calc_b()
[all …]
Ddpi.c200 static bool dpi_calc_pll_cb(int n, int m, unsigned long fint, in dpi_calc_pll_cb() argument
208 ctx->pll_cinfo.fint = fint; in dpi_calc_pll_cb()
Ddss.h142 unsigned long fint; member
455 typedef bool (*dss_pll_calc_func)(int n, int m, unsigned long fint,
Ddsi.c1468 seq_printf(s, "Fint\t\t%-16lun %u\n", cinfo->fint, cinfo->n); in dsi_dump_dsi_clocks()
4447 static bool dsi_cm_calc_pll_cb(int n, int m, unsigned long fint, in dsi_cm_calc_pll_cb() argument
4455 ctx->dsi_cinfo.fint = fint; in dsi_cm_calc_pll_cb()
4748 static bool dsi_vm_calc_pll_cb(int n, int m, unsigned long fint, in dsi_vm_calc_pll_cb() argument
4756 ctx->dsi_cinfo.fint = fint; in dsi_vm_calc_pll_cb()
/Linux-v4.19/arch/m68k/fpsp040/
Dtbldo.S58 .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
Dsint.S9 | to emulate the fint and fintrz unimplemented instructions,
/Linux-v4.19/arch/m68k/ifpsp060/
DMISC72 fint.s : 2.3
131 fint.s : 2.3
Dfplsp.doc124 The fabs/fadd/fdiv/fint/fintrz/fmul/fneg/fsqrt/fsub entry points
/Linux-v4.19/drivers/media/i2c/
Dov9650.c575 unsigned long fint, trow; in ov965x_update_exposure_ctrl() local
586 fint = ov965x->mclk_frequency * ((clkrc >> 7) + 1) / in ov965x_update_exposure_ctrl()
589 trow = (2 * 1520 * 1000000UL) / fint; in ov965x_update_exposure_ctrl()
595 clkrc, fint, trow, max); in ov965x_update_exposure_ctrl()
/Linux-v4.19/arch/m68k/ifpsp060/src/
Dpfpsp.S2488 # fint fcos fsincos
9650 # here. For norms, load the rounding mode/prec, execute a "fint", then #
Dfpsp.S2489 # fint fcos fsincos
11412 long fint - tbl_unsupp # 01: fint
13205 # fint(): emulates the fint instruction #
Dfplsp.S5547 # fint.x %fp2