Searched refs:lck_div (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dpi.c | 163 ctx->dispc_cinfo.lck_div = lckd; in dpi_calc_dispc_cb() 272 unsigned long pck_req, unsigned long *fck, int *lck_div, in dpi_set_dsi_clk() argument 293 *lck_div = ctx.dispc_cinfo.lck_div; in dpi_set_dsi_clk() 300 unsigned long *fck, int *lck_div, int *pck_div) in dpi_set_dispc_clk() argument 317 *lck_div = ctx.dispc_cinfo.lck_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 | 191 if (cinfo.lck_div < 1 || cinfo.lck_div > 255) in dss_mgr_check_lcd_config()
|
D | sdi.c | 51 ctx->dispc_cinfo.lck_div = lckd; in dpi_calc_dispc_cb() 151 pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; in sdi_display_enable()
|
D | dispc.c | 3176 static void dispc_mgr_set_lcd_divisor(enum omap_channel channel, u16 lck_div, in dispc_mgr_set_lcd_divisor() argument 3179 BUG_ON(lck_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() 3187 dispc.core_clk_rate = dispc_fclk_rate() / lck_div; in dispc_mgr_set_lcd_divisor() 3190 static void dispc_mgr_get_lcd_divisor(enum omap_channel channel, int *lck_div, in dispc_mgr_get_lcd_divisor() argument 3195 *lck_div = FLD_GET(l, 23, 16); in dispc_mgr_get_lcd_divisor() 3581 if (cinfo->lck_div > 255 || cinfo->lck_div == 0) in dispc_calc_clock_rates() 3586 cinfo->lck = dispc_fclk_rate / cinfo->lck_div; in dispc_calc_clock_rates() 3655 DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_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() [all …]
|
D | dss.h | 170 u16 lck_div; member
|
D | dsi.c | 4075 dispc_cinfo.lck_div = dsi->user_dispc_cinfo.lck_div; in dsi_configure_dispc_clocks() 4410 ctx->dispc_cinfo.lck_div = lckd; in dsi_cm_calc_dispc_cb() 4694 ctx->dispc_cinfo.lck_div = lckd; in dsi_vm_calc_dispc_cb()
|
D | apply.c | 174 mp->lcd_config.clock_info.lck_div = 1; in apply_init_priv()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
D | dpi.c | 169 ctx->dispc_cinfo.lck_div = lckd; in dpi_calc_dispc_cb() 245 ctx->dispc_cinfo.lck_div = 1; in dpi_pll_clk_calc() 357 int lck_div, pck_div; in dpi_clock_update() local 373 lck_div = ctx.dispc_cinfo.lck_div; in dpi_clock_update() 376 *clock = fck / lck_div / pck_div; in dpi_clock_update()
|
D | sdi.c | 54 ctx->dispc_cinfo.lck_div = lckd; in dpi_calc_dispc_cb() 177 pck = fck / dispc_cinfo.lck_div / dispc_cinfo.pck_div; in sdi_bridge_mode_fixup()
|
D | dispc.c | 3241 enum omap_channel channel, u16 lck_div, in dispc_mgr_set_lcd_divisor() argument 3244 BUG_ON(lck_div < 1); in dispc_mgr_set_lcd_divisor() 3248 FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); in dispc_mgr_set_lcd_divisor() 3252 dispc->core_clk_rate = dispc_fclk_rate(dispc) / lck_div; in dispc_mgr_set_lcd_divisor() 3256 enum omap_channel channel, int *lck_div, in dispc_mgr_get_lcd_divisor() argument 3261 *lck_div = FLD_GET(l, 23, 16); in dispc_mgr_get_lcd_divisor() 3636 if (cinfo->lck_div > 255 || cinfo->lck_div == 0) in dispc_calc_clock_rates() 3641 cinfo->lck = dispc_fclk_rate / cinfo->lck_div; in dispc_calc_clock_rates() 3711 DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_div); in dispc_mgr_set_clock_div() 3714 dispc_mgr_set_lcd_divisor(dispc, channel, cinfo->lck_div, in dispc_mgr_set_clock_div() [all …]
|
D | dss.h | 205 u16 lck_div; member
|
D | dsi.c | 3974 dispc_cinfo.lck_div = dsi->user_dispc_cinfo.lck_div; in dsi_configure_dispc_clocks() 4302 ctx->dispc_cinfo.lck_div = lckd; in dsi_cm_calc_dispc_cb() 4589 ctx->dispc_cinfo.lck_div = lckd; in dsi_vm_calc_dispc_cb()
|