/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dpi.c | 175 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 …]
|
D | manager.c | 205 if (cinfo.pck_div < 1 || cinfo.pck_div > 255) in dss_mgr_check_lcd_config()
|
D | sdi.c | 63 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()
|
D | dispc.c | 3297 u16 pck_div) in dispc_mgr_set_lcd_divisor() argument 3300 BUG_ON(pck_div < 1); in dispc_mgr_set_lcd_divisor() 3303 FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); in dispc_mgr_set_lcd_divisor() 3311 int *pck_div) in dispc_mgr_get_lcd_divisor() argument 3316 *pck_div = FLD_GET(l, 7, 0); in dispc_mgr_get_lcd_divisor() 3703 if (cinfo->pck_div < 1 || cinfo->pck_div > 255) in dispc_calc_clock_rates() 3707 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates() 3776 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div() 3778 dispc_mgr_set_lcd_divisor(channel, cinfo->lck_div, cinfo->pck_div); in dispc_mgr_set_clock_div() 3789 cinfo->pck_div = REG_GET(DISPC_DIVISORo(channel), 7, 0); in dispc_mgr_get_clock_div() [all …]
|
D | dss.h | 193 u16 pck_div; member
|
D | dsi.c | 4084 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()
|
D | apply.c | 186 mp->lcd_config.clock_info.pck_div = 1; in apply_init_priv()
|
/drivers/gpu/drm/omapdrm/dss/ |
D | dpi.c | 160 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb() 242 ctx->dispc_cinfo.pck_div = 1; in dpi_pll_clk_calc() 283 int *pck_div) in dpi_set_pll_clk() argument 303 *pck_div = ctx.dispc_cinfo.pck_div; in dpi_set_pll_clk() 309 unsigned long *fck, int *lck_div, int *pck_div) in dpi_set_dispc_clk() argument 327 *pck_div = ctx.dispc_cinfo.pck_div; in dpi_set_dispc_clk() 337 int lck_div = 0, pck_div = 0; in dpi_set_mode() local 344 &lck_div, &pck_div); in dpi_set_mode() 347 &lck_div, &pck_div); in dpi_set_mode() 351 pck = fck / lck_div / pck_div; in dpi_set_mode() [all …]
|
D | sdi.c | 63 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()
|
D | dispc.c | 3302 u16 pck_div) in dispc_mgr_set_lcd_divisor() argument 3305 BUG_ON(pck_div < 1); in dispc_mgr_set_lcd_divisor() 3308 FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); in dispc_mgr_set_lcd_divisor() 3316 int *pck_div) in dispc_mgr_get_lcd_divisor() argument 3321 *pck_div = FLD_GET(l, 7, 0); in dispc_mgr_get_lcd_divisor() 3685 if (cinfo->pck_div < 1 || cinfo->pck_div > 255) in dispc_calc_clock_rates() 3689 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates() 3758 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div() 3760 dispc_mgr_set_lcd_divisor(channel, cinfo->lck_div, cinfo->pck_div); in dispc_mgr_set_clock_div() 3771 cinfo->pck_div = REG_GET(DISPC_DIVISORo(channel), 7, 0); in dispc_mgr_get_clock_div() [all …]
|
D | dss.h | 205 u16 pck_div; member
|
D | dsi.c | 4083 dispc_cinfo.pck_div = dsi->user_dispc_cinfo.pck_div; in dsi_configure_dispc_clocks() 4418 ctx->dispc_cinfo.pck_div = pckd; in dsi_cm_calc_dispc_cb() 4702 ctx->dispc_cinfo.pck_div = pckd; in dsi_vm_calc_dispc_cb()
|
/drivers/video/fbdev/omap/ |
D | lcdc.c | 450 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()
|