Home
last modified time | relevance | path

Searched refs:pck_min (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddpi.c147 unsigned long pck_min, pck_max; member
166 if (ctx->pck_min >= 100000000) { in dpi_calc_dispc_cb()
193 if (m_dispc > 1 && m_dispc % 2 != 0 && ctx->pck_min >= 100000000) in dpi_calc_hsdiv_cb()
199 return dispc_div_calc(dispc, ctx->pck_min, ctx->pck_max, in dpi_calc_hsdiv_cb()
216 ctx->pck_min, dss_feat_get_param_max(FEAT_PARAM_DSS_FCK), in dpi_calc_pll_cb()
226 return dispc_div_calc(fck, ctx->pck_min, ctx->pck_max, in dpi_calc_dss_cb()
238 ctx->pck_min = pck - 1000; in dpi_dsi_clk_calc()
267 ctx->pck_min = max(pck - 1000 * i * i * i, 0lu); in dpi_dss_clk_calc()
269 ctx->pck_min = 0; in dpi_dss_clk_calc()
272 ok = dss_div_calc(pck, ctx->pck_min, dpi_calc_dss_cb, ctx); in dpi_dss_clk_calc()
Dsdi.c51 unsigned long pck_min, pck_max; member
76 return dispc_div_calc(fck, ctx->pck_min, ctx->pck_max, in dpi_calc_dss_cb()
99 ctx.pck_min = max(pclk - 1000 * i * i * i, 0lu); in sdi_calc_clock_div()
101 ctx.pck_min = 0; in sdi_calc_clock_div()
104 ok = dss_div_calc(pclk, ctx.pck_min, dpi_calc_dss_cb, &ctx); in sdi_calc_clock_div()
Ddss.h397 unsigned long pck_min, unsigned long pck_max,
Ddispc.c3715 unsigned long pck_min, unsigned long pck_max, in dispc_div_calc() argument
3737 pck_min = pck_min ? pck_min : 1; in dispc_div_calc()
3741 lckd_stop = min(dispc / pck_min, 255ul); in dispc_div_calc()
3747 pckd_stop = min(lck / pck_min, pckd_hw_max); in dispc_div_calc()
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddpi.c150 unsigned long pck_min, pck_max; member
169 if (ctx->pck_min >= 100000000) { in dpi_calc_dispc_cb()
195 ctx->pck_min, ctx->pck_max, in dpi_calc_hsdiv_cb()
212 ctx->pck_min, dss_get_max_fck_rate(ctx->dpi->dss), in dpi_calc_pll_cb()
223 ctx->pck_min, ctx->pck_max, in dpi_calc_dss_cb()
241 ctx->pck_min = pck - 1000; in dpi_pll_clk_calc()
280 ctx->pck_min = max(pck - 1000 * i * i * i, 0lu); in dpi_dss_clk_calc()
282 ctx->pck_min = 0; in dpi_dss_clk_calc()
285 ok = dss_div_calc(dpi->dss, pck, ctx->pck_min, in dpi_dss_clk_calc()
Dsdi.c50 unsigned long pck_min, pck_max; member
76 ctx->pck_min, ctx->pck_max, in dpi_calc_dss_cb()
102 ctx.pck_min = max(pclk - 1000 * i * i * i, 0lu); in sdi_calc_clock_div()
104 ctx.pck_min = 0; in sdi_calc_clock_div()
107 ok = dss_div_calc(sdi->dss, pclk, ctx.pck_min, in sdi_calc_clock_div()
Ddss.h417 unsigned long pck_min, unsigned long pck_max,
Ddispc.c3693 unsigned long pck_min, unsigned long pck_max, in dispc_div_calc() argument
3715 pck_min = pck_min ? pck_min : 1; in dispc_div_calc()
3719 lckd_stop = min(dispc_freq / pck_min, 255ul); in dispc_div_calc()
3725 pckd_stop = min(lck / pck_min, pckd_hw_max); in dispc_div_calc()