Lines Matching full:bclk
133 int bclk; member
613 * - 10 * bclk = sysclk / bclk_divs
619 * @bclk_idx: bclk_divs index for found bclk
623 * >=0, in case we could derive bclk and lrclk from sysclk using
630 int sysclk, bclk, lrclk; in wm8960_configure_sysclk() local
637 bclk = wm8960->bclk; in wm8960_configure_sysclk()
649 diff = sysclk - bclk * bclk_divs[k] / 10; in wm8960_configure_sysclk()
671 * - 10 * sysclk = bclk * bclk_divs
673 * If we cannot find an exact match for (sysclk, lrclk, bclk)
674 * triplet, we relax the bclk such that bclk is chosen as the
675 * closest available frequency greater than expected bclk.
681 * @bclk_idx: bclk_divs index for found bclk
685 * >=0, in case we could derive bclk, lrclk, sysclk from PLL out using
693 int sysclk, bclk, lrclk, freq_out; in wm8960_configure_pll() local
697 bclk = wm8960->bclk; in wm8960_configure_pll()
721 diff = sysclk - bclk * bclk_divs[k] / 10; in wm8960_configure_pll()
826 wm8960->bclk = snd_soc_params_to_bclk(params); in wm8960_hw_params()
828 wm8960->bclk *= 2; in wm8960_hw_params()