Lines Matching refs:lck_div
3268 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()
3753 cinfo->lck_div = REG_GET(dispc, DISPC_DIVISORo(channel), 23, 16); in dispc_mgr_get_clock_div()
3756 cinfo->lck = fck / cinfo->lck_div; in dispc_mgr_get_clock_div()
4621 .lck_div = 1,