/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()
|
/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()
|
/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 …]
|
/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()
|
/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()
|
/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() 641 data->bclk = devm_clk_get(dev, "bclk"); in mtk_iommu_v1_probe() 642 if (IS_ERR(data->bclk)) in mtk_iommu_v1_probe() 643 return PTR_ERR(data->bclk); in mtk_iommu_v1_probe() 703 clk_disable_unprepare(data->bclk); in mtk_iommu_v1_probe() 714 clk_disable_unprepare(data->bclk); in mtk_iommu_v1_remove()
|
D | mtk_iommu.c | 254 struct clk *bclk; member 1323 data->bclk = devm_clk_get(dev, "bclk"); in mtk_iommu_probe() 1324 if (IS_ERR(data->bclk)) in mtk_iommu_probe() 1325 return PTR_ERR(data->bclk); in mtk_iommu_probe() 1440 clk_disable_unprepare(data->bclk); in mtk_iommu_runtime_suspend() 1452 ret = clk_prepare_enable(data->bclk); in mtk_iommu_runtime_resume()
|
/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 …]
|
/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 …]
|
/drivers/media/usb/ttusb-budget/ |
D | dvb-ttusb-budget.c | 1201 u8 bclk = 0; in alps_stv0299_set_symbol_rate() local 1205 bclk = 0x47; in alps_stv0299_set_symbol_rate() 1208 bclk = 0x4b; in alps_stv0299_set_symbol_rate() 1211 bclk = 0x4f; in alps_stv0299_set_symbol_rate() 1214 bclk = 0x53; in alps_stv0299_set_symbol_rate() 1217 bclk = 0x53; in alps_stv0299_set_symbol_rate() 1220 bclk = 0x51; in alps_stv0299_set_symbol_rate() 1224 stv0299_writereg(fe, 0x14, bclk); in alps_stv0299_set_symbol_rate()
|
/drivers/media/pci/cx88/ |
D | cx88-dvb.c | 945 u8 bclk = 0; in samsung_smt_7020_stv0299_set_symbol_rate() local 949 bclk = 0x47; in samsung_smt_7020_stv0299_set_symbol_rate() 952 bclk = 0x4b; in samsung_smt_7020_stv0299_set_symbol_rate() 955 bclk = 0x4f; in samsung_smt_7020_stv0299_set_symbol_rate() 958 bclk = 0x53; in samsung_smt_7020_stv0299_set_symbol_rate() 961 bclk = 0x53; in samsung_smt_7020_stv0299_set_symbol_rate() 964 bclk = 0x51; in samsung_smt_7020_stv0299_set_symbol_rate() 968 stv0299_writereg(fe, 0x14, bclk); in samsung_smt_7020_stv0299_set_symbol_rate()
|