Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c261 u32 total_x, total_y, vsync_ctrl, tmp, sclk_src, sclk_div, in path_set_mode() local
305 sclk_div = sclk_src / mode->pixclock_freq; in path_set_mode()
306 if (sclk_div * mode->pixclock_freq < sclk_src) in path_set_mode()
307 sclk_div++; in path_set_mode()
310 __func__, sclk_src, sclk_div, mode->pixclock_freq); in path_set_mode()
314 tmp |= sclk_div; in path_set_mode()
/Linux-v4.19/sound/soc/samsung/
Dpcm.c267 int sclk_div, sync_div; in s3c_pcm_hw_params() local
291 sclk_div = clk_get_rate(clk) / pcm->sclk_per_fs / in s3c_pcm_hw_params()
296 clkctl |= ((sclk_div & S3C_PCM_CLKCTL_SCLKDIV_MASK) in s3c_pcm_hw_params()
313 sclk_div, sync_div); in s3c_pcm_hw_params()