/linux-master/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | hdmi_pll.c | 42 unsigned long fint, clkdco, clkout; local 57 fint = clkin / n; 60 min_dco = roundup(hw->clkdco_min, fint); 66 m = target_clkdco / fint; 68 clkdco = fint * m; 71 if (WARN_ON(target_clkdco - clkdco > fint)) 74 mf = (u32)div_u64(262144ull * (target_clkdco - clkdco), fint); 77 clkdco += (u32)div_u64((u64)mf * fint, 262144); 82 sd = DIV_ROUND_UP(fint * m, 250000000); 86 DSSDBG("Fint %lu, clkdco %lu, clkout %lu\n", fint, clkdc [all...] |
H A D | pll.c | 153 unsigned long fint, clkdco; local 168 fint = clkin / n; 170 m_start = max(DIV_ROUND_UP(DIV_ROUND_UP(pll_min, fint), 2), 172 m_stop = min3((unsigned)(pll_max / fint / 2), 173 (unsigned)(pll_hw_max / fint / 2), 177 clkdco = 2 * m * fint; 179 if (func(n, m, fint, clkdco, data)) 270 u32 f = cinfo->fint < 1000000 ? 0x3 : 271 cinfo->fint < 1250000 ? 0x4 : 272 cinfo->fint < 150000 [all...] |
H A D | dpi.c | 193 static bool dpi_calc_pll_cb(int n, int m, unsigned long fint, argument 201 ctx->dsi_cinfo.fint = fint;
|
H A D | dss.h | 110 unsigned long fint; member in struct:dss_pll_clock_info 457 typedef bool (*dss_pll_calc_func)(int n, int m, unsigned long fint,
|
H A D | dsi.c | 1480 seq_printf(s, "Fint\t\t%-16lun %u\n", cinfo->fint, cinfo->n); 4435 static bool dsi_cm_calc_pll_cb(int n, int m, unsigned long fint, argument 4442 ctx->dsi_cinfo.fint = fint; 4733 static bool dsi_vm_calc_pll_cb(int n, int m, unsigned long fint, argument 4740 ctx->dsi_cinfo.fint = fint;
|
/linux-master/drivers/gpu/drm/omapdrm/dss/ |
H A D | pll.c | 212 unsigned long fint, clkdco; local 236 fint = clkin / n; 238 m_start = max(DIV_ROUND_UP(DIV_ROUND_UP(pll_min, fint), 2), 240 m_stop = min3((unsigned)(pll_max / fint / 2), 241 (unsigned)(pll_hw_max / fint / 2), 254 clkdco = 2 * m * fint; 256 if (func(n, m, fint, clkdco, data)) 275 unsigned long fint, clkdco, clkout; local 285 fint = clkin / n; 288 min_dco = roundup(hw->clkdco_min, fint); [all...] |
H A D | dpi.c | 192 static bool dpi_calc_pll_cb(int n, int m, unsigned long fint, argument 200 ctx->pll_cinfo.fint = fint;
|
H A D | dss.h | 131 unsigned long fint; member in struct:dss_pll_clock_info 514 typedef bool (*dss_pll_calc_func)(int n, int m, unsigned long fint,
|
H A D | dsi.c | 995 seq_printf(s, "Fint\t\t%-16lun %u\n", cinfo->fint, cinfo->n); 3695 static bool dsi_cm_calc_pll_cb(int n, int m, unsigned long fint, argument 3703 ctx->dsi_cinfo.fint = fint; 3995 static bool dsi_vm_calc_pll_cb(int n, int m, unsigned long fint, argument 4003 ctx->dsi_cinfo.fint = fint;
|
/linux-master/drivers/clk/ti/ |
H A D | dpll3xxx.c | 95 unsigned long fint; local 98 fint = clk_hw_get_rate(clk->dpll_data->clk_ref) / n; 100 pr_debug("clock: fint is %lu\n", fint); 102 if (fint >= 750000 && fint <= 1000000) 104 else if (fint > 1000000 && fint <= 1250000) 106 else if (fint > 1250000 && fint < 249 unsigned long fint, clkinp; /* watch out for overflow */ local [all...] |
H A D | dpll44xx.c | 92 long fint, fout; local 94 fint = clk_hw_get_rate(dd->clk_ref) / (dd->last_rounded_n + 1); 95 fout = fint * dd->last_rounded_m; 97 if ((fint < OMAP4_DPLL_LP_FINT_MAX) && (fout < OMAP4_DPLL_LP_FOUT_MAX))
|
H A D | clkt_dpll.c | 70 long fint, fint_min, fint_max; local 76 fint = clk_hw_get_rate(clk_hw_get_parent(&clk->hw)) / n; 87 WARN(1, "No fint limits available!\n"); 91 if (fint < ti_clk_get_features()->fint_min) { 96 } else if (fint > ti_clk_get_features()->fint_max) { 101 } else if (fint > ti_clk_get_features()->fint_band1_max && 102 fint < ti_clk_get_features()->fint_band2_min) {
|
/linux-master/arch/m68k/fpsp040/ |
H A 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
|
H A D | sint.S | 9 | to emulate the fint and fintrz unimplemented instructions,
|
/linux-master/drivers/media/i2c/ |
H A D | ov9650.c | 561 unsigned long fint, trow; local 572 fint = ov965x->mclk_frequency * ((clkrc >> 7) + 1) / 575 trow = (2 * 1520 * 1000000UL) / fint; 581 clkrc, fint, trow, max);
|
/linux-master/arch/m68k/ifpsp060/src/ |
H A D | pfpsp.S | 2488 # fint fcos fsincos 4081 long fint - tbl_unsupp # 01: fint 9636 # fint(): emulates the fint instruction # 9650 # here. For norms, load the rounding mode/prec, execute a "fint", then # 9660 global fint 9661 fint: label 9674 fint.x SRC(%a0),%fp0 # execute fint [all...] |
H A D | fpsp.S | 2489 # fint fcos fsincos 4477 short tbl_trans - tbl_trans # $01-0 fint norm 4478 short tbl_trans - tbl_trans # $01-1 fint zero 4479 short tbl_trans - tbl_trans # $01-2 fint inf 4480 short tbl_trans - tbl_trans # $01-3 fint qnan 4481 short tbl_trans - tbl_trans # $01-5 fint denorm 4482 short tbl_trans - tbl_trans # $01-4 fint snan 4483 short tbl_trans - tbl_trans # $01-6 fint unnorm 5653 # fint.x %fp2 11412 long fint 13230 fint: label [all...] |
H A D | fplsp.S | 5547 # fint.x %fp2 10429 fint.s 0x4(%sp),%fp0 # fint w/ sgl src 10434 fint.d 0x4(%sp),%fp0 # fint w/ dbl src 10439 fint.x 0x4(%sp),%fp0 # fint w/ ext src
|