Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A 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 …]
H A Dmanager.c194 if (cinfo.pck_div < 1 || cinfo.pck_div > 255) in dss_mgr_check_lcd_config()
H A 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()
H A Ddispc.c3175 u16 pck_div) in dispc_mgr_set_lcd_divisor() argument
3178 BUG_ON(pck_div < 1); in dispc_mgr_set_lcd_divisor()
3181 FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); in dispc_mgr_set_lcd_divisor()
3189 int *pck_div) in dispc_mgr_get_lcd_divisor() argument
3194 *pck_div = FLD_GET(l, 7, 0); in dispc_mgr_get_lcd_divisor()
3581 if (cinfo->pck_div < 1 || cinfo->pck_div > 255) in dispc_calc_clock_rates()
3585 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3654 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div()
3656 dispc_mgr_set_lcd_divisor(channel, cinfo->lck_div, cinfo->pck_div); in dispc_mgr_set_clock_div()
3667 cinfo->pck_div = REG_GET(DISPC_DIVISORo(channel), 7, 0); in dispc_mgr_get_clock_div()
[all …]
H A Ddss.h171 u16 pck_div; member
H A Ddsi.c4075 dispc_cinfo.pck_div = dsi->user_dispc_cinfo.pck_div; in dsi_configure_dispc_clocks()
4410 ctx->dispc_cinfo.pck_div = pckd; in dsi_cm_calc_dispc_cb()
4694 ctx->dispc_cinfo.pck_div = pckd; in dsi_vm_calc_dispc_cb()
H A Dapply.c173 mp->lcd_config.clock_info.pck_div = 1; in apply_init_priv()
/linux/drivers/video/fbdev/omap/
H A Dlcdc.c439 static void calc_ck_div(int is_tft, int pck, int *pck_div) in calc_ck_div() argument
445 *pck_div = (lck + pck - 1) / pck; in calc_ck_div()
447 *pck_div = max(2, *pck_div); in calc_ck_div()
449 *pck_div = max(3, *pck_div); in calc_ck_div()
450 if (*pck_div > 255) { in calc_ck_div()
452 *pck_div = 255; in calc_ck_div()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddpi.c170 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb()
246 ctx->dispc_cinfo.pck_div = 1; in dpi_pll_clk_calc()
357 int lck_div, pck_div; in dpi_clock_update() local
374 pck_div = ctx.dispc_cinfo.pck_div; in dpi_clock_update()
376 *clock = fck / lck_div / pck_div; in dpi_clock_update()
H A Dsdi.c55 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb()
177 pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; in sdi_bridge_mode_fixup()
H A Ddispc.c3269 u16 pck_div) in dispc_mgr_set_lcd_divisor() argument
3272 BUG_ON(pck_div < 1); in dispc_mgr_set_lcd_divisor()
3275 FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); in dispc_mgr_set_lcd_divisor()
3284 int *pck_div) in dispc_mgr_get_lcd_divisor() argument
3289 *pck_div = FLD_GET(l, 7, 0); in dispc_mgr_get_lcd_divisor()
3665 if (cinfo->pck_div < 1 || cinfo->pck_div > 255) in dispc_calc_clock_rates()
3669 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates()
3739 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div()
3742 cinfo->pck_div); in dispc_mgr_set_clock_div()
3754 cinfo->pck_div = REG_GET(dispc, DISPC_DIVISORo(channel), 7, 0); in dispc_mgr_get_clock_div()
[all …]
H A Ddss.h206 u16 pck_div; member
H A Ddsi.c3314 dispc_cinfo.pck_div = dsi->user_dispc_cinfo.pck_div; in dsi_configure_dispc_clocks()
3668 ctx->dispc_cinfo.pck_div = pckd; in dsi_cm_calc_dispc_cb()
3954 ctx->dispc_cinfo.pck_div = pckd; in dsi_vm_calc_dispc_cb()