Lines Matching refs:bclk_rate
78 int bclk_rate[WM8996_AIFS]; member
1534 int aif, best, cur_val, bclk_rate, bclk_reg, i; in wm8996_update_bclk() local
1552 bclk_rate = wm8996->bclk_rate[aif]; in wm8996_update_bclk()
1557 cur_val = (wm8996->sysclk / bclk_divs[i]) - bclk_rate; in wm8996_update_bclk()
1562 bclk_rate = wm8996->sysclk / bclk_divs[best]; in wm8996_update_bclk()
1564 bclk_divs[best], bclk_rate); in wm8996_update_bclk()
1735 int bits, i, bclk_rate, best; in wm8996_hw_params() local
1769 bclk_rate = snd_soc_params_to_bclk(params); in wm8996_hw_params()
1770 if (bclk_rate < 0) { in wm8996_hw_params()
1771 dev_err(component->dev, "Unsupported BCLK rate: %d\n", bclk_rate); in wm8996_hw_params()
1772 return bclk_rate; in wm8996_hw_params()
1775 wm8996->bclk_rate[dai->id] = bclk_rate; in wm8996_hw_params()
1794 lrclk = bclk_rate / params_rate(params); in wm8996_hw_params()
1796 lrclk, bclk_rate / lrclk); in wm8996_hw_params()