Home
last modified time | relevance | path

Searched refs:clkdiv (Results 1 – 3 of 3) sorted by relevance

/sound/soc/adi/
Daxi-spdif.c80 unsigned int clkdiv, stat; in axi_spdif_hw_params() local
97 clkdiv = DIV_ROUND_CLOSEST(clk_get_rate(spdif->clk_ref), in axi_spdif_hw_params()
99 clkdiv <<= AXI_SPDIF_CTRL_CLKDIV_OFFSET; in axi_spdif_hw_params()
103 AXI_SPDIF_CTRL_CLKDIV_MASK, clkdiv); in axi_spdif_hw_params()
/sound/soc/codecs/
Dadau1701.c300 static int adau1701_reset(struct snd_soc_component *component, unsigned int clkdiv, in adau1701_reset() argument
308 if (clkdiv != ADAU1707_CLKDIV_UNSET && in adau1701_reset()
311 switch (clkdiv) { in adau1701_reset()
332 adau1701->pll_clkdiv = clkdiv; in adau1701_reset()
347 if (clkdiv != ADAU1707_CLKDIV_UNSET) { in adau1701_reset()
439 unsigned int clkdiv = adau1701->sysclk / params_rate(params); in adau1701_hw_params() local
448 if (clkdiv != adau1701->pll_clkdiv) { in adau1701_hw_params()
449 ret = adau1701_reset(component, clkdiv, params_rate(params)); in adau1701_hw_params()
/sound/soc/intel/skylake/
Dskl-nhlt.c313 u32 clkdiv, div_ratio; in skl_get_mclk() local
324 clkdiv = i2s_config->mclk.mdivr & in skl_get_mclk()
329 clkdiv = i2s_config_ext->mclk.mdivr[0] & in skl_get_mclk()
336 if (clkdiv != SKL_MCLK_DIV_RATIO_MASK) in skl_get_mclk()
338 div_ratio = clkdiv + 2; in skl_get_mclk()