Lines Matching refs:dspclk
2406 int dspclk, i; in wm8962_configure_bclk() local
2447 dspclk = snd_soc_component_read(component, WM8962_CLOCKING1); in wm8962_configure_bclk()
2453 if (dspclk < 0) { in wm8962_configure_bclk()
2454 dev_err(component->dev, "Failed to read DSPCLK: %d\n", dspclk); in wm8962_configure_bclk()
2458 dspclk = (dspclk & WM8962_DSPCLK_DIV_MASK) >> WM8962_DSPCLK_DIV_SHIFT; in wm8962_configure_bclk()
2459 switch (dspclk) { in wm8962_configure_bclk()
2461 dspclk = wm8962->sysclk_rate; in wm8962_configure_bclk()
2464 dspclk = wm8962->sysclk_rate / 2; in wm8962_configure_bclk()
2467 dspclk = wm8962->sysclk_rate / 4; in wm8962_configure_bclk()
2471 dspclk = wm8962->sysclk_rate; in wm8962_configure_bclk()
2474 dev_dbg(component->dev, "DSPCLK is %dHz, BCLK %d\n", dspclk, wm8962->bclk); in wm8962_configure_bclk()
2481 if (dspclk / bclk_divs[i] == wm8962->bclk) { in wm8962_configure_bclk()
2490 dspclk / wm8962->bclk); in wm8962_configure_bclk()