/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/ |
D | dpi.c | 177 ctx->dispc_cinfo.lck_div = lckd; in dpi_calc_dispc_cb() 253 ctx->dispc_cinfo.lck_div = 1; in dpi_pll_clk_calc() 297 unsigned long pck_req, unsigned long *fck, int *lck_div, in dpi_set_pll_clk() argument 317 *lck_div = ctx.dispc_cinfo.lck_div; in dpi_set_pll_clk() 324 unsigned long *fck, int *lck_div, int *pck_div) in dpi_set_dispc_clk() argument 341 *lck_div = ctx.dispc_cinfo.lck_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 …]
|
D | sdi.c | 61 ctx->dispc_cinfo.lck_div = lckd; in dpi_calc_dispc_cb() 163 pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; in sdi_display_enable()
|
D | dispc.c | 3286 enum omap_channel channel, u16 lck_div, in dispc_mgr_set_lcd_divisor() argument 3289 BUG_ON(lck_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() 3297 dispc->core_clk_rate = dispc_fclk_rate(dispc) / lck_div; in dispc_mgr_set_lcd_divisor() 3301 enum omap_channel channel, int *lck_div, in dispc_mgr_get_lcd_divisor() argument 3306 *lck_div = FLD_GET(l, 23, 16); in dispc_mgr_get_lcd_divisor() 3681 if (cinfo->lck_div > 255 || cinfo->lck_div == 0) in dispc_calc_clock_rates() 3686 cinfo->lck = dispc_fclk_rate / cinfo->lck_div; in dispc_calc_clock_rates() 3756 DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_div); in dispc_mgr_set_clock_div() 3759 dispc_mgr_set_lcd_divisor(dispc, channel, cinfo->lck_div, in dispc_mgr_set_clock_div() [all …]
|
D | dss.h | 216 u16 lck_div; member
|
D | dsi.c | 4088 dispc_cinfo.lck_div = dsi->user_dispc_cinfo.lck_div; in dsi_configure_dispc_clocks() 4419 ctx->dispc_cinfo.lck_div = lckd; in dsi_cm_calc_dispc_cb() 4706 ctx->dispc_cinfo.lck_div = lckd; in dsi_vm_calc_dispc_cb()
|
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dpi.c | 174 ctx->dispc_cinfo.lck_div = lckd; in dpi_calc_dispc_cb() 283 unsigned long pck_req, unsigned long *fck, int *lck_div, in dpi_set_dsi_clk() argument 304 *lck_div = ctx.dispc_cinfo.lck_div; in dpi_set_dsi_clk() 311 unsigned long *fck, int *lck_div, int *pck_div) in dpi_set_dispc_clk() argument 328 *lck_div = ctx.dispc_cinfo.lck_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 | 202 if (cinfo.lck_div < 1 || cinfo.lck_div > 255) in dss_mgr_check_lcd_config()
|
D | sdi.c | 62 ctx->dispc_cinfo.lck_div = lckd; in dpi_calc_dispc_cb() 162 pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; in sdi_display_enable()
|
D | dispc.c | 3298 static void dispc_mgr_set_lcd_divisor(enum omap_channel channel, u16 lck_div, in dispc_mgr_set_lcd_divisor() argument 3301 BUG_ON(lck_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() 3309 dispc.core_clk_rate = dispc_fclk_rate() / lck_div; in dispc_mgr_set_lcd_divisor() 3312 static void dispc_mgr_get_lcd_divisor(enum omap_channel channel, int *lck_div, in dispc_mgr_get_lcd_divisor() argument 3317 *lck_div = FLD_GET(l, 23, 16); in dispc_mgr_get_lcd_divisor() 3703 if (cinfo->lck_div > 255 || cinfo->lck_div == 0) in dispc_calc_clock_rates() 3708 cinfo->lck = dispc_fclk_rate / cinfo->lck_div; in dispc_calc_clock_rates() 3777 DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_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() [all …]
|
D | dss.h | 192 u16 lck_div; member
|
D | dsi.c | 4083 dispc_cinfo.lck_div = dsi->user_dispc_cinfo.lck_div; in dsi_configure_dispc_clocks() 4418 ctx->dispc_cinfo.lck_div = lckd; in dsi_cm_calc_dispc_cb() 4702 ctx->dispc_cinfo.lck_div = lckd; in dsi_vm_calc_dispc_cb()
|
D | apply.c | 185 mp->lcd_config.clock_info.lck_div = 1; in apply_init_priv()
|