Home
last modified time | relevance | path

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

/linux-6.3-rc2/sound/soc/codecs/
A Dmax9850.c117 u64 lrclk_div; in max9850_hw_params() local
125 lrclk_div = (1 << 22); in max9850_hw_params()
126 lrclk_div *= params_rate(params); in max9850_hw_params()
127 lrclk_div *= sf; in max9850_hw_params()
128 do_div(lrclk_div, max9850->sysclk); in max9850_hw_params()
130 snd_soc_component_write(component, MAX9850_LRCLK_MSB, (lrclk_div >> 8) & 0x7f); in max9850_hw_params()
131 snd_soc_component_write(component, MAX9850_LRCLK_LSB, lrclk_div & 0xff); in max9850_hw_params()
A Dpcm512x.c902 int lrclk_div; in pcm512x_set_dividers() local
914 lrclk_div = pcm512x->bclk_ratio; in pcm512x_set_dividers()
916 lrclk_div = snd_soc_params_to_frame_size(params); in pcm512x_set_dividers()
918 if (lrclk_div == 0) { in pcm512x_set_dividers()
926 bclk_rate = params_rate(params) * lrclk_div; in pcm512x_set_dividers()
999 sample_rate = sck_rate / bclk_div / lrclk_div; in pcm512x_set_dividers()
1120 PCM512x_MASTER_CLKDIV_2, lrclk_div - 1); in pcm512x_set_dividers()
1158 dev_dbg(component->dev, "LRCK divider %d\n", lrclk_div); in pcm512x_set_dividers()
/linux-6.3-rc2/sound/soc/amd/vangogh/
A Dacp5x.h108 u32 lrclk_div; member
220 mclkgen.bits.i2stdm_lrclk_div_val = rtd->lrclk_div; in acp5x_set_i2s_clk()
A Dacp5x-i2s.c226 rtd->lrclk_div = lrclk_div_val; in acp5x_i2s_hwparams()
/linux-6.3-rc2/sound/soc/amd/acp/
A Damd.h144 u32 lrclk_div; member
249 mclkgen.bits.i2stdm_lrclk_div_val = adata->lrclk_div; in acp_set_i2s_clk()
A Dacp-i2s.c252 adata->lrclk_div = lrclk_div_val; in acp_i2s_hwparams()

Completed in 14 milliseconds