Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddpi.c178 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb()
254 ctx->dispc_cinfo.pck_div = 1; in dpi_pll_clk_calc()
298 int *pck_div) in dpi_set_pll_clk() argument
318 *pck_div = ctx.dispc_cinfo.pck_div; in dpi_set_pll_clk()
324 unsigned long *fck, int *lck_div, int *pck_div) in dpi_set_dispc_clk() argument
342 *pck_div = ctx.dispc_cinfo.pck_div; in dpi_set_dispc_clk()
350 int lck_div = 0, pck_div = 0; in dpi_set_mode() local
357 vm->pixelclock, &fck, &lck_div, &pck_div); in dpi_set_mode()
360 &lck_div, &pck_div); in dpi_set_mode()
364 pck = fck / lck_div / pck_div; in dpi_set_mode()
[all …]
Dsdi.c62 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb()
163 pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; in sdi_display_enable()
Ddispc.c3287 u16 pck_div) in dispc_mgr_set_lcd_divisor() argument
3290 BUG_ON(pck_div < 1); in dispc_mgr_set_lcd_divisor()
3293 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()
3683 if (cinfo->pck_div < 1 || cinfo->pck_div > 255) in dispc_calc_clock_rates()
3687 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3757 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div()
3760 cinfo->pck_div); in dispc_mgr_set_clock_div()
3772 cinfo->pck_div = REG_GET(dispc, DISPC_DIVISORo(channel), 7, 0); in dispc_mgr_get_clock_div()
[all …]
Ddss.h217 u16 pck_div; member
Ddsi.c4089 dispc_cinfo.pck_div = dsi->user_dispc_cinfo.pck_div; in dsi_configure_dispc_clocks()
4420 ctx->dispc_cinfo.pck_div = pckd; in dsi_cm_calc_dispc_cb()
4707 ctx->dispc_cinfo.pck_div = pckd; in dsi_vm_calc_dispc_cb()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddpi.c175 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb()
284 int *pck_div) in dpi_set_dsi_clk() argument
305 *pck_div = ctx.dispc_cinfo.pck_div; in dpi_set_dsi_clk()
311 unsigned long *fck, int *lck_div, int *pck_div) in dpi_set_dispc_clk() argument
329 *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
346 &lck_div, &pck_div); in dpi_set_mode()
349 &lck_div, &pck_div); in dpi_set_mode()
353 pck = fck / lck_div / pck_div; in dpi_set_mode()
510 int lck_div, pck_div; in dpi_check_timings() local
[all …]
Dmanager.c205 if (cinfo.pck_div < 1 || cinfo.pck_div > 255) in dss_mgr_check_lcd_config()
Dsdi.c63 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb()
162 pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; in sdi_display_enable()
Ddispc.c3299 u16 pck_div) in dispc_mgr_set_lcd_divisor() argument
3302 BUG_ON(pck_div < 1); in dispc_mgr_set_lcd_divisor()
3305 FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); in dispc_mgr_set_lcd_divisor()
3313 int *pck_div) in dispc_mgr_get_lcd_divisor() argument
3318 *pck_div = FLD_GET(l, 7, 0); in dispc_mgr_get_lcd_divisor()
3705 if (cinfo->pck_div < 1 || cinfo->pck_div > 255) in dispc_calc_clock_rates()
3709 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3778 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div()
3780 dispc_mgr_set_lcd_divisor(channel, cinfo->lck_div, cinfo->pck_div); in dispc_mgr_set_clock_div()
3791 cinfo->pck_div = REG_GET(DISPC_DIVISORo(channel), 7, 0); in dispc_mgr_get_clock_div()
[all …]
Ddss.h193 u16 pck_div; member
Ddsi.c4084 dispc_cinfo.pck_div = dsi->user_dispc_cinfo.pck_div; in dsi_configure_dispc_clocks()
4419 ctx->dispc_cinfo.pck_div = pckd; in dsi_cm_calc_dispc_cb()
4703 ctx->dispc_cinfo.pck_div = pckd; in dsi_vm_calc_dispc_cb()
Dapply.c186 mp->lcd_config.clock_info.pck_div = 1; in apply_init_priv()
/Linux-v4.19/drivers/video/fbdev/omap/
Dlcdc.c450 static void calc_ck_div(int is_tft, int pck, int *pck_div) in calc_ck_div() argument
456 *pck_div = (lck + pck - 1) / pck; in calc_ck_div()
458 *pck_div = max(2, *pck_div); in calc_ck_div()
460 *pck_div = max(3, *pck_div); in calc_ck_div()
461 if (*pck_div > 255) { in calc_ck_div()
463 *pck_div = 255; in calc_ck_div()