Home
last modified time | relevance | path

Searched refs:bclk (Results 1 – 14 of 14) sorted by relevance

/drivers/media/dvb-frontends/
Dz0194a.h16 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()
Dbsbe1.h37 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()
Dbsru6.h56 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/
Dmantis_vp1033.c110 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/
Dhdmi_phy_8996.c128 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/
Dflexcop-fe-tuner.c202 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/
Dstm32-adc-core.c100 struct clk *bclk; member
208 if (!priv->bclk) { in stm32h7_adc_clk_sel()
255 rate = clk_get_rate(priv->bclk); in stm32h7_adc_clk_sel()
261 duty = clk_get_scaled_duty_cycle(priv->bclk, 100); in stm32h7_adc_clk_sel()
540 ret = clk_prepare_enable(priv->bclk); in stm32_adc_core_hw_start()
557 clk_disable_unprepare(priv->bclk); in stm32_adc_core_hw_start()
576 clk_disable_unprepare(priv->bclk); in stm32_adc_core_hw_stop()
686 priv->bclk = devm_clk_get_optional(&pdev->dev, "bus"); in stm32_adc_probe()
687 if (IS_ERR(priv->bclk)) in stm32_adc_probe()
688 return dev_err_probe(&pdev->dev, PTR_ERR(priv->bclk), in stm32_adc_probe()
/drivers/media/pci/ttpci/
Dbudget-av.c461 u8 bclk = 0; in philips_su1278_ty_ci_set_symbol_rate() local
466 bclk = 0x86; in philips_su1278_ty_ci_set_symbol_rate()
468 bclk = 0x89; in philips_su1278_ty_ci_set_symbol_rate()
470 bclk = 0x8f; in philips_su1278_ty_ci_set_symbol_rate()
472 bclk = 0x95; in philips_su1278_ty_ci_set_symbol_rate()
479 stv0299_writereg(fe, 0x14, bclk); in philips_su1278_ty_ci_set_symbol_rate()
834 u8 bclk = 0; in philips_sd1878_ci_set_symbol_rate() local
839 bclk = 0x86; in philips_sd1878_ci_set_symbol_rate()
841 bclk = 0x89; in philips_sd1878_ci_set_symbol_rate()
843 bclk = 0x8f; in philips_sd1878_ci_set_symbol_rate()
[all …]
/drivers/iommu/
Dmtk_iommu_v1.c522 ret = clk_prepare_enable(data->bclk); in mtk_iommu_hw_init()
550 clk_disable_unprepare(data->bclk); in mtk_iommu_hw_init()
616 data->bclk = devm_clk_get(dev, "bclk"); in mtk_iommu_probe()
617 if (IS_ERR(data->bclk)) in mtk_iommu_probe()
618 return PTR_ERR(data->bclk); in mtk_iommu_probe()
682 clk_disable_unprepare(data->bclk); in mtk_iommu_probe()
696 clk_disable_unprepare(data->bclk); in mtk_iommu_remove()
Dmtk_iommu.h69 struct clk *bclk; member
Dmtk_iommu.c877 data->bclk = devm_clk_get(dev, "bclk"); in mtk_iommu_probe()
878 if (IS_ERR(data->bclk)) in mtk_iommu_probe()
879 return PTR_ERR(data->bclk); in mtk_iommu_probe()
1011 clk_disable_unprepare(data->bclk); in mtk_iommu_runtime_suspend()
1023 ret = clk_prepare_enable(data->bclk); in mtk_iommu_runtime_resume()
/drivers/gpu/drm/tegra/
Ddsi.c42 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()
923 tegra_dsi_set_timeout(dsi, state->bclk, state->vrefresh); in tegra_dsi_encoder_enable()
[all …]
/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c1201 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/
Dcx88-dvb.c945 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()