Lines Matching refs:bclk
1568 int lrclk, bclk, fmt_val; in wm2200_set_fmt() local
1571 bclk = 0; in wm2200_set_fmt()
1593 bclk |= WM2200_AIF1_BCLK_MSTR; in wm2200_set_fmt()
1597 bclk |= WM2200_AIF1_BCLK_MSTR; in wm2200_set_fmt()
1609 bclk |= WM2200_AIF1_BCLK_INV; in wm2200_set_fmt()
1613 bclk |= WM2200_AIF1_BCLK_INV; in wm2200_set_fmt()
1623 WM2200_AIF1_BCLK_INV, bclk); in wm2200_set_fmt()
1701 int i, bclk, lrclk, wl, fl, sr_code; in wm2200_hw_params() local
1716 bclk = snd_soc_params_to_bclk(params); in wm2200_hw_params()
1717 if (bclk < 0) in wm2200_hw_params()
1718 return bclk; in wm2200_hw_params()
1736 bclk, wm2200->sysclk); in wm2200_hw_params()
1744 if (bclk_rates[i] >= bclk && (bclk_rates[i] % bclk == 0)) in wm2200_hw_params()
1749 bclk, wm2200->sysclk); in wm2200_hw_params()
1753 bclk = i; in wm2200_hw_params()
1754 dev_dbg(codec->dev, "Setting %dHz BCLK\n", bclk_rates[bclk]); in wm2200_hw_params()
1756 WM2200_AIF1_BCLK_DIV_MASK, bclk); in wm2200_hw_params()
1758 lrclk = bclk_rates[bclk] / params_rate(params); in wm2200_hw_params()
1759 dev_dbg(codec->dev, "Setting %dHz LRCLK\n", bclk_rates[bclk] / lrclk); in wm2200_hw_params()