Home
last modified time | relevance | path

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

/Linux-v6.6/sound/soc/xilinx/
Dxlnx_i2s.c98 unsigned int bits_per_sample, sclk, sclk_div; in xlnx_i2s_hw_params() local
106 sclk_div = drv_data->sysclk / sclk / 2; in xlnx_i2s_hw_params()
109 !sclk_div || (sclk_div & ~I2S_I2STIM_VALID_MASK)) { in xlnx_i2s_hw_params()
114 writel(sclk_div, drv_data->base + I2S_I2STIM_OFFSET); in xlnx_i2s_hw_params()
/Linux-v6.6/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c255 u32 total_x, total_y, vsync_ctrl, tmp, sclk_src, sclk_div, in path_set_mode() local
301 sclk_div = sclk_src / mode->pixclock_freq; in path_set_mode()
302 if (sclk_div * mode->pixclock_freq < sclk_src) in path_set_mode()
303 sclk_div++; in path_set_mode()
306 __func__, sclk_src, sclk_div, mode->pixclock_freq); in path_set_mode()
310 tmp |= sclk_div; in path_set_mode()
/Linux-v6.6/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()
/Linux-v6.6/drivers/media/i2c/
Dov5648.c547 unsigned int sclk_div; member
676 .sclk_div = 1,
690 .sclk_div = 1,
1291 OV5648_SRB_CTRL_SCLK_DIV(config->sclk_div) | in ov5648_mode_pll1_configure()
Dov8865.c575 unsigned int sclk_div; member
805 .sclk_div = 0,
1734 OV8865_SCLK_CTRL_SCLK_DIV(config->sclk_div) | in ov8865_mode_sclk_configure()
Dov5640.c1456 u8 bit_div, mipi_div, pclk_div, sclk_div, sclk2x_div, root_div; in ov5640_set_mipi_pclk() local
1506 sclk_div = ilog2(OV5640_SCLK_ROOT_DIV); in ov5640_set_mipi_pclk()
1543 (pclk_div << 4) | (sclk2x_div << 2) | sclk_div); in ov5640_set_mipi_pclk()