Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_pll.c42 unsigned long fint, clkdco, clkout; in hdmi_pll_compute() local
57 fint = clkin / n; in hdmi_pll_compute()
60 min_dco = roundup(hw->clkdco_min, fint); in hdmi_pll_compute()
66 m = target_clkdco / fint; in hdmi_pll_compute()
68 clkdco = fint * m; in hdmi_pll_compute()
71 if (WARN_ON(target_clkdco - clkdco > fint)) in hdmi_pll_compute()
74 mf = (u32)div_u64(262144ull * (target_clkdco - clkdco), fint); in hdmi_pll_compute()
77 clkdco += (u32)div_u64((u64)mf * fint, 262144); in hdmi_pll_compute()
82 sd = DIV_ROUND_UP(fint * m, 250000000); in hdmi_pll_compute()
86 DSSDBG("Fint %lu, clkdco %lu, clkout %lu\n", fint, clkdco, clkout); in hdmi_pll_compute()
[all …]
Dpll.c153 unsigned long fint, clkdco; in dss_pll_calc() local
168 fint = clkin / n; in dss_pll_calc()
170 m_start = max(DIV_ROUND_UP(DIV_ROUND_UP(pll_min, fint), 2), in dss_pll_calc()
172 m_stop = min3((unsigned)(pll_max / fint / 2), in dss_pll_calc()
173 (unsigned)(pll_hw_max / fint / 2), in dss_pll_calc()
177 clkdco = 2 * m * fint; in dss_pll_calc()
179 if (func(n, m, fint, clkdco, data)) in dss_pll_calc()
270 u32 f = cinfo->fint < 1000000 ? 0x3 : in dss_pll_write_config_type_a()
271 cinfo->fint < 1250000 ? 0x4 : in dss_pll_write_config_type_a()
272 cinfo->fint < 1500000 ? 0x5 : in dss_pll_write_config_type_a()
[all …]
Ddpi.c193 static bool dpi_calc_pll_cb(int n, int m, unsigned long fint, in dpi_calc_pll_cb() argument
201 ctx->dsi_cinfo.fint = fint; in dpi_calc_pll_cb()
Ddss.h110 unsigned long fint; member
457 typedef bool (*dss_pll_calc_func)(int n, int m, unsigned long fint,
Ddsi.c1480 seq_printf(s, "Fint\t\t%-16lun %u\n", cinfo->fint, cinfo->n); in dsi_dump_dsidev_clocks()
4435 static bool dsi_cm_calc_pll_cb(int n, int m, unsigned long fint, in dsi_cm_calc_pll_cb() argument
4442 ctx->dsi_cinfo.fint = fint; in dsi_cm_calc_pll_cb()
4733 static bool dsi_vm_calc_pll_cb(int n, int m, unsigned long fint, in dsi_vm_calc_pll_cb() argument
4740 ctx->dsi_cinfo.fint = fint; in dsi_vm_calc_pll_cb()
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/
Dpll.c212 unsigned long fint, clkdco; in dss_pll_calc_a() local
236 fint = clkin / n; in dss_pll_calc_a()
238 m_start = max(DIV_ROUND_UP(DIV_ROUND_UP(pll_min, fint), 2), in dss_pll_calc_a()
240 m_stop = min3((unsigned)(pll_max / fint / 2), in dss_pll_calc_a()
241 (unsigned)(pll_hw_max / fint / 2), in dss_pll_calc_a()
254 clkdco = 2 * m * fint; in dss_pll_calc_a()
256 if (func(n, m, fint, clkdco, data)) in dss_pll_calc_a()
275 unsigned long fint, clkdco, clkout; in dss_pll_calc_b() local
285 fint = clkin / n; in dss_pll_calc_b()
288 min_dco = roundup(hw->clkdco_min, fint); in dss_pll_calc_b()
[all …]
Ddpi.c192 static bool dpi_calc_pll_cb(int n, int m, unsigned long fint, in dpi_calc_pll_cb() argument
200 ctx->pll_cinfo.fint = fint; in dpi_calc_pll_cb()
Ddss.h131 unsigned long fint; member
514 typedef bool (*dss_pll_calc_func)(int n, int m, unsigned long fint,
Ddsi.c995 seq_printf(s, "Fint\t\t%-16lun %u\n", cinfo->fint, cinfo->n); in dsi_dump_dsi_clocks()
3689 static bool dsi_cm_calc_pll_cb(int n, int m, unsigned long fint, in dsi_cm_calc_pll_cb() argument
3697 ctx->dsi_cinfo.fint = fint; in dsi_cm_calc_pll_cb()
3989 static bool dsi_vm_calc_pll_cb(int n, int m, unsigned long fint, in dsi_vm_calc_pll_cb() argument
3997 ctx->dsi_cinfo.fint = fint; in dsi_vm_calc_pll_cb()
/linux-6.1.9/drivers/clk/ti/
Ddpll3xxx.c95 unsigned long fint; in _omap3_dpll_compute_freqsel() local
98 fint = clk_hw_get_rate(clk->dpll_data->clk_ref) / n; in _omap3_dpll_compute_freqsel()
100 pr_debug("clock: fint is %lu\n", fint); in _omap3_dpll_compute_freqsel()
102 if (fint >= 750000 && fint <= 1000000) in _omap3_dpll_compute_freqsel()
104 else if (fint > 1000000 && fint <= 1250000) in _omap3_dpll_compute_freqsel()
106 else if (fint > 1250000 && fint <= 1500000) in _omap3_dpll_compute_freqsel()
108 else if (fint > 1500000 && fint <= 1750000) in _omap3_dpll_compute_freqsel()
110 else if (fint > 1750000 && fint <= 2100000) in _omap3_dpll_compute_freqsel()
112 else if (fint > 7500000 && fint <= 10000000) in _omap3_dpll_compute_freqsel()
114 else if (fint > 10000000 && fint <= 12500000) in _omap3_dpll_compute_freqsel()
[all …]
Dclkt_dpll.c70 long fint, fint_min, fint_max; in _dpll_test_fint() local
76 fint = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)) / n; in _dpll_test_fint()
91 if (fint < ti_clk_get_features()->fint_min) { in _dpll_test_fint()
96 } else if (fint > ti_clk_get_features()->fint_max) { in _dpll_test_fint()
101 } else if (fint > ti_clk_get_features()->fint_band1_max && in _dpll_test_fint()
102 fint < ti_clk_get_features()->fint_band2_min) { in _dpll_test_fint()
Ddpll44xx.c92 long fint, fout; in omap4_dpll_lpmode_recalc() local
94 fint = clk_hw_get_rate(dd->clk_ref) / (dd->last_rounded_n + 1); in omap4_dpll_lpmode_recalc()
95 fout = fint * dd->last_rounded_m; in omap4_dpll_lpmode_recalc()
97 if ((fint < OMAP4_DPLL_LP_FINT_MAX) && (fout < OMAP4_DPLL_LP_FOUT_MAX)) in omap4_dpll_lpmode_recalc()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/media/i2c/
Dov9650.c563 unsigned long fint, trow; in ov965x_update_exposure_ctrl() local
574 fint = ov965x->mclk_frequency * ((clkrc >> 7) + 1) / in ov965x_update_exposure_ctrl()
577 trow = (2 * 1520 * 1000000UL) / fint; in ov965x_update_exposure_ctrl()
583 clkrc, fint, trow, max); in ov965x_update_exposure_ctrl()
/linux-6.1.9/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