Searched refs:mclk_div (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/sound/soc/intel/boards/ |
D | sof_wm8804.c | 59 int mclk_div; in sof_wm8804_hw_params() local 72 mclk_div = WM8804_MCLKDIV_256FS; in sof_wm8804_hw_params() 75 mclk_div = WM8804_MCLKDIV_128FS; in sof_wm8804_hw_params() 126 snd_soc_dai_set_clkdiv(codec_dai, WM8804_MCLK_DIV, mclk_div); in sof_wm8804_hw_params()
|
/linux-6.1.9/sound/soc/sunxi/ |
D | sun4i-spdif.c | 267 u32 mclk_div = 0; in sun4i_spdif_hw_params() local 331 mclk_div = 8; in sun4i_spdif_hw_params() 334 mclk_div = 6; in sun4i_spdif_hw_params() 338 mclk_div = 4; in sun4i_spdif_hw_params() 342 mclk_div = 2; in sun4i_spdif_hw_params() 346 mclk_div = 1; in sun4i_spdif_hw_params() 356 reg_val |= SUN4I_SPDIF_TXCFG_TXRATIO(mclk_div - 1); in sun4i_spdif_hw_params()
|
D | sun4i-i2s.c | 343 int bclk_div, mclk_div; in sun4i_i2s_set_clk_rate() local 392 mclk_div = sun4i_i2s_get_mclk_div(i2s, clk_rate, i2s->mclk_freq); in sun4i_i2s_set_clk_rate() 393 if (mclk_div < 0) { in sun4i_i2s_set_clk_rate() 394 dev_err(dai->dev, "Unsupported MCLK divider: %d\n", mclk_div); in sun4i_i2s_set_clk_rate() 400 SUN4I_I2S_CLK_DIV_MCLK(mclk_div)); in sun4i_i2s_set_clk_rate()
|
/linux-6.1.9/sound/soc/codecs/ |
D | src4xxx.c | 222 unsigned int mclk_div; in src4xxx_hw_params() local 237 mclk_div = src4xxx->mclk_hz/params_rate(params); in src4xxx_hw_params() 238 if (src4xxx->mclk_hz != mclk_div*params_rate(params)) { in src4xxx_hw_params() 245 val = ((int)mclk_div - 128) / 128; in src4xxx_hw_params()
|
D | wm8804.c | 64 int mclk_div; member 345 unsigned int source, unsigned int mclk_div) in pll_factors() argument 358 (mclk_div == post_table[i].mclkdiv)) { in pll_factors() 420 wm8804->mclk_div); in wm8804_set_pll() 497 wm8804->mclk_div = div; in wm8804_set_clkdiv()
|
D | wm8903.c | 1334 int mclk_div; member 1513 (clk_sys_ratios[0].mclk_div * in wm8903_hw_params() 1517 (clk_sys_ratios[i].mclk_div * in wm8903_hw_params() 1526 if (clk_sys_ratios[clk_config].mclk_div == 2) { in wm8903_hw_params()
|
/linux-6.1.9/drivers/media/platform/marvell/ |
D | mmp-driver.c | 199 mcam->mclk_div = pdata->mclk_div; in mmpcam_probe() 211 mcam->mclk_div = 2; in mmpcam_probe()
|
D | mcam-core.h | 114 int mclk_div; /* Clock Divider Value for MCLK */ member
|
D | mcam-core.c | 920 int mclk_div; in mclk_enable() local 929 mclk_div = cam->mclk_div; in mclk_enable() 932 mclk_div = 2; in mclk_enable() 939 mcam_reg_write(cam, REG_CLKCTRL, (mclk_src << 29) | mclk_div); in mclk_enable()
|
/linux-6.1.9/include/linux/platform_data/media/ |
D | mmp-camera.h | 17 int mclk_div; /* Clock Divider Value for MCLK */ member
|
/linux-6.1.9/drivers/iio/adc/ |
D | ad7768-1.c | 115 enum ad7768_mclk_div mclk_div; member 321 pwr_mode = AD7768_PWR_MCLK_DIV(ad7768_clk_config[idx].mclk_div) | in ad7768_set_freq()
|
/linux-6.1.9/drivers/video/fbdev/ |
D | cyber2000fb.c | 80 u_char mclk_div; member 511 cyber2000_grphw(EXT_MCLK_DIV, cfb->mclk_div, cfb); in cyber2000fb_set_timing() 1767 cfb->mclk_div = cyber2000_grphr(EXT_MCLK_DIV, cfb); in cyberpro_pci_probe() 1775 cfb->mclk_div = 0x54; in cyberpro_pci_probe()
|