Searched refs:bclk_divs (Results 1 – 8 of 8) sorted by relevance
134 } bclk_divs[] = { variable1045 for (i = 0; i < ARRAY_SIZE(bclk_divs); i++) { in wm9081_hw_params()1046 cur_val = ((wm9081->sysclk_rate * 10) / bclk_divs[i].div) in wm9081_hw_params()1055 wm9081->bclk = (wm9081->sysclk_rate * 10) / bclk_divs[best].div; in wm9081_hw_params()1057 bclk_divs[best].div, wm9081->bclk); in wm9081_hw_params()1058 aif3 |= bclk_divs[best].bclk_div; in wm9081_hw_params()
207 } bclk_divs[] = { variable1264 for (i = 0; i < ARRAY_SIZE(bclk_divs); i++) { in wm8993_hw_params()1265 cur_val = ((wm8993->sysclk_rate * 10) / bclk_divs[i].div) in wm8993_hw_params()1274 wm8993->bclk = (wm8993->sysclk_rate * 10) / bclk_divs[best].div; in wm8993_hw_params()1276 bclk_divs[best].div, wm8993->bclk); in wm8993_hw_params()1277 clocking1 |= bclk_divs[best].bclk_div << WM8993_BCLK_DIV_SHIFT; in wm8993_hw_params()
1402 } bclk_divs[] = { variable1556 best_val = ((clk_sys * 10) / bclk_divs[0].ratio) - bclk; in wm8903_hw_params()1558 while (i < ARRAY_SIZE(bclk_divs)) { in wm8903_hw_params()1559 cur_val = ((clk_sys * 10) / bclk_divs[i].ratio) - bclk; in wm8903_hw_params()1571 bclk_divs[bclk_div].ratio / 10, bclk, in wm8903_hw_params()1572 (clk_sys * 10) / bclk_divs[bclk_div].ratio); in wm8903_hw_params()1574 aif2 |= bclk_divs[bclk_div].div; in wm8903_hw_params()
149 static const int bclk_divs[] = { variable721 for (i = 0; i < ARRAY_SIZE(bclk_divs); ++i) { in wm8985_hw_params()722 if (wm8985->bclk == tmp / bclk_divs[i]) in wm8985_hw_params()726 if (i == ARRAY_SIZE(bclk_divs)) { in wm8985_hw_params()
1099 static const int bclk_divs[] = { variable1213 for (i = 0; i < ARRAY_SIZE(bclk_divs); i++) { in wm8995_hw_params()1214 cur_val = (wm8995->aifclk[dai->id] * 10 / bclk_divs[i]) - bclk_rate; in wm8995_hw_params()1221 bclk_rate = wm8995->aifclk[dai->id] * 10 / bclk_divs[best]; in wm8995_hw_params()1223 bclk_divs[best], bclk_rate); in wm8995_hw_params()
1514 } bclk_divs[] = { variable1626 for (i = 0; i < ARRAY_SIZE(bclk_divs); i++) { in wm8904_hw_params()1627 cur_val = ((wm8904->sysclk_rate * 10) / bclk_divs[i].div) in wm8904_hw_params()1636 wm8904->bclk = (wm8904->sysclk_rate * 10) / bclk_divs[best].div; in wm8904_hw_params()1638 bclk_divs[best].div, wm8904->bclk); in wm8904_hw_params()1639 aif2 |= bclk_divs[best].bclk_div; in wm8904_hw_params()
2744 static const int bclk_divs[] = { variable2785 for (i = 0; i < ARRAY_SIZE(bclk_divs); i++) { in wm8962_configure_bclk()2786 if (bclk_divs[i] < 0) in wm8962_configure_bclk()2789 if (dspclk / bclk_divs[i] == wm8962->bclk) { in wm8962_configure_bclk()2791 bclk_divs[i], wm8962->bclk); in wm8962_configure_bclk()2796 if (i == ARRAY_SIZE(bclk_divs)) { in wm8962_configure_bclk()
2316 static int bclk_divs[] = { variable2445 for (i = 0; i < ARRAY_SIZE(bclk_divs); i++) { in wm8994_hw_params()2446 cur_val = (wm8994->aifclk[id] * 10 / bclk_divs[i]) - bclk_rate; in wm8994_hw_params()2451 bclk_rate = wm8994->aifclk[id] * 10 / bclk_divs[best]; in wm8994_hw_params()2453 bclk_divs[best], bclk_rate); in wm8994_hw_params()