Searched refs:sclk_div (Results 1 – 7 of 7) sorted by relevance
/linux/sound/soc/xilinx/ |
H A D | xlnx_i2s.c | 98 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/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.c | 255 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/sound/soc/samsung/ |
H A D | pcm.c | 267 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/drivers/tty/serial/ |
H A D | esp32_uart.c | 368 u32 sclk_div = div / port_variant(port)->clkdiv_mask; in esp32_uart_set_baud() local 371 sclk /= (sclk_div + 1); in esp32_uart_set_baud() 375 FIELD_PREP(ESP32S3_UART_SCLK_DIV_NUM, sclk_div) | in esp32_uart_set_baud()
|
/linux/drivers/media/i2c/ |
H A D | ov5648.c | 547 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()
|
H A D | ov8865.c | 575 unsigned int sclk_div; member 805 .sclk_div = 0, 1734 OV8865_SCLK_CTRL_SCLK_DIV(config->sclk_div) | in ov8865_mode_sclk_configure()
|
H A D | ov5640.c | 1456 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()
|