bclk 96 arch/sh/kernel/cpu/sh4/clock-sh4-202.c struct clk *bclk = clk_get(NULL, "bus_clk"); bclk 97 arch/sh/kernel/cpu/sh4/clock-sh4-202.c unsigned long bclk_rate = clk_get_rate(bclk); bclk 99 arch/sh/kernel/cpu/sh4/clock-sh4-202.c clk_put(bclk); bclk 128 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c static inline u32 pll_get_integloop_gain(u64 frac_start, u64 bclk, u32 ref_clk, bclk 131 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c int digclk_divsel = bclk >= HDMI_DIG_FREQ_BIT_CLK_THRESHOLD ? 1 : 2; bclk 166 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c static int pll_get_post_div(struct hdmi_8996_post_divider *pd, u64 bclk) bclk 185 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c vco = bclk >> half_rate_mode; bclk 222 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c u64 bclk; bclk 237 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c bclk = ((u64)pix_clk) * 10; bclk 239 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c if (bclk > HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD) bclk 244 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c ret = pll_get_post_div(&pd, bclk); bclk 262 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c integloop_gain = pll_get_integloop_gain(frac_start, bclk, bclk 285 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c if (bclk > HDMI_DIG_FREQ_BIT_CLK_THRESHOLD) bclk 306 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c cfg->phy_mode = (bclk > HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD) ? 0x10 : 0x0; bclk 320 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c if (bclk > HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD) { bclk 341 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c } else if (bclk > HDMI_MID_FREQ_BIT_CLK_THRESHOLD) { bclk 41 drivers/gpu/drm/tegra/dsi.c unsigned long bclk; bclk 599 drivers/gpu/drm/tegra/dsi.c unsigned long delay, bclk, bclk_ganged; bclk 608 drivers/gpu/drm/tegra/dsi.c bclk = DIV_ROUND_UP(mode->htotal * mul, div * lanes); bclk 609 drivers/gpu/drm/tegra/dsi.c bclk_ganged = DIV_ROUND_UP(bclk * lanes / 2, lanes); bclk 610 drivers/gpu/drm/tegra/dsi.c value = bclk - bclk_ganged + delay + 20; bclk 707 drivers/gpu/drm/tegra/dsi.c static void tegra_dsi_set_timeout(struct tegra_dsi *dsi, unsigned long bclk, bclk 714 drivers/gpu/drm/tegra/dsi.c timeout = (bclk / vrefresh) / 512; bclk 719 drivers/gpu/drm/tegra/dsi.c timeout = 2 * bclk / 512 * 1000; bclk 727 drivers/gpu/drm/tegra/dsi.c tegra_dsi_set_timeout(dsi->slave, bclk, vrefresh); bclk 917 drivers/gpu/drm/tegra/dsi.c tegra_dsi_set_timeout(dsi, state->bclk, state->vrefresh); bclk 972 drivers/gpu/drm/tegra/dsi.c state->bclk = (state->pclk * state->mul) / (state->div * state->lanes); bclk 978 drivers/gpu/drm/tegra/dsi.c DRM_DEBUG_KMS("bclk: %lu\n", state->bclk); bclk 983 drivers/gpu/drm/tegra/dsi.c plld = DIV_ROUND_UP(state->bclk * 8, USEC_PER_SEC) * USEC_PER_SEC; bclk 99 drivers/iio/adc/stm32-adc-core.c struct clk *bclk; bclk 205 drivers/iio/adc/stm32-adc-core.c if (!priv->bclk) { bclk 240 drivers/iio/adc/stm32-adc-core.c rate = clk_get_rate(priv->bclk); bclk 523 drivers/iio/adc/stm32-adc-core.c if (priv->bclk) { bclk 524 drivers/iio/adc/stm32-adc-core.c ret = clk_prepare_enable(priv->bclk); bclk 544 drivers/iio/adc/stm32-adc-core.c if (priv->bclk) bclk 545 drivers/iio/adc/stm32-adc-core.c clk_disable_unprepare(priv->bclk); bclk 565 drivers/iio/adc/stm32-adc-core.c if (priv->bclk) bclk 566 drivers/iio/adc/stm32-adc-core.c clk_disable_unprepare(priv->bclk); bclk 692 drivers/iio/adc/stm32-adc-core.c priv->bclk = devm_clk_get(&pdev->dev, "bus"); bclk 693 drivers/iio/adc/stm32-adc-core.c if (IS_ERR(priv->bclk)) { bclk 694 drivers/iio/adc/stm32-adc-core.c ret = PTR_ERR(priv->bclk); bclk 699 drivers/iio/adc/stm32-adc-core.c priv->bclk = NULL; bclk 595 drivers/iommu/mtk_iommu.c ret = clk_prepare_enable(data->bclk); bclk 648 drivers/iommu/mtk_iommu.c clk_disable_unprepare(data->bclk); bclk 699 drivers/iommu/mtk_iommu.c data->bclk = devm_clk_get(dev, "bclk"); bclk 700 drivers/iommu/mtk_iommu.c if (IS_ERR(data->bclk)) bclk 701 drivers/iommu/mtk_iommu.c return PTR_ERR(data->bclk); bclk 775 drivers/iommu/mtk_iommu.c clk_disable_unprepare(data->bclk); bclk 795 drivers/iommu/mtk_iommu.c clk_disable_unprepare(data->bclk); bclk 807 drivers/iommu/mtk_iommu.c ret = clk_prepare_enable(data->bclk); bclk 54 drivers/iommu/mtk_iommu.h struct clk *bclk; bclk 493 drivers/iommu/mtk_iommu_v1.c ret = clk_prepare_enable(data->bclk); bclk 521 drivers/iommu/mtk_iommu_v1.c clk_disable_unprepare(data->bclk); bclk 585 drivers/iommu/mtk_iommu_v1.c data->bclk = devm_clk_get(dev, "bclk"); bclk 586 drivers/iommu/mtk_iommu_v1.c if (IS_ERR(data->bclk)) bclk 587 drivers/iommu/mtk_iommu_v1.c return PTR_ERR(data->bclk); bclk 653 drivers/iommu/mtk_iommu_v1.c clk_disable_unprepare(data->bclk); bclk 202 drivers/media/common/b2c2/flexcop-fe-tuner.c u8 bclk = 0; bclk 205 drivers/media/common/b2c2/flexcop-fe-tuner.c aclk = 0xb7; bclk = 0x47; bclk 207 drivers/media/common/b2c2/flexcop-fe-tuner.c aclk = 0xb7; bclk = 0x4b; bclk 209 drivers/media/common/b2c2/flexcop-fe-tuner.c aclk = 0xb7; bclk = 0x4f; bclk 211 drivers/media/common/b2c2/flexcop-fe-tuner.c aclk = 0xb7; bclk = 0x53; bclk 213 drivers/media/common/b2c2/flexcop-fe-tuner.c aclk = 0xb6; bclk = 0x53; bclk 215 drivers/media/common/b2c2/flexcop-fe-tuner.c aclk = 0xb4; bclk = 0x51; bclk 219 drivers/media/common/b2c2/flexcop-fe-tuner.c stv0299_writereg(fe, 0x14, bclk); bclk 37 drivers/media/dvb-frontends/bsbe1.h u8 bclk = 0; bclk 39 drivers/media/dvb-frontends/bsbe1.h if (srate < 1500000) { aclk = 0xb7; bclk = 0x47; } bclk 40 drivers/media/dvb-frontends/bsbe1.h else if (srate < 3000000) { aclk = 0xb7; bclk = 0x4b; } bclk 41 drivers/media/dvb-frontends/bsbe1.h else if (srate < 7000000) { aclk = 0xb7; bclk = 0x4f; } bclk 42 drivers/media/dvb-frontends/bsbe1.h else if (srate < 14000000) { aclk = 0xb7; bclk = 0x53; } bclk 43 drivers/media/dvb-frontends/bsbe1.h else if (srate < 30000000) { aclk = 0xb6; bclk = 0x53; } bclk 44 drivers/media/dvb-frontends/bsbe1.h else if (srate < 45000000) { aclk = 0xb4; bclk = 0x51; } bclk 47 drivers/media/dvb-frontends/bsbe1.h stv0299_writereg(fe, 0x14, bclk); bclk 56 drivers/media/dvb-frontends/bsru6.h u8 bclk = 0; bclk 60 drivers/media/dvb-frontends/bsru6.h bclk = 0x47; bclk 63 drivers/media/dvb-frontends/bsru6.h bclk = 0x4b; bclk 66 drivers/media/dvb-frontends/bsru6.h bclk = 0x4f; bclk 69 drivers/media/dvb-frontends/bsru6.h bclk = 0x53; bclk 72 drivers/media/dvb-frontends/bsru6.h bclk = 0x53; bclk 75 drivers/media/dvb-frontends/bsru6.h bclk = 0x51; bclk 79 drivers/media/dvb-frontends/bsru6.h stv0299_writereg(fe, 0x14, bclk); bclk 16 drivers/media/dvb-frontends/z0194a.h u8 bclk = 0; bclk 19 drivers/media/dvb-frontends/z0194a.h aclk = 0xb7; bclk = 0x47; } bclk 21 drivers/media/dvb-frontends/z0194a.h aclk = 0xb7; bclk = 0x4b; } bclk 23 drivers/media/dvb-frontends/z0194a.h aclk = 0xb7; bclk = 0x4f; } bclk 25 drivers/media/dvb-frontends/z0194a.h aclk = 0xb7; bclk = 0x53; } bclk 27 drivers/media/dvb-frontends/z0194a.h aclk = 0xb6; bclk = 0x53; } bclk 29 drivers/media/dvb-frontends/z0194a.h aclk = 0xb4; bclk = 0x51; } bclk 32 drivers/media/dvb-frontends/z0194a.h stv0299_writereg(fe, 0x14, bclk); bclk 944 drivers/media/pci/cx88/cx88-dvb.c u8 bclk = 0; bclk 948 drivers/media/pci/cx88/cx88-dvb.c bclk = 0x47; bclk 951 drivers/media/pci/cx88/cx88-dvb.c bclk = 0x4b; bclk 954 drivers/media/pci/cx88/cx88-dvb.c bclk = 0x4f; bclk 957 drivers/media/pci/cx88/cx88-dvb.c bclk = 0x53; bclk 960 drivers/media/pci/cx88/cx88-dvb.c bclk = 0x53; bclk 963 drivers/media/pci/cx88/cx88-dvb.c bclk = 0x51; bclk 967 drivers/media/pci/cx88/cx88-dvb.c stv0299_writereg(fe, 0x14, bclk); bclk 110 drivers/media/pci/mantis/mantis_vp1033.c u8 bclk = 0; bclk 114 drivers/media/pci/mantis/mantis_vp1033.c bclk = 0x47; bclk 117 drivers/media/pci/mantis/mantis_vp1033.c bclk = 0x4b; bclk 120 drivers/media/pci/mantis/mantis_vp1033.c bclk = 0x4f; bclk 123 drivers/media/pci/mantis/mantis_vp1033.c bclk = 0x53; bclk 126 drivers/media/pci/mantis/mantis_vp1033.c bclk = 0x53; bclk 129 drivers/media/pci/mantis/mantis_vp1033.c bclk = 0x51; bclk 132 drivers/media/pci/mantis/mantis_vp1033.c stv0299_writereg(fe, 0x14, bclk); bclk 461 drivers/media/pci/ttpci/budget-av.c u8 bclk = 0; bclk 466 drivers/media/pci/ttpci/budget-av.c bclk = 0x86; bclk 468 drivers/media/pci/ttpci/budget-av.c bclk = 0x89; bclk 470 drivers/media/pci/ttpci/budget-av.c bclk = 0x8f; bclk 472 drivers/media/pci/ttpci/budget-av.c bclk = 0x95; bclk 479 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x14, bclk); bclk 834 drivers/media/pci/ttpci/budget-av.c u8 bclk = 0; bclk 839 drivers/media/pci/ttpci/budget-av.c bclk = 0x86; bclk 841 drivers/media/pci/ttpci/budget-av.c bclk = 0x89; bclk 843 drivers/media/pci/ttpci/budget-av.c bclk = 0x8f; bclk 845 drivers/media/pci/ttpci/budget-av.c bclk = 0x95; bclk 855 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x14, bclk); bclk 1238 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c u8 bclk = 0; bclk 1242 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c bclk = 0x47; bclk 1245 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c bclk = 0x4b; bclk 1248 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c bclk = 0x4f; bclk 1251 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c bclk = 0x53; bclk 1254 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c bclk = 0x53; bclk 1257 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c bclk = 0x51; bclk 1261 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c stv0299_writereg(fe, 0x14, bclk); bclk 4553 include/linux/platform_data/cros_ec_commands.h uint32_t bclk; bclk 251 sound/soc/amd/acp-da7219-max98357a.c int wclk, bclk; bclk 254 sound/soc/amd/acp-da7219-max98357a.c bclk = wclk * params_channels(params) * bclk 261 sound/soc/amd/acp-da7219-max98357a.c if (bclk < (wclk * 64)) bclk 262 sound/soc/amd/acp-da7219-max98357a.c bclk = wclk * 64; bclk 263 sound/soc/amd/acp-da7219-max98357a.c return da7219_clk_enable(substream, wclk, bclk); bclk 395 sound/soc/atmel/mchp-i2s-mcc.c unsigned int bclk, unsigned int *mra, bclk 407 sound/soc/atmel/mchp-i2s-mcc.c sysclk = bclk; bclk 416 sound/soc/atmel/mchp-i2s-mcc.c lcm_rate = lcm(sysclk, bclk); bclk 418 sound/soc/atmel/mchp-i2s-mcc.c (lcm_rate / bclk % 2 == 1 && lcm_rate / bclk > 2)) bclk 423 sound/soc/atmel/mchp-i2s-mcc.c (clk_rate == bclk || clk_rate / (bclk * 2) <= GENMASK(5, 0)); bclk 467 sound/soc/atmel/mchp-i2s-mcc.c *mra |= MCHP_I2SMCC_MRA_ISCKDIV(*best_rate / (2 * bclk)); bclk 1446 sound/soc/codecs/arizona.c int lrclk, bclk, mode, base; bclk 1451 sound/soc/codecs/arizona.c bclk = 0; bclk 1489 sound/soc/codecs/arizona.c bclk |= ARIZONA_AIF1_BCLK_MSTR; bclk 1492 sound/soc/codecs/arizona.c bclk |= ARIZONA_AIF1_BCLK_MSTR; bclk 1505 sound/soc/codecs/arizona.c bclk |= ARIZONA_AIF1_BCLK_INV; bclk 1509 sound/soc/codecs/arizona.c bclk |= ARIZONA_AIF1_BCLK_INV; bclk 1521 sound/soc/codecs/arizona.c bclk); bclk 1754 sound/soc/codecs/arizona.c int base, int bclk, int lrclk, int frame) bclk 1759 sound/soc/codecs/arizona.c if (bclk != (val & ARIZONA_AIF1_BCLK_FREQ_MASK)) bclk 1788 sound/soc/codecs/arizona.c int bclk, lrclk, wl, frame, bclk_target; bclk 1827 sound/soc/codecs/arizona.c bclk = i; bclk 1837 sound/soc/codecs/arizona.c lrclk = rates[bclk] / params_rate(params); bclk 1840 sound/soc/codecs/arizona.c rates[bclk], rates[bclk] / lrclk); bclk 1844 sound/soc/codecs/arizona.c reconfig = arizona_aif_cfg_changed(component, base, bclk, lrclk, frame); bclk 1867 sound/soc/codecs/arizona.c ARIZONA_AIF1_BCLK_FREQ_MASK, bclk); bclk 163 sound/soc/codecs/cros_ec_codec.c static int set_i2s_bclk(struct snd_soc_component *component, uint32_t bclk) bclk 167 sound/soc/codecs/cros_ec_codec.c dev_dbg(component->dev, "%s set i2s bclk to %u\n", __func__, bclk); bclk 170 sound/soc/codecs/cros_ec_codec.c param.bclk = bclk; bclk 180 sound/soc/codecs/cros_ec_codec.c unsigned int rate, bclk; bclk 200 sound/soc/codecs/cros_ec_codec.c bclk = snd_soc_params_to_bclk(params); bclk 201 sound/soc/codecs/cros_ec_codec.c return set_i2s_bclk(component, bclk); bclk 796 sound/soc/codecs/da7219.c struct clk *bclk = da7219->dai_clks[DA7219_DAI_BCLK_IDX]; bclk 805 sound/soc/codecs/da7219.c if (bclk) { bclk 806 sound/soc/codecs/da7219.c ret = clk_prepare_enable(bclk); bclk 852 sound/soc/codecs/da7219.c if (bclk) bclk 853 sound/soc/codecs/da7219.c clk_disable_unprepare(bclk); bclk 1421 sound/soc/codecs/da7219.c struct clk *bclk = da7219->dai_clks[DA7219_DAI_BCLK_IDX]; bclk 1466 sound/soc/codecs/da7219.c if (bclk) { bclk 1469 sound/soc/codecs/da7219.c ret = clk_set_rate(bclk, bclk_rate); bclk 1557 sound/soc/codecs/da7219.c struct clk *bclk = da7219->dai_clks[DA7219_DAI_BCLK_IDX]; bclk 1618 sound/soc/codecs/da7219.c if (bclk) { bclk 1628 sound/soc/codecs/da7219.c bclk_rate = clk_round_rate(bclk, bclk_rate); bclk 1635 sound/soc/codecs/da7219.c ret = clk_set_rate(bclk, bclk_rate); bclk 2722 sound/soc/codecs/madera.c int lrclk, bclk, mode, base; bclk 2727 sound/soc/codecs/madera.c bclk = 0; bclk 2765 sound/soc/codecs/madera.c bclk |= MADERA_AIF1_BCLK_MSTR; bclk 2768 sound/soc/codecs/madera.c bclk |= MADERA_AIF1_BCLK_MSTR; bclk 2781 sound/soc/codecs/madera.c bclk |= MADERA_AIF1_BCLK_INV; bclk 2785 sound/soc/codecs/madera.c bclk |= MADERA_AIF1_BCLK_INV; bclk 2798 sound/soc/codecs/madera.c bclk); bclk 3034 sound/soc/codecs/madera.c int base, int bclk, int lrclk, int frame) bclk 3043 sound/soc/codecs/madera.c if (bclk != (val & MADERA_AIF1_BCLK_FREQ_MASK)) bclk 3081 sound/soc/codecs/madera.c int bclk, lrclk, wl, frame, bclk_target, num_rates; bclk 3125 sound/soc/codecs/madera.c bclk = i; bclk 3135 sound/soc/codecs/madera.c lrclk = rates[bclk] / rate; bclk 3138 sound/soc/codecs/madera.c rates[bclk], rates[bclk] / lrclk); bclk 3142 sound/soc/codecs/madera.c reconfig = madera_aif_cfg_changed(component, base, bclk, lrclk, frame); bclk 3166 sound/soc/codecs/madera.c MADERA_AIF1_BCLK_FREQ_MASK, bclk); bclk 1493 sound/soc/codecs/max98090.c if (!max98090->bclk || !max98090->lrclk) { bclk 1933 sound/soc/codecs/max98090.c max98090->bclk = snd_soc_params_to_bclk(params); bclk 1935 sound/soc/codecs/max98090.c max98090->bclk *= 2; bclk 1525 sound/soc/codecs/max98090.h unsigned int bclk; bclk 171 sound/soc/codecs/max98373.c static int max98373_get_bclk_sel(int bclk) bclk 176 sound/soc/codecs/max98373.c if (bclk_sel_table[i] == bclk) bclk 254 sound/soc/codecs/max98927.c static int max98927_get_bclk_sel(int bclk) bclk 259 sound/soc/codecs/max98927.c if (bclk_sel_table[i] == bclk) bclk 1562 sound/soc/codecs/rt1011.c rt1011->bclk = rt1011->lrck * (32 << bclk_ms); bclk 661 sound/soc/codecs/rt1011.h int bclk; bclk 79 sound/soc/codecs/rt1305.c int bclk; bclk 651 sound/soc/codecs/rt1305.c rt1305->bclk = rt1305->lrck * (32 << bclk_ms); bclk 56 sound/soc/codecs/rt1308.c int bclk; bclk 477 sound/soc/codecs/rt1308.c rt1308->bclk = rt1308->lrck * (32 << bclk_ms); bclk 773 sound/soc/codecs/rt5514.c rt5514->bclk = rt5514->lrck * (32 << bclk_ms); bclk 776 sound/soc/codecs/rt5514.c rt5514->bclk, rt5514->lrck); bclk 278 sound/soc/codecs/rt5514.h int bclk; bclk 150 sound/soc/codecs/rt5616.c int bclk[RT5616_AIFS]; bclk 979 sound/soc/codecs/rt5616.c rt5616->bclk[dai->id] = rt5616->lrck[dai->id] * (32 << bclk_ms); bclk 982 sound/soc/codecs/rt5616.c rt5616->bclk[dai->id], rt5616->lrck[dai->id]); bclk 1207 sound/soc/codecs/rt5631.c u32 bclk; bclk 1342 sound/soc/codecs/rt5631.c (coeff_div[i].bclk / coeff_div[i].rate) == timesofbclk) bclk 1721 sound/soc/codecs/rt5640.c rt5640->bclk[dai->id] = rt5640->lrck[dai->id] * (32 << bclk_ms); bclk 1724 sound/soc/codecs/rt5640.c rt5640->bclk[dai->id], rt5640->lrck[dai->id]); bclk 2129 sound/soc/codecs/rt5640.h int bclk[RT5640_AIFS]; bclk 429 sound/soc/codecs/rt5645.c int bclk[RT5645_AIFS]; bclk 2761 sound/soc/codecs/rt5645.c rt5645->bclk[dai->id] = rt5645->lrck[dai->id] * (32 << bclk_ms); bclk 2764 sound/soc/codecs/rt5645.c rt5645->bclk[dai->id], rt5645->lrck[dai->id]); bclk 1302 sound/soc/codecs/rt5651.c rt5651->bclk[dai->id] = rt5651->lrck[dai->id] * (32 << bclk_ms); bclk 1305 sound/soc/codecs/rt5651.c rt5651->bclk[dai->id], rt5651->lrck[dai->id]); bclk 2091 sound/soc/codecs/rt5651.h int bclk[RT5651_AIFS]; bclk 3621 sound/soc/codecs/rt5659.c rt5659->bclk[dai->id] = ratio; bclk 1805 sound/soc/codecs/rt5659.h int bclk[RT5659_AIFS]; bclk 862 sound/soc/codecs/rt5660.c rt5660->bclk[dai->id] = rt5660->lrck[dai->id] * (32 << bclk_ms); bclk 865 sound/soc/codecs/rt5660.c rt5660->bclk[dai->id], rt5660->lrck[dai->id]); bclk 839 sound/soc/codecs/rt5660.h int bclk[RT5660_AIFS]; bclk 59 sound/soc/codecs/rt5665.c int bclk[RT5665_AIFS]; bclk 4405 sound/soc/codecs/rt5665.c rt5665->bclk[dai->id] = ratio; bclk 56 sound/soc/codecs/rt5668.c int bclk[RT5668_AIFS]; bclk 2200 sound/soc/codecs/rt5668.c rt5668->bclk[dai->id] = ratio; bclk 2286 sound/soc/codecs/rt5670.c rt5670->bclk[dai->id] = rt5670->lrck[dai->id] * (32 << bclk_ms); bclk 2289 sound/soc/codecs/rt5670.c rt5670->bclk[dai->id], rt5670->lrck[dai->id]); bclk 1999 sound/soc/codecs/rt5670.h int bclk[RT5670_AIFS]; bclk 4123 sound/soc/codecs/rt5677.c rt5677->bclk[dai->id] = rt5677->lrck[dai->id] * (32 << bclk_ms); bclk 4126 sound/soc/codecs/rt5677.c rt5677->bclk[dai->id], rt5677->lrck[dai->id]); bclk 1837 sound/soc/codecs/rt5677.h int bclk[RT5677_AIFS]; bclk 62 sound/soc/codecs/rt5682.c int bclk[RT5682_AIFS]; bclk 2278 sound/soc/codecs/rt5682.c rt5682->bclk[dai->id] = ratio; bclk 1565 sound/soc/codecs/wm2200.c int lrclk, bclk, fmt_val; bclk 1568 sound/soc/codecs/wm2200.c bclk = 0; bclk 1590 sound/soc/codecs/wm2200.c bclk |= WM2200_AIF1_BCLK_MSTR; bclk 1594 sound/soc/codecs/wm2200.c bclk |= WM2200_AIF1_BCLK_MSTR; bclk 1606 sound/soc/codecs/wm2200.c bclk |= WM2200_AIF1_BCLK_INV; bclk 1610 sound/soc/codecs/wm2200.c bclk |= WM2200_AIF1_BCLK_INV; bclk 1620 sound/soc/codecs/wm2200.c WM2200_AIF1_BCLK_INV, bclk); bclk 1698 sound/soc/codecs/wm2200.c int i, bclk, lrclk, wl, fl, sr_code; bclk 1713 sound/soc/codecs/wm2200.c bclk = snd_soc_params_to_bclk(params); bclk 1714 sound/soc/codecs/wm2200.c if (bclk < 0) bclk 1715 sound/soc/codecs/wm2200.c return bclk; bclk 1733 sound/soc/codecs/wm2200.c bclk, wm2200->sysclk); bclk 1741 sound/soc/codecs/wm2200.c if (bclk_rates[i] >= bclk && (bclk_rates[i] % bclk == 0)) bclk 1746 sound/soc/codecs/wm2200.c bclk, wm2200->sysclk); bclk 1750 sound/soc/codecs/wm2200.c bclk = i; bclk 1751 sound/soc/codecs/wm2200.c dev_dbg(component->dev, "Setting %dHz BCLK\n", bclk_rates[bclk]); bclk 1753 sound/soc/codecs/wm2200.c WM2200_AIF1_BCLK_DIV_MASK, bclk); bclk 1755 sound/soc/codecs/wm2200.c lrclk = bclk_rates[bclk] / params_rate(params); bclk 1756 sound/soc/codecs/wm2200.c dev_dbg(component->dev, "Setting %dHz LRCLK\n", bclk_rates[bclk] / lrclk); bclk 1282 sound/soc/codecs/wm5100.c int lrclk, bclk, mask, base; bclk 1287 sound/soc/codecs/wm5100.c bclk = 0; bclk 1309 sound/soc/codecs/wm5100.c bclk |= WM5100_AIF1_BCLK_MSTR; bclk 1313 sound/soc/codecs/wm5100.c bclk |= WM5100_AIF1_BCLK_MSTR; bclk 1325 sound/soc/codecs/wm5100.c bclk |= WM5100_AIF1_BCLK_INV; bclk 1329 sound/soc/codecs/wm5100.c bclk |= WM5100_AIF1_BCLK_INV; bclk 1339 sound/soc/codecs/wm5100.c WM5100_AIF1_BCLK_INV, bclk); bclk 1402 sound/soc/codecs/wm5100.c int i, base, bclk, aif_rate, lrclk, wl, fl, sr; bclk 1419 sound/soc/codecs/wm5100.c bclk = snd_soc_params_to_bclk(params); bclk 1420 sound/soc/codecs/wm5100.c if (bclk < 0) bclk 1421 sound/soc/codecs/wm5100.c return bclk; bclk 1455 sound/soc/codecs/wm5100.c bclk, aif_rate, async ? "ASYNCCLK" : "SYSCLK"); bclk 1463 sound/soc/codecs/wm5100.c if (bclk_rates[i] >= bclk && (bclk_rates[i] % bclk == 0)) bclk 1468 sound/soc/codecs/wm5100.c bclk, aif_rate, async ? "ASYNCCLK" : "SYSCLK"); bclk 1472 sound/soc/codecs/wm5100.c bclk = i; bclk 1473 sound/soc/codecs/wm5100.c dev_dbg(component->dev, "Setting %dHz BCLK\n", bclk_rates[bclk]); bclk 1474 sound/soc/codecs/wm5100.c snd_soc_component_update_bits(component, base + 1, WM5100_AIF1_BCLK_FREQ_MASK, bclk); bclk 1476 sound/soc/codecs/wm5100.c lrclk = bclk_rates[bclk] / params_rate(params); bclk 1477 sound/soc/codecs/wm5100.c dev_dbg(component->dev, "Setting %dHz LRCLK\n", bclk_rates[bclk] / lrclk); bclk 1445 sound/soc/codecs/wm8903.c int bclk; bclk 1483 sound/soc/codecs/wm8903.c bclk = 2 * fs; bclk 1486 sound/soc/codecs/wm8903.c bclk *= 16; bclk 1489 sound/soc/codecs/wm8903.c bclk *= 20; bclk 1493 sound/soc/codecs/wm8903.c bclk *= 24; bclk 1497 sound/soc/codecs/wm8903.c bclk *= 32; bclk 1552 sound/soc/codecs/wm8903.c best_val = ((clk_sys * 10) / bclk_divs[0].ratio) - bclk; bclk 1555 sound/soc/codecs/wm8903.c cur_val = ((clk_sys * 10) / bclk_divs[i].ratio) - bclk; bclk 1567 sound/soc/codecs/wm8903.c bclk_divs[bclk_div].ratio / 10, bclk, bclk 1571 sound/soc/codecs/wm8903.c aif3 |= bclk / fs; bclk 81 sound/soc/codecs/wm8904.c int bclk; bclk 1304 sound/soc/codecs/wm8904.c wm8904->bclk = snd_soc_calc_bclk(wm8904->fs, bclk 1308 sound/soc/codecs/wm8904.c wm8904->bclk = snd_soc_params_to_bclk(params); bclk 1328 sound/soc/codecs/wm8904.c dev_dbg(component->dev, "Target BCLK is %dHz\n", wm8904->bclk); bclk 1376 sound/soc/codecs/wm8904.c - wm8904->bclk; bclk 1384 sound/soc/codecs/wm8904.c wm8904->bclk = (wm8904->sysclk_rate * 10) / bclk_divs[best].div; bclk 1386 sound/soc/codecs/wm8904.c bclk_divs[best].div, wm8904->bclk); bclk 1390 sound/soc/codecs/wm8904.c dev_dbg(component->dev, "LRCLK_RATE is %d\n", wm8904->bclk / wm8904->fs); bclk 1391 sound/soc/codecs/wm8904.c aif3 |= wm8904->bclk / wm8904->fs; bclk 130 sound/soc/codecs/wm8960.c int bclk; bclk 630 sound/soc/codecs/wm8960.c int sysclk, bclk, lrclk; bclk 637 sound/soc/codecs/wm8960.c bclk = wm8960->bclk; bclk 649 sound/soc/codecs/wm8960.c diff = sysclk - bclk * bclk_divs[k] / 10; bclk 699 sound/soc/codecs/wm8960.c int sysclk, bclk, lrclk, freq_out; bclk 703 sound/soc/codecs/wm8960.c bclk = wm8960->bclk; bclk 721 sound/soc/codecs/wm8960.c diff = sysclk - bclk * bclk_divs[k] / 10; bclk 819 sound/soc/codecs/wm8960.c wm8960->bclk = snd_soc_params_to_bclk(params); bclk 821 sound/soc/codecs/wm8960.c wm8960->bclk *= 2; bclk 59 sound/soc/codecs/wm8962.c int bclk; /* Desired BCLK */ bclk 2415 sound/soc/codecs/wm8962.c if (!wm8962->bclk || !wm8962->lrclk) { bclk 2473 sound/soc/codecs/wm8962.c dev_dbg(component->dev, "DSPCLK is %dHz, BCLK %d\n", dspclk, wm8962->bclk); bclk 2480 sound/soc/codecs/wm8962.c if (dspclk / bclk_divs[i] == wm8962->bclk) { bclk 2482 sound/soc/codecs/wm8962.c bclk_divs[i], wm8962->bclk); bclk 2489 sound/soc/codecs/wm8962.c dspclk / wm8962->bclk); bclk 2493 sound/soc/codecs/wm8962.c aif2 |= wm8962->bclk / wm8962->lrclk; bclk 2495 sound/soc/codecs/wm8962.c wm8962->bclk / wm8962->lrclk, wm8962->lrclk); bclk 2561 sound/soc/codecs/wm8962.c wm8962->bclk = snd_soc_params_to_bclk(params); bclk 2563 sound/soc/codecs/wm8962.c wm8962->bclk *= 2; bclk 2604 sound/soc/codecs/wm8962.c wm8962->bclk, wm8962->lrclk); bclk 101 sound/soc/codecs/wm8983.c u32 bclk; bclk 664 sound/soc/codecs/wm8983.c wm8983->bclk = ret; bclk 705 sound/soc/codecs/wm8983.c dev_dbg(dai->dev, "Target BCLK = %uHz\n", wm8983->bclk); bclk 727 sound/soc/codecs/wm8983.c if (wm8983->bclk == tmp / bclk_divs[i]) bclk 191 sound/soc/codecs/wm8985.c unsigned int bclk; bclk 760 sound/soc/codecs/wm8985.c wm8985->bclk = snd_soc_params_to_bclk(params); bclk 761 sound/soc/codecs/wm8985.c if ((int)wm8985->bclk < 0) bclk 762 sound/soc/codecs/wm8985.c return wm8985->bclk; bclk 803 sound/soc/codecs/wm8985.c dev_dbg(dai->dev, "Target BCLK = %uHz\n", wm8985->bclk); bclk 825 sound/soc/codecs/wm8985.c if (wm8985->bclk == tmp / bclk_divs[i]) bclk 217 sound/soc/codecs/wm8993.c unsigned int bclk; bclk 1207 sound/soc/codecs/wm8993.c wm8993->bclk = 2 * wm8993->fs; bclk 1211 sound/soc/codecs/wm8993.c wm8993->bclk *= wm8993->tdm_width * wm8993->tdm_slots; bclk 1215 sound/soc/codecs/wm8993.c wm8993->bclk *= 16; bclk 1218 sound/soc/codecs/wm8993.c wm8993->bclk *= 20; bclk 1222 sound/soc/codecs/wm8993.c wm8993->bclk *= 24; bclk 1226 sound/soc/codecs/wm8993.c wm8993->bclk *= 32; bclk 1234 sound/soc/codecs/wm8993.c dev_dbg(component->dev, "Target BCLK is %dHz\n", wm8993->bclk); bclk 1278 sound/soc/codecs/wm8993.c - wm8993->bclk; bclk 1286 sound/soc/codecs/wm8993.c wm8993->bclk = (wm8993->sysclk_rate * 10) / bclk_divs[best].div; bclk 1288 sound/soc/codecs/wm8993.c bclk_divs[best].div, wm8993->bclk); bclk 1292 sound/soc/codecs/wm8993.c dev_dbg(component->dev, "LRCLK_RATE is %d\n", wm8993->bclk / wm8993->fs); bclk 1293 sound/soc/codecs/wm8993.c aif4 |= wm8993->bclk / wm8993->fs; bclk 2785 sound/soc/codecs/wm8994.c int bclk = 0; bclk 2914 sound/soc/codecs/wm8994.c bclk |= best << WM8994_AIF1_BCLK_DIV_SHIFT; bclk 2927 sound/soc/codecs/wm8994.c snd_soc_component_update_bits(component, bclk_reg, WM8994_AIF1_BCLK_DIV_MASK, bclk); bclk 1555 sound/soc/codecs/wm8995.c int lrclk, bclk; bclk 1652 sound/soc/codecs/wm8995.c bclk = 0; bclk 1659 sound/soc/codecs/wm8995.c bclk |= best << WM8995_AIF1_BCLK_DIV_SHIFT; bclk 1672 sound/soc/codecs/wm8995.c WM8995_AIF1_BCLK_DIV_MASK, bclk); bclk 1634 sound/soc/codecs/wm8996.c int bclk = 0; bclk 1661 sound/soc/codecs/wm8996.c bclk |= WM8996_AIF1_BCLK_INV; bclk 1668 sound/soc/codecs/wm8996.c bclk |= WM8996_AIF1_BCLK_INV; bclk 1682 sound/soc/codecs/wm8996.c bclk |= WM8996_AIF1_BCLK_MSTR; bclk 1685 sound/soc/codecs/wm8996.c bclk |= WM8996_AIF1_BCLK_MSTR; bclk 1712 sound/soc/codecs/wm8996.c bclk); bclk 151 sound/soc/codecs/wm9081.c int bclk; bclk 664 sound/soc/codecs/wm9081.c if (wm9081->master && wm9081->bclk) { bclk 671 sound/soc/codecs/wm9081.c if (target >= wm9081->bclk && bclk 1021 sound/soc/codecs/wm9081.c wm9081->bclk = wm9081->fs * wm9081->tdm_width * slots; bclk 1024 sound/soc/codecs/wm9081.c wm9081->bclk = 2 * wm9081->fs; bclk 1028 sound/soc/codecs/wm9081.c wm9081->bclk *= 16; bclk 1031 sound/soc/codecs/wm9081.c wm9081->bclk *= 20; bclk 1035 sound/soc/codecs/wm9081.c wm9081->bclk *= 24; bclk 1039 sound/soc/codecs/wm9081.c wm9081->bclk *= 32; bclk 1047 sound/soc/codecs/wm9081.c dev_dbg(component->dev, "Target BCLK is %dHz\n", wm9081->bclk); bclk 1091 sound/soc/codecs/wm9081.c - wm9081->bclk; bclk 1099 sound/soc/codecs/wm9081.c wm9081->bclk = (wm9081->sysclk_rate * 10) / bclk_divs[best].div; bclk 1101 sound/soc/codecs/wm9081.c bclk_divs[best].div, wm9081->bclk); bclk 1105 sound/soc/codecs/wm9081.c dev_dbg(component->dev, "LRCLK_RATE is %d\n", wm9081->bclk / wm9081->fs); bclk 1106 sound/soc/codecs/wm9081.c aif4 |= wm9081->bclk / wm9081->fs; bclk 514 sound/soc/fsl/fsl_esai.c u32 bclk, mask, val; bclk 521 sound/soc/fsl/fsl_esai.c bclk = params_rate(params) * slot_width * esai_priv->slots; bclk 523 sound/soc/fsl/fsl_esai.c ret = fsl_esai_set_bclk(dai, esai_priv->synchronous || tx, bclk); bclk 115 sound/soc/fsl/fsl_micfil.c int bclk; bclk 126 sound/soc/fsl/fsl_micfil.c bclk = rate * 8 * osr / 2; /* kfactor = 0.5 */ bclk 130 sound/soc/fsl/fsl_micfil.c bclk = rate * 4 * osr * 1; /* kfactor = 1 */ bclk 134 sound/soc/fsl/fsl_micfil.c bclk = rate * 2 * osr * 2; /* kfactor = 2 */ bclk 137 sound/soc/fsl/fsl_micfil.c bclk = rate * osr * 4; /* kfactor = 4 */ bclk 142 sound/soc/fsl/fsl_micfil.c bclk = -1; bclk 146 sound/soc/fsl/fsl_micfil.c return bclk; bclk 561 sound/soc/pxa/pxa-ssp.c int bclk = rate * chn * (width / 8); bclk 602 sound/soc/pxa/pxa-ssp.c ret = pxa_ssp_set_pll(priv, bclk); bclk 628 sound/soc/pxa/pxa-ssp.c ret = pxa_ssp_set_pll(priv, bclk); bclk 644 sound/soc/pxa/pxa-ssp.c pxa_ssp_set_scr(ssp, bclk / rate); bclk 651 sound/soc/pxa/pxa-ssp.c if (((priv->sysclk / bclk) == 64) && (width == 16)) { bclk 31 sound/soc/samsung/neo1973_wm8753.c unsigned int pll_out = 0, bclk = 0; bclk 43 sound/soc/samsung/neo1973_wm8753.c bclk = WM8753_BCLK_DIV_4; bclk 47 sound/soc/samsung/neo1973_wm8753.c bclk = WM8753_BCLK_DIV_2; bclk 51 sound/soc/samsung/neo1973_wm8753.c bclk = WM8753_BCLK_DIV_16; bclk 55 sound/soc/samsung/neo1973_wm8753.c bclk = WM8753_BCLK_DIV_8; bclk 59 sound/soc/samsung/neo1973_wm8753.c bclk = WM8753_BCLK_DIV_4; bclk 63 sound/soc/samsung/neo1973_wm8753.c bclk = WM8753_BCLK_DIV_2; bclk 81 sound/soc/samsung/neo1973_wm8753.c ret = snd_soc_dai_set_clkdiv(codec_dai, WM8753_BCLKDIV, bclk); bclk 73 sound/soc/sunxi/sun4i-i2s.c #define SUN4I_I2S_CLK_DIV_BCLK(bclk) ((bclk) << 4) bclk 207 tools/power/cpupower/utils/cpufreq-info.c double bclk; bclk 213 tools/power/cpupower/utils/cpufreq-info.c bclk = 100.00; bclk 215 tools/power/cpupower/utils/cpufreq-info.c bclk = 133.33; bclk 218 tools/power/cpupower/utils/cpufreq-info.c intel_turbo_ratio, bclk); bclk 223 tools/power/cpupower/utils/cpufreq-info.c ratio * bclk); bclk 228 tools/power/cpupower/utils/cpufreq-info.c ratio * bclk); bclk 233 tools/power/cpupower/utils/cpufreq-info.c ratio * bclk); bclk 238 tools/power/cpupower/utils/cpufreq-info.c ratio * bclk); bclk 68 tools/power/x86/turbostat/turbostat.c double bclk; bclk 2080 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2084 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2106 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2111 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2128 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2133 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2138 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2143 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2148 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2153 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2158 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2163 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2201 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk, group_size); bclk 2207 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk, group_size); bclk 2213 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk, group_size); bclk 2219 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk, group_size); bclk 2225 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk, group_size); bclk 2231 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk, group_size); bclk 2237 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk, group_size); bclk 2243 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk, group_size); bclk 2259 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2264 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2269 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2277 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2282 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2287 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2292 tools/power/x86/turbostat/turbostat.c ratio, bclk, ratio * bclk); bclk 2351 tools/power/x86/turbostat/turbostat.c ratio[i], bclk, ratio[i] * bclk, cores[i]); bclk 3236 tools/power/x86/turbostat/turbostat.c bclk = discover_bclk(family, model); bclk 3292 tools/power/x86/turbostat/turbostat.c base_hz = base_ratio * bclk * 1000000;