Lines Matching refs:lcdc_clk_div
697 unsigned lcdc_clk_div, in da8xx_fb_config_clk_divider() argument
714 lcdc_write(LCD_CLK_DIVISOR(lcdc_clk_div) | in da8xx_fb_config_clk_divider()
728 unsigned lcdc_clk_div; in da8xx_fb_calc_clk_divider() local
737 lcdc_clk_div = CLK_MAX_DIV; in da8xx_fb_calc_clk_divider()
741 lcdc_clk_div = CLK_MIN_DIV; in da8xx_fb_calc_clk_divider()
743 lcdc_clk_div = *lcdc_clk_rate / pixclock; in da8xx_fb_calc_clk_divider()
746 return lcdc_clk_div; in da8xx_fb_calc_clk_divider()
753 unsigned lcdc_clk_div = da8xx_fb_calc_clk_divider(par, mode->pixclock, in da8xx_fb_calc_config_clk_divider() local
756 return da8xx_fb_config_clk_divider(par, lcdc_clk_div, lcdc_clk_rate); in da8xx_fb_calc_config_clk_divider()
762 unsigned lcdc_clk_div, lcdc_clk_rate; in da8xx_fb_round_clk() local
764 lcdc_clk_div = da8xx_fb_calc_clk_divider(par, pixclock, &lcdc_clk_rate); in da8xx_fb_round_clk()
765 return KHZ2PICOS(lcdc_clk_rate / (1000 * lcdc_clk_div)); in da8xx_fb_round_clk()