Searched refs:lrclk_div (Results 1 – 4 of 4) sorted by relevance
117 u64 lrclk_div; in max9850_hw_params() local125 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()
902 int lrclk_div; in pcm512x_set_dividers() local914 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()
108 u32 lrclk_div; member220 mclkgen.bits.i2stdm_lrclk_div_val = rtd->lrclk_div; in acp5x_set_i2s_clk()
226 rtd->lrclk_div = lrclk_div_val; in acp5x_i2s_hwparams()