Home
last modified time | relevance | path

Searched refs:pck_div (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/
Ddpi.c168 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb()
244 ctx->dispc_cinfo.pck_div = 1; in dpi_pll_clk_calc()
288 int *pck_div) in dpi_set_pll_clk() argument
308 *pck_div = ctx.dispc_cinfo.pck_div; in dpi_set_pll_clk()
314 unsigned long *fck, int *lck_div, int *pck_div) in dpi_set_dispc_clk() argument
332 *pck_div = ctx.dispc_cinfo.pck_div; in dpi_set_dispc_clk()
339 int lck_div = 0, pck_div = 0; in dpi_set_mode() local
345 dpi->pixelclock, &fck, &lck_div, &pck_div); in dpi_set_mode()
348 &lck_div, &pck_div); in dpi_set_mode()
467 int lck_div, pck_div; in dpi_check_timings() local
[all …]
Dsdi.c51 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb()
222 pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; in sdi_check_timings()
Ddispc.c3261 u16 pck_div) in dispc_mgr_set_lcd_divisor() argument
3264 BUG_ON(pck_div < 1); in dispc_mgr_set_lcd_divisor()
3267 FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); in dispc_mgr_set_lcd_divisor()
3276 int *pck_div) in dispc_mgr_get_lcd_divisor() argument
3281 *pck_div = FLD_GET(l, 7, 0); in dispc_mgr_get_lcd_divisor()
3657 if (cinfo->pck_div < 1 || cinfo->pck_div > 255) in dispc_calc_clock_rates()
3661 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3731 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div()
3734 cinfo->pck_div); in dispc_mgr_set_clock_div()
3746 cinfo->pck_div = REG_GET(dispc, DISPC_DIVISORo(channel), 7, 0); in dispc_mgr_get_clock_div()
[all …]
Ddss.h206 u16 pck_div; member
Ddsi.c3976 dispc_cinfo.pck_div = dsi->user_dispc_cinfo.pck_div; in dsi_configure_dispc_clocks()
4304 ctx->dispc_cinfo.pck_div = pckd; in dsi_cm_calc_dispc_cb()
4591 ctx->dispc_cinfo.pck_div = pckd; in dsi_vm_calc_dispc_cb()
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Ddpi.c164 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb()
273 int *pck_div) in dpi_set_dsi_clk() argument
294 *pck_div = ctx.dispc_cinfo.pck_div; in dpi_set_dsi_clk()
300 unsigned long *fck, int *lck_div, int *pck_div) in dpi_set_dispc_clk() argument
318 *pck_div = ctx.dispc_cinfo.pck_div; in dpi_set_dispc_clk()
328 int lck_div = 0, pck_div = 0; in dpi_set_mode() local
335 &lck_div, &pck_div); in dpi_set_mode()
338 &lck_div, &pck_div); in dpi_set_mode()
342 pck = fck / lck_div / pck_div; in dpi_set_mode()
499 int lck_div, pck_div; in dpi_check_timings() local
[all …]
Dmanager.c194 if (cinfo.pck_div < 1 || cinfo.pck_div > 255) in dss_mgr_check_lcd_config()
Dsdi.c52 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb()
151 pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; in sdi_display_enable()
Ddispc.c3288 u16 pck_div) in dispc_mgr_set_lcd_divisor() argument
3291 BUG_ON(pck_div < 1); in dispc_mgr_set_lcd_divisor()
3294 FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); in dispc_mgr_set_lcd_divisor()
3302 int *pck_div) in dispc_mgr_get_lcd_divisor() argument
3307 *pck_div = FLD_GET(l, 7, 0); in dispc_mgr_get_lcd_divisor()
3694 if (cinfo->pck_div < 1 || cinfo->pck_div > 255) in dispc_calc_clock_rates()
3698 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3767 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div()
3769 dispc_mgr_set_lcd_divisor(channel, cinfo->lck_div, cinfo->pck_div); in dispc_mgr_set_clock_div()
3780 cinfo->pck_div = REG_GET(DISPC_DIVISORo(channel), 7, 0); in dispc_mgr_get_clock_div()
[all …]
Ddss.h182 u16 pck_div; member
Ddsi.c4073 dispc_cinfo.pck_div = dsi->user_dispc_cinfo.pck_div; in dsi_configure_dispc_clocks()
4408 ctx->dispc_cinfo.pck_div = pckd; in dsi_cm_calc_dispc_cb()
4692 ctx->dispc_cinfo.pck_div = pckd; in dsi_vm_calc_dispc_cb()
Dapply.c175 mp->lcd_config.clock_info.pck_div = 1; in apply_init_priv()
/Linux-v5.4/drivers/video/fbdev/omap/
Dlcdc.c437 static void calc_ck_div(int is_tft, int pck, int *pck_div) in calc_ck_div() argument
443 *pck_div = (lck + pck - 1) / pck; in calc_ck_div()
445 *pck_div = max(2, *pck_div); in calc_ck_div()
447 *pck_div = max(3, *pck_div); in calc_ck_div()
448 if (*pck_div > 255) { in calc_ck_div()
450 *pck_div = 255; in calc_ck_div()