Searched refs:lrclk_div (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/sound/soc/codecs/ |
D | max9850.c | 117 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()
|
D | pcm512x.c | 903 int lrclk_div; in pcm512x_set_dividers() local 915 lrclk_div = pcm512x->bclk_ratio; in pcm512x_set_dividers() 917 lrclk_div = snd_soc_params_to_frame_size(params); in pcm512x_set_dividers() 919 if (lrclk_div == 0) { in pcm512x_set_dividers() 927 bclk_rate = params_rate(params) * lrclk_div; in pcm512x_set_dividers() 1000 sample_rate = sck_rate / bclk_div / lrclk_div; in pcm512x_set_dividers() 1121 PCM512x_MASTER_CLKDIV_2, lrclk_div - 1); in pcm512x_set_dividers() 1159 dev_dbg(component->dev, "LRCK divider %d\n", lrclk_div); in pcm512x_set_dividers()
|
/linux-6.12.1/sound/soc/amd/vangogh/ |
D | acp5x.h | 108 u32 lrclk_div; member 222 mclkgen.bits.i2stdm_lrclk_div_val = rtd->lrclk_div; in acp5x_set_i2s_clk()
|
D | acp5x-i2s.c | 226 rtd->lrclk_div = lrclk_div_val; in acp5x_i2s_hwparams()
|
/linux-6.12.1/sound/soc/amd/acp/ |
D | acp-i2s.c | 65 val |= FIELD_PREP(ACP63_LRCLK_DIV_FIELD, adata->lrclk_div); in acp_set_i2s_clk() 69 val |= FIELD_PREP(LRCLK_DIV_FIELD, adata->lrclk_div); in acp_set_i2s_clk() 379 adata->lrclk_div = lrclk_div_val; in acp_i2s_hwparams()
|
D | amd.h | 199 u32 lrclk_div; member
|