Home
last modified time | relevance | path

Searched refs:mclk_div (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/sound/soc/sunxi/
Dsun4i-spdif.c264 u32 mclk_div = 0; in sun4i_spdif_hw_params() local
328 mclk_div = 8; in sun4i_spdif_hw_params()
331 mclk_div = 6; in sun4i_spdif_hw_params()
335 mclk_div = 4; in sun4i_spdif_hw_params()
339 mclk_div = 2; in sun4i_spdif_hw_params()
343 mclk_div = 1; in sun4i_spdif_hw_params()
353 reg_val |= SUN4I_SPDIF_TXCFG_TXRATIO(mclk_div - 1); in sun4i_spdif_hw_params()
Dsun4i-i2s.c296 int bclk_div, mclk_div; in sun4i_i2s_set_clk_rate() local
345 mclk_div = sun4i_i2s_get_mclk_div(i2s, clk_rate, i2s->mclk_freq); in sun4i_i2s_set_clk_rate()
346 if (mclk_div < 0) { in sun4i_i2s_set_clk_rate()
347 dev_err(dai->dev, "Unsupported MCLK divider: %d\n", mclk_div); in sun4i_i2s_set_clk_rate()
353 SUN4I_I2S_CLK_DIV_MCLK(mclk_div)); in sun4i_i2s_set_clk_rate()
/Linux-v5.4/sound/soc/codecs/
Dwm8804.c64 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()
Dwm8903.c1334 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()
Dcs42l42.c577 u8 mclk_div; member
634 (pll_ratio_table[i].mclk_div << in cs42l42_pll_config()
/Linux-v5.4/drivers/media/platform/marvell-ccic/
Dmmp-driver.c239 mcam->mclk_div = pdata->mclk_div; in mmpcam_probe()
251 mcam->mclk_div = 2; in mmpcam_probe()
Dmcam-core.h114 int mclk_div; /* Clock Divider Value for MCLK */ member
Dmcam-core.c943 int mclk_div; in mclk_enable() local
951 mclk_div = cam->mclk_div; in mclk_enable()
954 mclk_div = 2; in mclk_enable()
958 mcam_reg_write(cam, REG_CLKCTRL, (mclk_src << 29) | mclk_div); in mclk_enable()
/Linux-v5.4/include/linux/platform_data/media/
Dmmp-camera.h17 int mclk_div; /* Clock Divider Value for MCLK */ member
/Linux-v5.4/drivers/iio/adc/
Dad7768-1.c115 enum ad7768_mclk_div mclk_div; member
316 pwr_mode = AD7768_PWR_MCLK_DIV(ad7768_clk_config[idx].mclk_div) | in ad7768_set_freq()
/Linux-v5.4/drivers/video/fbdev/
Dcyber2000fb.c80 u_char mclk_div; member
511 cyber2000_grphw(EXT_MCLK_DIV, cfb->mclk_div, cfb); in cyber2000fb_set_timing()
1761 cfb->mclk_div = cyber2000_grphr(EXT_MCLK_DIV, cfb); in cyberpro_pci_probe()
1769 cfb->mclk_div = 0x54; in cyberpro_pci_probe()