Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A 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 …]
H A Dmanager.c191 if (cinfo.lck_div < 1 || cinfo.lck_div > 255) in dss_mgr_check_lcd_config()
H A 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()
H A 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 …]
H A Ddss.h170 u16 lck_div; member
H A Ddsi.c4074 dispc_cinfo.lck_div = dsi->user_dispc_cinfo.lck_div; in dsi_configure_dispc_clocks()
4409 ctx->dispc_cinfo.lck_div = lckd; in dsi_cm_calc_dispc_cb()
4693 ctx->dispc_cinfo.lck_div = lckd; in dsi_vm_calc_dispc_cb()
H A Dapply.c172 mp->lcd_config.clock_info.lck_div = 1; in apply_init_priv()
/linux/drivers/gpu/drm/omapdrm/dss/
H A 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()
H A 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()
H A Ddispc.c3268 enum omap_channel channel, u16 lck_div, in dispc_mgr_set_lcd_divisor() argument
3271 BUG_ON(lck_div < 1); in dispc_mgr_set_lcd_divisor()
3275 FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); in dispc_mgr_set_lcd_divisor()
3279 dispc->core_clk_rate = dispc_fclk_rate(dispc) / lck_div; in dispc_mgr_set_lcd_divisor()
3283 enum omap_channel channel, int *lck_div, in dispc_mgr_get_lcd_divisor() argument
3288 *lck_div = FLD_GET(l, 23, 16); in dispc_mgr_get_lcd_divisor()
3663 if (cinfo->lck_div > 255 || cinfo->lck_div == 0) in dispc_calc_clock_rates()
3668 cinfo->lck = dispc_fclk_rate / cinfo->lck_div; in dispc_calc_clock_rates()
3738 DSSDBG("lck = %lu (%u)\n", cinfo->lck, cinfo->lck_div); in dispc_mgr_set_clock_div()
3741 dispc_mgr_set_lcd_divisor(dispc, channel, cinfo->lck_div, in dispc_mgr_set_clock_div()
[all …]
H A Ddss.h205 u16 lck_div; member
H A Ddsi.c3313 dispc_cinfo.lck_div = dsi->user_dispc_cinfo.lck_div; in dsi_configure_dispc_clocks()
3667 ctx->dispc_cinfo.lck_div = lckd; in dsi_cm_calc_dispc_cb()
3953 ctx->dispc_cinfo.lck_div = lckd; in dsi_vm_calc_dispc_cb()