/linux-5.19.10/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dpi.c | 164 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 …]
|
D | manager.c | 194 if (cinfo.pck_div < 1 || cinfo.pck_div > 255) in dss_mgr_check_lcd_config()
|
D | sdi.c | 52 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()
|
D | dispc.c | 3177 u16 pck_div) in dispc_mgr_set_lcd_divisor() argument 3180 BUG_ON(pck_div < 1); in dispc_mgr_set_lcd_divisor() 3183 FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); in dispc_mgr_set_lcd_divisor() 3191 int *pck_div) in dispc_mgr_get_lcd_divisor() argument 3196 *pck_div = FLD_GET(l, 7, 0); in dispc_mgr_get_lcd_divisor() 3583 if (cinfo->pck_div < 1 || cinfo->pck_div > 255) in dispc_calc_clock_rates() 3587 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates() 3656 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div() 3658 dispc_mgr_set_lcd_divisor(channel, cinfo->lck_div, cinfo->pck_div); in dispc_mgr_set_clock_div() 3669 cinfo->pck_div = REG_GET(DISPC_DIVISORo(channel), 7, 0); in dispc_mgr_get_clock_div() [all …]
|
D | dss.h | 171 u16 pck_div; member
|
D | dsi.c | 4068 dispc_cinfo.pck_div = dsi->user_dispc_cinfo.pck_div; in dsi_configure_dispc_clocks() 4403 ctx->dispc_cinfo.pck_div = pckd; in dsi_cm_calc_dispc_cb() 4687 ctx->dispc_cinfo.pck_div = pckd; in dsi_vm_calc_dispc_cb()
|
D | apply.c | 173 mp->lcd_config.clock_info.pck_div = 1; in apply_init_priv()
|
/linux-5.19.10/drivers/video/fbdev/omap/ |
D | lcdc.c | 439 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-5.19.10/drivers/gpu/drm/omapdrm/dss/ |
D | dpi.c | 170 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()
|
D | sdi.c | 55 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()
|
D | dispc.c | 3274 u16 pck_div) in dispc_mgr_set_lcd_divisor() argument 3277 BUG_ON(pck_div < 1); in dispc_mgr_set_lcd_divisor() 3280 FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); in dispc_mgr_set_lcd_divisor() 3289 int *pck_div) in dispc_mgr_get_lcd_divisor() argument 3294 *pck_div = FLD_GET(l, 7, 0); in dispc_mgr_get_lcd_divisor() 3670 if (cinfo->pck_div < 1 || cinfo->pck_div > 255) in dispc_calc_clock_rates() 3674 cinfo->pck = cinfo->lck / cinfo->pck_div; in dispc_calc_clock_rates() 3744 DSSDBG("pck = %lu (%u)\n", cinfo->pck, cinfo->pck_div); in dispc_mgr_set_clock_div() 3747 cinfo->pck_div); in dispc_mgr_set_clock_div() 3759 cinfo->pck_div = REG_GET(dispc, DISPC_DIVISORo(channel), 7, 0); in dispc_mgr_get_clock_div() [all …]
|
D | dss.h | 206 u16 pck_div; member
|
D | dsi.c | 3308 dispc_cinfo.pck_div = dsi->user_dispc_cinfo.pck_div; in dsi_configure_dispc_clocks() 3662 ctx->dispc_cinfo.pck_div = pckd; in dsi_cm_calc_dispc_cb() 3948 ctx->dispc_cinfo.pck_div = pckd; in dsi_vm_calc_dispc_cb()
|