/linux-6.6.21/drivers/media/dvb-frontends/ |
D | z0194a.h | 16 u8 bclk = 0; in sharp_z0194a_set_symbol_rate() local 19 aclk = 0xb7; bclk = 0x47; } in sharp_z0194a_set_symbol_rate() 21 aclk = 0xb7; bclk = 0x4b; } in sharp_z0194a_set_symbol_rate() 23 aclk = 0xb7; bclk = 0x4f; } in sharp_z0194a_set_symbol_rate() 25 aclk = 0xb7; bclk = 0x53; } in sharp_z0194a_set_symbol_rate() 27 aclk = 0xb6; bclk = 0x53; } in sharp_z0194a_set_symbol_rate() 29 aclk = 0xb4; bclk = 0x51; } in sharp_z0194a_set_symbol_rate() 32 stv0299_writereg(fe, 0x14, bclk); in sharp_z0194a_set_symbol_rate()
|
D | bsbe1.h | 37 u8 bclk = 0; in alps_bsbe1_set_symbol_rate() local 39 if (srate < 1500000) { aclk = 0xb7; bclk = 0x47; } in alps_bsbe1_set_symbol_rate() 40 else if (srate < 3000000) { aclk = 0xb7; bclk = 0x4b; } in alps_bsbe1_set_symbol_rate() 41 else if (srate < 7000000) { aclk = 0xb7; bclk = 0x4f; } in alps_bsbe1_set_symbol_rate() 42 else if (srate < 14000000) { aclk = 0xb7; bclk = 0x53; } in alps_bsbe1_set_symbol_rate() 43 else if (srate < 30000000) { aclk = 0xb6; bclk = 0x53; } in alps_bsbe1_set_symbol_rate() 44 else if (srate < 45000000) { aclk = 0xb4; bclk = 0x51; } in alps_bsbe1_set_symbol_rate() 47 stv0299_writereg(fe, 0x14, bclk); in alps_bsbe1_set_symbol_rate()
|
D | bsru6.h | 56 u8 bclk = 0; in alps_bsru6_set_symbol_rate() local 60 bclk = 0x47; in alps_bsru6_set_symbol_rate() 63 bclk = 0x4b; in alps_bsru6_set_symbol_rate() 66 bclk = 0x4f; in alps_bsru6_set_symbol_rate() 69 bclk = 0x53; in alps_bsru6_set_symbol_rate() 72 bclk = 0x53; in alps_bsru6_set_symbol_rate() 75 bclk = 0x51; in alps_bsru6_set_symbol_rate() 79 stv0299_writereg(fe, 0x14, bclk); in alps_bsru6_set_symbol_rate()
|
/linux-6.6.21/drivers/media/pci/mantis/ |
D | mantis_vp1033.c | 110 u8 bclk = 0; in lgtdqcs001f_set_symbol_rate() local 114 bclk = 0x47; in lgtdqcs001f_set_symbol_rate() 117 bclk = 0x4b; in lgtdqcs001f_set_symbol_rate() 120 bclk = 0x4f; in lgtdqcs001f_set_symbol_rate() 123 bclk = 0x53; in lgtdqcs001f_set_symbol_rate() 126 bclk = 0x53; in lgtdqcs001f_set_symbol_rate() 129 bclk = 0x51; in lgtdqcs001f_set_symbol_rate() 132 stv0299_writereg(fe, 0x14, bclk); in lgtdqcs001f_set_symbol_rate()
|
/linux-6.6.21/Documentation/devicetree/bindings/pinctrl/ |
D | cirrus,lochnagar.yaml | 86 gf-gpio2, gf-gpio3, gf-gpio7, codec-aif1-bclk, 88 codec-aif2-bclk, codec-aif2-rxdat, codec-aif2-lrclk, 89 codec-aif2-txdat, codec-aif3-bclk, codec-aif3-rxdat, 90 codec-aif3-lrclk, codec-aif3-txdat, dsp-aif1-bclk, 92 dsp-aif2-bclk, dsp-aif2-rxdat, dsp-aif2-lrclk, 93 dsp-aif2-txdat, psia1-bclk, psia1-rxdat, psia1-lrclk, 94 psia1-txdat, psia2-bclk, psia2-rxdat, psia2-lrclk, 95 psia2-txdat, gf-aif3-bclk, gf-aif3-rxdat, 96 gf-aif3-lrclk, gf-aif3-txdat, gf-aif4-bclk, 98 gf-aif1-bclk, gf-aif1-rxdat, gf-aif1-lrclk, [all …]
|
/linux-6.6.21/sound/soc/amd/vangogh/ |
D | acp5x-mach.c | 171 int ret, bclk; in acp5x_nau8821_hw_params() local 180 bclk = snd_soc_params_to_bclk(params); in acp5x_nau8821_hw_params() 181 if (bclk < 0) { in acp5x_nau8821_hw_params() 182 dev_err(dai->dev, "Fail to get BCLK rate: %d\n", bclk); in acp5x_nau8821_hw_params() 183 return bclk; in acp5x_nau8821_hw_params() 186 ret = snd_soc_dai_set_pll(dai, 0, 0, bclk, params_rate(params) * 256); in acp5x_nau8821_hw_params() 219 unsigned int bclk, rate = params_rate(params); in acp5x_cs35l41_hw_params() local 225 bclk = 1536000; in acp5x_cs35l41_hw_params() 228 bclk = 0; in acp5x_cs35l41_hw_params() 235 if (!bclk) { in acp5x_cs35l41_hw_params() [all …]
|
/linux-6.6.21/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_phy_8996.c | 128 static inline u32 pll_get_integloop_gain(u64 frac_start, u64 bclk, u32 ref_clk, in pll_get_integloop_gain() argument 131 int digclk_divsel = bclk >= HDMI_DIG_FREQ_BIT_CLK_THRESHOLD ? 1 : 2; in pll_get_integloop_gain() 166 static int pll_get_post_div(struct hdmi_8996_post_divider *pd, u64 bclk) in pll_get_post_div() argument 185 vco = bclk >> half_rate_mode; in pll_get_post_div() 222 u64 bclk; in pll_calculate() local 237 bclk = ((u64)pix_clk) * 10; in pll_calculate() 239 if (bclk > HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD) in pll_calculate() 244 ret = pll_get_post_div(&pd, bclk); in pll_calculate() 262 integloop_gain = pll_get_integloop_gain(frac_start, bclk, in pll_calculate() 285 if (bclk > HDMI_DIG_FREQ_BIT_CLK_THRESHOLD) in pll_calculate() [all …]
|
/linux-6.6.21/sound/soc/codecs/ |
D | wm9081.c | 151 int bclk; member 664 if (wm9081->master && wm9081->bclk) { in configure_clock() 671 if (target >= wm9081->bclk && in configure_clock() 1021 wm9081->bclk = wm9081->fs * wm9081->tdm_width * slots; in wm9081_hw_params() 1024 wm9081->bclk = 2 * wm9081->fs; in wm9081_hw_params() 1028 wm9081->bclk *= 16; in wm9081_hw_params() 1031 wm9081->bclk *= 20; in wm9081_hw_params() 1035 wm9081->bclk *= 24; in wm9081_hw_params() 1039 wm9081->bclk *= 32; in wm9081_hw_params() 1047 dev_dbg(component->dev, "Target BCLK is %dHz\n", wm9081->bclk); in wm9081_hw_params() [all …]
|
D | wm2200.c | 1557 int lrclk, bclk, fmt_val; in wm2200_set_fmt() local 1560 bclk = 0; in wm2200_set_fmt() 1582 bclk |= WM2200_AIF1_BCLK_MSTR; in wm2200_set_fmt() 1586 bclk |= WM2200_AIF1_BCLK_MSTR; in wm2200_set_fmt() 1598 bclk |= WM2200_AIF1_BCLK_INV; in wm2200_set_fmt() 1602 bclk |= WM2200_AIF1_BCLK_INV; in wm2200_set_fmt() 1612 WM2200_AIF1_BCLK_INV, bclk); in wm2200_set_fmt() 1690 int i, bclk, lrclk, wl, fl, sr_code; in wm2200_hw_params() local 1705 bclk = snd_soc_params_to_bclk(params); in wm2200_hw_params() 1706 if (bclk < 0) in wm2200_hw_params() [all …]
|
D | wm8993.c | 217 unsigned int bclk; member 1207 wm8993->bclk = 2 * wm8993->fs; in wm8993_hw_params() 1211 wm8993->bclk *= wm8993->tdm_width * wm8993->tdm_slots; in wm8993_hw_params() 1215 wm8993->bclk *= 16; in wm8993_hw_params() 1218 wm8993->bclk *= 20; in wm8993_hw_params() 1222 wm8993->bclk *= 24; in wm8993_hw_params() 1226 wm8993->bclk *= 32; in wm8993_hw_params() 1234 dev_dbg(component->dev, "Target BCLK is %dHz\n", wm8993->bclk); in wm8993_hw_params() 1278 - wm8993->bclk; in wm8993_hw_params() 1286 wm8993->bclk = (wm8993->sysclk_rate * 10) / bclk_divs[best].div; in wm8993_hw_params() [all …]
|
D | wm8960.c | 142 int bclk; member 643 int sysclk, bclk, lrclk; in wm8960_configure_sysclk() local 650 bclk = wm8960->bclk; in wm8960_configure_sysclk() 662 diff = sysclk - bclk * bclk_divs[k] / 10; in wm8960_configure_sysclk() 706 int sysclk, bclk, lrclk, freq_out; in wm8960_configure_pll() local 710 bclk = wm8960->bclk; in wm8960_configure_pll() 734 diff = sysclk - bclk * bclk_divs[k] / 10; in wm8960_configure_pll() 839 wm8960->bclk = snd_soc_params_to_bclk(params); in wm8960_hw_params() 841 wm8960->bclk *= 2; in wm8960_hw_params()
|
D | wm5100.c | 1282 int lrclk, bclk, mask, base; in wm5100_set_fmt() local 1287 bclk = 0; in wm5100_set_fmt() 1309 bclk |= WM5100_AIF1_BCLK_MSTR; in wm5100_set_fmt() 1313 bclk |= WM5100_AIF1_BCLK_MSTR; in wm5100_set_fmt() 1325 bclk |= WM5100_AIF1_BCLK_INV; in wm5100_set_fmt() 1329 bclk |= WM5100_AIF1_BCLK_INV; in wm5100_set_fmt() 1339 WM5100_AIF1_BCLK_INV, bclk); in wm5100_set_fmt() 1402 int i, base, bclk, aif_rate, lrclk, wl, fl, sr; in wm5100_hw_params() local 1419 bclk = snd_soc_params_to_bclk(params); in wm5100_hw_params() 1420 if (bclk < 0) in wm5100_hw_params() [all …]
|
D | arizona.c | 1447 int lrclk, bclk, mode, base; in arizona_set_fmt() local 1452 bclk = 0; in arizona_set_fmt() 1490 bclk |= ARIZONA_AIF1_BCLK_MSTR; in arizona_set_fmt() 1493 bclk |= ARIZONA_AIF1_BCLK_MSTR; in arizona_set_fmt() 1506 bclk |= ARIZONA_AIF1_BCLK_INV; in arizona_set_fmt() 1510 bclk |= ARIZONA_AIF1_BCLK_INV; in arizona_set_fmt() 1522 bclk); in arizona_set_fmt() 1755 int base, int bclk, int lrclk, int frame) in arizona_aif_cfg_changed() argument 1760 if (bclk != (val & ARIZONA_AIF1_BCLK_FREQ_MASK)) in arizona_aif_cfg_changed() 1789 int bclk, lrclk, wl, frame, bclk_target; in arizona_hw_params() local [all …]
|
/linux-6.6.21/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 172 double bclk; in get_boost_mode_x86() local 178 bclk = 100.00; in get_boost_mode_x86() 180 bclk = 133.33; in get_boost_mode_x86() 183 intel_turbo_ratio, bclk); in get_boost_mode_x86() 188 ratio * bclk); in get_boost_mode_x86() 193 ratio * bclk); in get_boost_mode_x86() 198 ratio * bclk); in get_boost_mode_x86() 203 ratio * bclk); in get_boost_mode_x86()
|
/linux-6.6.21/Documentation/devicetree/bindings/sound/ |
D | imx-audio-card.yaml | 66 fsl,mclk-equal-bclk: 67 description: Indicates mclk can be equal to bclk, especially for sai interface 89 fsl,mclk-equal-bclk; 109 fsl,mclk-equal-bclk;
|
/linux-6.6.21/sound/soc/ |
D | soc-utils-test.c | 19 u32 bclk; member 156 tdm_params_to_bclk_cases[i].bclk); in test_tdm_params_to_bclk() 169 tdm_params_to_bclk_cases[i].bclk); in test_tdm_params_to_bclk() 214 tdm_params_to_bclk_cases[i].bclk); in test_snd_soc_params_to_bclk()
|
/linux-6.6.21/drivers/media/common/b2c2/ |
D | flexcop-fe-tuner.c | 202 u8 bclk = 0; in samsung_tbmu24112_set_symbol_rate() local 205 aclk = 0xb7; bclk = 0x47; in samsung_tbmu24112_set_symbol_rate() 207 aclk = 0xb7; bclk = 0x4b; in samsung_tbmu24112_set_symbol_rate() 209 aclk = 0xb7; bclk = 0x4f; in samsung_tbmu24112_set_symbol_rate() 211 aclk = 0xb7; bclk = 0x53; in samsung_tbmu24112_set_symbol_rate() 213 aclk = 0xb6; bclk = 0x53; in samsung_tbmu24112_set_symbol_rate() 215 aclk = 0xb4; bclk = 0x51; in samsung_tbmu24112_set_symbol_rate() 219 stv0299_writereg(fe, 0x14, bclk); in samsung_tbmu24112_set_symbol_rate()
|
/linux-6.6.21/arch/sh/kernel/cpu/sh4/ |
D | clock-sh4-202.c | 96 struct clk *bclk = clk_get(NULL, "bus_clk"); in shoc_clk_verify_rate() local 97 unsigned long bclk_rate = clk_get_rate(bclk); in shoc_clk_verify_rate() 99 clk_put(bclk); in shoc_clk_verify_rate()
|
/linux-6.6.21/drivers/iio/adc/ |
D | stm32-adc-core.c | 108 struct clk *bclk; member 216 if (!priv->bclk) { in stm32h7_adc_clk_sel() 263 rate = clk_get_rate(priv->bclk); in stm32h7_adc_clk_sel() 269 duty = clk_get_scaled_duty_cycle(priv->bclk, 100); in stm32h7_adc_clk_sel() 558 ret = clk_prepare_enable(priv->bclk); in stm32_adc_core_hw_start() 575 clk_disable_unprepare(priv->bclk); in stm32_adc_core_hw_start() 594 clk_disable_unprepare(priv->bclk); in stm32_adc_core_hw_stop() 753 priv->bclk = devm_clk_get_optional(&pdev->dev, "bus"); in stm32_adc_probe() 754 if (IS_ERR(priv->bclk)) in stm32_adc_probe() 755 return dev_err_probe(&pdev->dev, PTR_ERR(priv->bclk), in stm32_adc_probe()
|
/linux-6.6.21/sound/soc/tegra/ |
D | tegra_audio_graph_card.c | 72 unsigned int plla_rate, plla_out0_rate, bclk; in tegra_audio_graph_update_pll() local 123 bclk = srate * params_channels(params) * params_width(params); in tegra_audio_graph_update_pll() 124 if (div_u64(plla_out0_rate, bclk) > MAX_PLLA_OUT0_DIV) in tegra_audio_graph_update_pll()
|
/linux-6.6.21/drivers/iommu/ |
D | mtk_iommu_v1.c | 100 struct clk *bclk; member 544 ret = clk_prepare_enable(data->bclk); in mtk_iommu_v1_hw_init() 572 clk_disable_unprepare(data->bclk); in mtk_iommu_v1_hw_init() 640 data->bclk = devm_clk_get(dev, "bclk"); in mtk_iommu_v1_probe() 641 if (IS_ERR(data->bclk)) in mtk_iommu_v1_probe() 642 return PTR_ERR(data->bclk); in mtk_iommu_v1_probe() 702 clk_disable_unprepare(data->bclk); in mtk_iommu_v1_probe() 713 clk_disable_unprepare(data->bclk); in mtk_iommu_v1_remove()
|
/linux-6.6.21/drivers/media/pci/ttpci/ |
D | budget-av.c | 462 u8 bclk = 0; in philips_su1278_ty_ci_set_symbol_rate() local 467 bclk = 0x86; in philips_su1278_ty_ci_set_symbol_rate() 469 bclk = 0x89; in philips_su1278_ty_ci_set_symbol_rate() 471 bclk = 0x8f; in philips_su1278_ty_ci_set_symbol_rate() 473 bclk = 0x95; in philips_su1278_ty_ci_set_symbol_rate() 480 stv0299_writereg(fe, 0x14, bclk); in philips_su1278_ty_ci_set_symbol_rate() 835 u8 bclk = 0; in philips_sd1878_ci_set_symbol_rate() local 840 bclk = 0x86; in philips_sd1878_ci_set_symbol_rate() 842 bclk = 0x89; in philips_sd1878_ci_set_symbol_rate() 844 bclk = 0x8f; in philips_sd1878_ci_set_symbol_rate() [all …]
|
/linux-6.6.21/sound/soc/atmel/ |
D | mchp-i2s-mcc.c | 417 unsigned int bclk, unsigned int *mra, in mchp_i2s_mcc_config_divs() argument 429 sysclk = bclk; in mchp_i2s_mcc_config_divs() 438 lcm_rate = lcm(sysclk, bclk); in mchp_i2s_mcc_config_divs() 440 (lcm_rate / bclk % 2 == 1 && lcm_rate / bclk > 2)) in mchp_i2s_mcc_config_divs() 445 (clk_rate == bclk || clk_rate / (bclk * 2) <= GENMASK(5, 0)); in mchp_i2s_mcc_config_divs() 489 *mra |= MCHP_I2SMCC_MRA_ISCKDIV(*best_rate / (2 * bclk)); in mchp_i2s_mcc_config_divs()
|
/linux-6.6.21/tools/power/x86/turbostat/ |
D | turbostat.c | 246 double bclk; variable 2434 fprintf(outf, "%d * %.1f = %.1f MHz max efficiency frequency\n", ratio, bclk, ratio * bclk); in dump_nhm_platform_info() 2437 fprintf(outf, "%d * %.1f = %.1f MHz base frequency\n", ratio, bclk, ratio * bclk); in dump_nhm_platform_info() 2461 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 18 active cores\n", ratio, bclk, ratio * bclk); in dump_hsw_turbo_ratio_limits() 2465 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 17 active cores\n", ratio, bclk, ratio * bclk); in dump_hsw_turbo_ratio_limits() 2480 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 16 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits() 2484 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 15 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits() 2488 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 14 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits() 2492 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 13 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits() 2496 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 12 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits() [all …]
|
/linux-6.6.21/drivers/gpu/drm/tegra/ |
D | dsi.c | 42 unsigned long bclk; member 591 unsigned long delay, bclk, bclk_ganged; in tegra_dsi_configure() local 600 bclk = DIV_ROUND_UP(mode->htotal * mul, div * lanes); in tegra_dsi_configure() 601 bclk_ganged = DIV_ROUND_UP(bclk * lanes / 2, lanes); in tegra_dsi_configure() 602 value = bclk - bclk_ganged + delay + 20; in tegra_dsi_configure() 704 static void tegra_dsi_set_timeout(struct tegra_dsi *dsi, unsigned long bclk, in tegra_dsi_set_timeout() argument 711 timeout = (bclk / vrefresh) / 512; in tegra_dsi_set_timeout() 716 timeout = 2 * bclk / 512 * 1000; in tegra_dsi_set_timeout() 724 tegra_dsi_set_timeout(dsi->slave, bclk, vrefresh); in tegra_dsi_set_timeout() 932 tegra_dsi_set_timeout(dsi, state->bclk, state->vrefresh); in tegra_dsi_encoder_enable() [all …]
|