Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/
H A Datmel_lcdfb.c390 unsigned long clk_value_khz; in atmel_lcdfb_check_var() local
392 clk_value_khz = clk_get_rate(sinfo->lcdc_clk) / 1000; in atmel_lcdfb_check_var()
407 dev_dbg(dev, " clk: %lu KHz\n", clk_value_khz); in atmel_lcdfb_check_var()
409 if (PICOS2KHZ(var->pixclock) > clk_value_khz) { in atmel_lcdfb_check_var()
545 unsigned long clk_value_khz; in atmel_lcdfb_set_par() local
583 clk_value_khz = clk_get_rate(sinfo->lcdc_clk) / 1000; in atmel_lcdfb_set_par()
585 value = DIV_ROUND_UP(clk_value_khz, PICOS2KHZ(info->var.pixclock)); in atmel_lcdfb_set_par()
597 KHZ2PICOS(clk_value_khz / (pix_factor * (value + 1))); in atmel_lcdfb_set_par()