bclk_rate 97 arch/sh/kernel/cpu/sh4/clock-sh4-202.c unsigned long bclk_rate = clk_get_rate(bclk); bclk_rate 101 arch/sh/kernel/cpu/sh4/clock-sh4-202.c if (rate > bclk_rate) bclk_rate 60 include/sound/sof/dai-intel.h uint32_t bclk_rate; /* bclk frequency in Hz */ bclk_rate 344 include/uapi/sound/asoc.h __le32 bclk_rate; /* BCLK freqency in Hz */ bclk_rate 93 sound/soc/adi/axi-i2s.c unsigned int bclk_rate; bclk_rate 95 sound/soc/adi/axi-i2s.c bclk_rate = params_rate(params) * AXI_I2S_BITS_PER_FRAME; bclk_rate 98 sound/soc/adi/axi-i2s.c bclk_div = DIV_ROUND_UP(clk_get_rate(i2s->clk_ref), bclk_rate) / 2 - 1; bclk_rate 100 sound/soc/amd/acp-da7219-max98357a.c int wclk_rate, int bclk_rate) bclk_rate 106 sound/soc/amd/acp-da7219-max98357a.c clk_set_rate(da7219_dai_bclk, bclk_rate); bclk_rate 488 sound/soc/atmel/atmel_ssc_dai.c int bclk_rate = snd_soc_params_to_bclk(params); bclk_rate 490 sound/soc/atmel/atmel_ssc_dai.c if (bclk_rate < 0) { bclk_rate 492 sound/soc/atmel/atmel_ssc_dai.c bclk_rate); bclk_rate 493 sound/soc/atmel/atmel_ssc_dai.c return bclk_rate; bclk_rate 496 sound/soc/atmel/atmel_ssc_dai.c cmr_div = DIV_ROUND_CLOSEST(ssc_p->mck_rate, 2 * bclk_rate); bclk_rate 495 sound/soc/atmel/mchp-i2s-mcc.c unsigned int bclk_rate; bclk_rate 629 sound/soc/atmel/mchp-i2s-mcc.c bclk_rate = frame_length * params_rate(params); bclk_rate 630 sound/soc/atmel/mchp-i2s-mcc.c ret = mchp_i2s_mcc_config_divs(dev, bclk_rate, &mra, bclk_rate 336 sound/soc/bcm/bcm2835-i2s.c int frame_length, bclk_rate; bclk_rate 366 sound/soc/bcm/bcm2835-i2s.c bclk_rate = dev->frame_length * params_rate(params); bclk_rate 377 sound/soc/bcm/bcm2835-i2s.c bclk_rate = snd_soc_params_to_bclk(params); bclk_rate 378 sound/soc/bcm/bcm2835-i2s.c if (bclk_rate < 0) bclk_rate 379 sound/soc/bcm/bcm2835-i2s.c return bclk_rate; bclk_rate 416 sound/soc/bcm/bcm2835-i2s.c (!dev->clk_prepared || dev->clk_rate != bclk_rate)) { bclk_rate 420 sound/soc/bcm/bcm2835-i2s.c if (dev->clk_rate != bclk_rate) { bclk_rate 421 sound/soc/bcm/bcm2835-i2s.c ret = clk_set_rate(dev->clk, bclk_rate); bclk_rate 424 sound/soc/bcm/bcm2835-i2s.c dev->clk_rate = bclk_rate; bclk_rate 605 sound/soc/bcm/bcm2835-i2s.c params_rate(params), bclk_rate); bclk_rate 676 sound/soc/codecs/cx2072x.c unsigned int bclk_rate = 0; bclk_rate 834 sound/soc/codecs/cx2072x.c bclk_rate = cx2072x->sample_rate * frame_len; bclk_rate 843 sound/soc/codecs/cx2072x.c mod = do_div(div, bclk_rate); bclk_rate 845 sound/soc/codecs/cx2072x.c dev_err(dev, "Unsupported BCLK %dHz\n", bclk_rate); bclk_rate 848 sound/soc/codecs/cx2072x.c dev_dbg(dev, "enables BCLK %dHz output\n", bclk_rate); bclk_rate 1423 sound/soc/codecs/da7219.c unsigned long sr, bclk_rate; bclk_rate 1468 sound/soc/codecs/da7219.c bclk_rate = sr * frame_size; bclk_rate 1469 sound/soc/codecs/da7219.c ret = clk_set_rate(bclk, bclk_rate); bclk_rate 1473 sound/soc/codecs/da7219.c bclk_rate, ret); bclk_rate 1560 sound/soc/codecs/da7219.c unsigned long sr, bclk_rate; bclk_rate 1619 sound/soc/codecs/da7219.c bclk_rate = frame_size * sr; bclk_rate 1628 sound/soc/codecs/da7219.c bclk_rate = clk_round_rate(bclk, bclk_rate); bclk_rate 1629 sound/soc/codecs/da7219.c if ((bclk_rate / sr) < frame_size) { bclk_rate 1635 sound/soc/codecs/da7219.c ret = clk_set_rate(bclk, bclk_rate); bclk_rate 1639 sound/soc/codecs/da7219.c bclk_rate, ret); bclk_rate 702 sound/soc/codecs/pcm512x.c unsigned long bclk_rate) bclk_rate 717 sound/soc/codecs/pcm512x.c pow2 = 1 << fls((pcm512x_pll_max(pcm512x) - 16000000) / bclk_rate); bclk_rate 720 sound/soc/codecs/pcm512x.c bclk_rate * pow2); bclk_rate 895 sound/soc/codecs/pcm512x.c unsigned long bclk_rate; bclk_rate 924 sound/soc/codecs/pcm512x.c bclk_rate = params_rate(params) * lrclk_div; bclk_rate 925 sound/soc/codecs/pcm512x.c bclk_div = DIV_ROUND_CLOSEST(sck_rate, bclk_rate); bclk_rate 938 sound/soc/codecs/pcm512x.c bclk_rate = ret; bclk_rate 942 sound/soc/codecs/pcm512x.c sck_rate = pcm512x_find_sck(dai, bclk_rate); bclk_rate 988 sound/soc/codecs/pcm512x.c bclk_div = DIV_ROUND_CLOSEST(sck_rate, bclk_rate); bclk_rate 34 sound/soc/codecs/rt5631.c int bclk_rate; bclk_rate 1358 sound/soc/codecs/rt5631.c rt5631->bclk_rate = snd_soc_params_to_bclk(params); bclk_rate 1359 sound/soc/codecs/rt5631.c if (rt5631->bclk_rate < 0) { bclk_rate 1361 sound/soc/codecs/rt5631.c return rt5631->bclk_rate; bclk_rate 1367 sound/soc/codecs/rt5631.c rt5631->bclk_rate / rt5631->rx_rate); bclk_rate 2790 sound/soc/codecs/wm8994.c int i, cur_val, best_val, bclk_rate, best; bclk_rate 2823 sound/soc/codecs/wm8994.c bclk_rate = params_rate(params); bclk_rate 2826 sound/soc/codecs/wm8994.c bclk_rate *= 16; bclk_rate 2829 sound/soc/codecs/wm8994.c bclk_rate *= 20; bclk_rate 2833 sound/soc/codecs/wm8994.c bclk_rate *= 24; bclk_rate 2837 sound/soc/codecs/wm8994.c bclk_rate *= 32; bclk_rate 2855 sound/soc/codecs/wm8994.c bclk_rate *= 2; bclk_rate 2858 sound/soc/codecs/wm8994.c bclk_rate *= 4; bclk_rate 2872 sound/soc/codecs/wm8994.c dai->id, wm8994->aifclk[id], bclk_rate); bclk_rate 2906 sound/soc/codecs/wm8994.c cur_val = (wm8994->aifclk[id] * 10 / bclk_divs[i]) - bclk_rate; bclk_rate 2911 sound/soc/codecs/wm8994.c bclk_rate = wm8994->aifclk[id] * 10 / bclk_divs[best]; bclk_rate 2913 sound/soc/codecs/wm8994.c bclk_divs[best], bclk_rate); bclk_rate 2916 sound/soc/codecs/wm8994.c lrclk = bclk_rate / params_rate(params); bclk_rate 2919 sound/soc/codecs/wm8994.c bclk_rate); bclk_rate 2923 sound/soc/codecs/wm8994.c lrclk, bclk_rate / lrclk); bclk_rate 1553 sound/soc/codecs/wm8995.c int bclk_rate; bclk_rate 1590 sound/soc/codecs/wm8995.c bclk_rate = snd_soc_params_to_bclk(params); bclk_rate 1591 sound/soc/codecs/wm8995.c if (bclk_rate < 0) bclk_rate 1592 sound/soc/codecs/wm8995.c return bclk_rate; bclk_rate 1626 sound/soc/codecs/wm8995.c dai->id + 1, wm8995->aifclk[dai->id], bclk_rate); bclk_rate 1654 sound/soc/codecs/wm8995.c cur_val = (wm8995->aifclk[dai->id] * 10 / bclk_divs[i]) - bclk_rate; bclk_rate 1661 sound/soc/codecs/wm8995.c bclk_rate = wm8995->aifclk[dai->id] * 10 / bclk_divs[best]; bclk_rate 1663 sound/soc/codecs/wm8995.c bclk_divs[best], bclk_rate); bclk_rate 1665 sound/soc/codecs/wm8995.c lrclk = bclk_rate / params_rate(params); bclk_rate 1667 sound/soc/codecs/wm8995.c lrclk, bclk_rate / lrclk); bclk_rate 78 sound/soc/codecs/wm8996.c int bclk_rate[WM8996_AIFS]; bclk_rate 1534 sound/soc/codecs/wm8996.c int aif, best, cur_val, bclk_rate, bclk_reg, i; bclk_rate 1552 sound/soc/codecs/wm8996.c bclk_rate = wm8996->bclk_rate[aif]; bclk_rate 1557 sound/soc/codecs/wm8996.c cur_val = (wm8996->sysclk / bclk_divs[i]) - bclk_rate; bclk_rate 1562 sound/soc/codecs/wm8996.c bclk_rate = wm8996->sysclk / bclk_divs[best]; bclk_rate 1564 sound/soc/codecs/wm8996.c bclk_divs[best], bclk_rate); bclk_rate 1735 sound/soc/codecs/wm8996.c int bits, i, bclk_rate, best; bclk_rate 1769 sound/soc/codecs/wm8996.c bclk_rate = snd_soc_params_to_bclk(params); bclk_rate 1770 sound/soc/codecs/wm8996.c if (bclk_rate < 0) { bclk_rate 1771 sound/soc/codecs/wm8996.c dev_err(component->dev, "Unsupported BCLK rate: %d\n", bclk_rate); bclk_rate 1772 sound/soc/codecs/wm8996.c return bclk_rate; bclk_rate 1775 sound/soc/codecs/wm8996.c wm8996->bclk_rate[dai->id] = bclk_rate; bclk_rate 1794 sound/soc/codecs/wm8996.c lrclk = bclk_rate / params_rate(params); bclk_rate 1796 sound/soc/codecs/wm8996.c lrclk, bclk_rate / lrclk); bclk_rate 277 sound/soc/rockchip/rockchip_i2s.c unsigned int mclk_rate, bclk_rate, div_bclk, div_lrck; bclk_rate 281 sound/soc/rockchip/rockchip_i2s.c bclk_rate = 2 * 32 * params_rate(params); bclk_rate 282 sound/soc/rockchip/rockchip_i2s.c if (bclk_rate && mclk_rate % bclk_rate) bclk_rate 285 sound/soc/rockchip/rockchip_i2s.c div_bclk = mclk_rate / bclk_rate; bclk_rate 286 sound/soc/rockchip/rockchip_i2s.c div_lrck = bclk_rate / params_rate(params); bclk_rate 2475 sound/soc/sof/topology.c config->ssp.bclk_rate = le32_to_cpu(hw_config->bclk_rate); bclk_rate 2485 sound/soc/sof/topology.c config->ssp.mclk_rate, config->ssp.bclk_rate,