Home
last modified time | relevance | path

Searched refs:lck_div (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/
Ddpi.c163 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 …]
Dmanager.c191 if (cinfo.lck_div < 1 || cinfo.lck_div > 255) in dss_mgr_check_lcd_config()
Dsdi.c51 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()
Ddispc.c3174 static void dispc_mgr_set_lcd_divisor(enum omap_channel channel, u16 lck_div, in dispc_mgr_set_lcd_divisor() argument
3177 BUG_ON(lck_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()
3185 dispc.core_clk_rate = dispc_fclk_rate() / lck_div; in dispc_mgr_set_lcd_divisor()
3188 static void dispc_mgr_get_lcd_divisor(enum omap_channel channel, int *lck_div, in dispc_mgr_get_lcd_divisor() argument
3193 *lck_div = FLD_GET(l, 23, 16); in dispc_mgr_get_lcd_divisor()
3579 if (cinfo->lck_div > 255 || cinfo->lck_div == 0) in dispc_calc_clock_rates()
3584 cinfo->lck = dispc_fclk_rate / cinfo->lck_div; in dispc_calc_clock_rates()
3653 DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_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()
[all …]
Ddss.h170 u16 lck_div; member
Ddsi.c4073 dispc_cinfo.lck_div = dsi->user_dispc_cinfo.lck_div; in dsi_configure_dispc_clocks()
4408 ctx->dispc_cinfo.lck_div = lckd; in dsi_cm_calc_dispc_cb()
4692 ctx->dispc_cinfo.lck_div = lckd; in dsi_vm_calc_dispc_cb()
Dapply.c172 mp->lcd_config.clock_info.lck_div = 1; in apply_init_priv()
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/
Ddpi.c169 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()
Dsdi.c54 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()
Ddispc.c3273 enum omap_channel channel, u16 lck_div, in dispc_mgr_set_lcd_divisor() argument
3276 BUG_ON(lck_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()
3284 dispc->core_clk_rate = dispc_fclk_rate(dispc) / lck_div; in dispc_mgr_set_lcd_divisor()
3288 enum omap_channel channel, int *lck_div, in dispc_mgr_get_lcd_divisor() argument
3293 *lck_div = FLD_GET(l, 23, 16); in dispc_mgr_get_lcd_divisor()
3668 if (cinfo->lck_div > 255 || cinfo->lck_div == 0) in dispc_calc_clock_rates()
3673 cinfo->lck = dispc_fclk_rate / cinfo->lck_div; in dispc_calc_clock_rates()
3743 DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_div); in dispc_mgr_set_clock_div()
3746 dispc_mgr_set_lcd_divisor(dispc, channel, cinfo->lck_div, in dispc_mgr_set_clock_div()
[all …]
Ddss.h205 u16 lck_div; member
Ddsi.c3307 dispc_cinfo.lck_div = dsi->user_dispc_cinfo.lck_div; in dsi_configure_dispc_clocks()
3661 ctx->dispc_cinfo.lck_div = lckd; in dsi_cm_calc_dispc_cb()
3947 ctx->dispc_cinfo.lck_div = lckd; in dsi_vm_calc_dispc_cb()