Home
last modified time | relevance | path

Searched full:aclk (Results 1 – 25 of 115) sorted by relevance

12345

/Linux-v5.10/drivers/clk/
Dclk-axm5516.c34 * @aclk: Common struct
38 struct axxia_clk aclk; member
41 #define to_axxia_pllclk(_aclk) container_of(_aclk, struct axxia_pllclk, aclk)
50 struct axxia_clk *aclk = to_axxia_clk(hw); in axxia_pllclk_recalc() local
51 struct axxia_pllclk *pll = to_axxia_pllclk(aclk); in axxia_pllclk_recalc()
55 regmap_read(aclk->regmap, pll->reg, &control); in axxia_pllclk_recalc()
70 * @aclk: Common struct
76 struct axxia_clk aclk; member
81 #define to_axxia_divclk(_aclk) container_of(_aclk, struct axxia_divclk, aclk)
89 struct axxia_clk *aclk = to_axxia_clk(hw); in axxia_divclk_recalc_rate() local
[all …]
/Linux-v5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_dev.c108 return snprintf(buf, PAGE_SIZE, "%lu\n", clk_get_rate(mdev->aclk)); in aclk_hz_show()
222 mdev->aclk = devm_clk_get(dev, "aclk"); in komeda_dev_create()
223 if (IS_ERR(mdev->aclk)) { in komeda_dev_create()
225 err = PTR_ERR(mdev->aclk); in komeda_dev_create()
226 mdev->aclk = NULL; in komeda_dev_create()
230 clk_prepare_enable(mdev->aclk); in komeda_dev_create()
271 clk_disable_unprepare(mdev->aclk); in komeda_dev_create()
288 clk_disable_unprepare(mdev->aclk); in komeda_dev_create()
306 if (mdev->aclk) in komeda_dev_destroy()
307 clk_prepare_enable(mdev->aclk); in komeda_dev_destroy()
[all …]
Dkomeda_crtc.c50 u64 pxlclk, aclk; in komeda_crtc_update_clock_ratio() local
58 aclk = komeda_crtc_get_aclk(kcrtc_st); in komeda_crtc_update_clock_ratio()
60 kcrtc_st->clock_ratio = div64_u64(aclk << 32, pxlclk); in komeda_crtc_update_clock_ratio()
134 /* Only need to enable aclk on single display mode, but no need to in komeda_crtc_prepare()
135 * enable aclk it on dual display mode, since the dual mode always in komeda_crtc_prepare()
136 * switch from single display mode, the aclk already enabled, no need in komeda_crtc_prepare()
140 err = clk_set_rate(mdev->aclk, komeda_crtc_get_aclk(kcrtc_st)); in komeda_crtc_prepare()
142 DRM_ERROR("failed to set aclk.\n"); in komeda_crtc_prepare()
143 err = clk_prepare_enable(mdev->aclk); in komeda_crtc_prepare()
145 DRM_ERROR("failed to enable aclk.\n"); in komeda_crtc_prepare()
[all …]
/Linux-v5.10/drivers/media/dvb-frontends/
Dz0194a.h15 u8 aclk = 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()
31 stv0299_writereg(fe, 0x13, aclk); in sharp_z0194a_set_symbol_rate()
Dbsbe1.h36 u8 aclk = 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()
46 stv0299_writereg(fe, 0x13, aclk); in alps_bsbe1_set_symbol_rate()
Dbsru6.h55 u8 aclk = 0; in alps_bsru6_set_symbol_rate() local
59 aclk = 0xb7; in alps_bsru6_set_symbol_rate()
62 aclk = 0xb7; in alps_bsru6_set_symbol_rate()
65 aclk = 0xb7; in alps_bsru6_set_symbol_rate()
68 aclk = 0xb7; in alps_bsru6_set_symbol_rate()
71 aclk = 0xb6; in alps_bsru6_set_symbol_rate()
74 aclk = 0xb4; in alps_bsru6_set_symbol_rate()
78 stv0299_writereg(fe, 0x13, aclk); in alps_bsru6_set_symbol_rate()
/Linux-v5.10/drivers/media/pci/mantis/
Dmantis_vp1033.c109 u8 aclk = 0; in lgtdqcs001f_set_symbol_rate() local
113 aclk = 0xb7; in lgtdqcs001f_set_symbol_rate()
116 aclk = 0xb7; in lgtdqcs001f_set_symbol_rate()
119 aclk = 0xb7; in lgtdqcs001f_set_symbol_rate()
122 aclk = 0xb7; in lgtdqcs001f_set_symbol_rate()
125 aclk = 0xb6; in lgtdqcs001f_set_symbol_rate()
128 aclk = 0xb4; in lgtdqcs001f_set_symbol_rate()
131 stv0299_writereg(fe, 0x13, aclk); in lgtdqcs001f_set_symbol_rate()
/Linux-v5.10/Documentation/devicetree/bindings/pci/
Drockchip-pcie-ep.txt12 - "aclk"
13 - "aclk-perf"
24 - "aclk"
47 clock-names = "aclk", "aclk-perf",
57 "pm", "pclk", "aclk";
Drockchip-pcie-host.txt16 - "aclk"
17 - "aclk-perf"
35 - "aclk"
87 clock-names = "aclk", "aclk-perf",
108 "pm", "pclk", "aclk";
/Linux-v5.10/drivers/memory/
Dpl353-smc.c84 * @aclk: Pointer to the APER clock
88 struct clk *aclk; member
273 clk_disable(pl353_smc->aclk); in pl353_smc_suspend()
283 ret = clk_enable(pl353_smc->aclk); in pl353_smc_resume()
292 clk_disable(pl353_smc->aclk); in pl353_smc_resume()
370 pl353_smc->aclk = devm_clk_get(&adev->dev, "apb_pclk"); in pl353_smc_probe()
371 if (IS_ERR(pl353_smc->aclk)) { in pl353_smc_probe()
372 dev_err(&adev->dev, "aclk clock not found.\n"); in pl353_smc_probe()
373 return PTR_ERR(pl353_smc->aclk); in pl353_smc_probe()
382 err = clk_prepare_enable(pl353_smc->aclk); in pl353_smc_probe()
[all …]
/Linux-v5.10/drivers/iio/adc/
Dstm32-dfsdm-core.c92 struct clk *aclk; /* audio clock */ member
106 if (ret || !priv->aclk) in stm32_dfsdm_clk_prepare_enable()
109 ret = clk_prepare_enable(priv->aclk); in stm32_dfsdm_clk_prepare_enable()
120 if (priv->aclk) in stm32_dfsdm_clk_disable_unprepare()
121 clk_disable_unprepare(priv->aclk); in stm32_dfsdm_clk_disable_unprepare()
146 clk_src = priv->aclk ? 1 : 0; in stm32_dfsdm_start_dfsdm()
247 priv->aclk = devm_clk_get(&pdev->dev, "audio"); in stm32_dfsdm_parse_of()
248 if (IS_ERR(priv->aclk)) in stm32_dfsdm_parse_of()
249 priv->aclk = NULL; in stm32_dfsdm_parse_of()
251 if (priv->aclk) in stm32_dfsdm_parse_of()
[all …]
Dstm32-adc-core.c80 * @aclk: clock reference for the analog circuitry
97 struct clk *aclk; member
134 if (!priv->aclk) { in stm32f4_adc_clk_sel()
139 rate = clk_get_rate(priv->aclk); in stm32f4_adc_clk_sel()
216 if (priv->aclk) { in stm32h7_adc_clk_sel()
221 rate = clk_get_rate(priv->aclk); in stm32h7_adc_clk_sel()
527 if (priv->aclk) { in stm32_adc_core_hw_start()
528 ret = clk_prepare_enable(priv->aclk); in stm32_adc_core_hw_start()
559 if (priv->aclk) in stm32_adc_core_hw_stop()
560 clk_disable_unprepare(priv->aclk); in stm32_adc_core_hw_stop()
[all …]
/Linux-v5.10/drivers/bus/
Dbt1-axi.c40 * @aclk: AXI reference clock.
51 struct clk *aclk; member
154 clk_disable_unprepare(axi->aclk); in bt1_axi_disable_clk()
161 axi->aclk = devm_clk_get(axi->dev, "aclk"); in bt1_axi_request_clk()
162 if (IS_ERR(axi->aclk)) { in bt1_axi_request_clk()
164 return PTR_ERR(axi->aclk); in bt1_axi_request_clk()
167 ret = clk_prepare_enable(axi->aclk); in bt1_axi_request_clk()
/Linux-v5.10/Documentation/devicetree/bindings/soc/xilinx/
Dxlnx,vcu.txt19 - clocks: phandle for aclk and pll_ref clocksource
20 - clock-names: The identification string, "aclk", is always required for
30 clock-names = "pll_ref", "aclk";
/Linux-v5.10/drivers/crypto/rockchip/
Drk3288_crypto.c31 err = clk_prepare_enable(dev->aclk); in rk_crypto_enable_clk()
33 dev_err(dev->dev, "[%s:%d], Couldn't enable clock aclk\n", in rk_crypto_enable_clk()
53 clk_disable_unprepare(dev->aclk); in rk_crypto_enable_clk()
64 clk_disable_unprepare(dev->aclk); in rk_crypto_disable_clk()
348 crypto_info->aclk = devm_clk_get(&pdev->dev, "aclk"); in rk_crypto_probe()
349 if (IS_ERR(crypto_info->aclk)) { in rk_crypto_probe()
350 err = PTR_ERR(crypto_info->aclk); in rk_crypto_probe()
/Linux-v5.10/drivers/soc/xilinx/
Dxlnx_vcu.c100 * @aclk: axi clock source
108 struct clk *aclk; member
534 xvcu->aclk = devm_clk_get(&pdev->dev, "aclk"); in xvcu_probe()
535 if (IS_ERR(xvcu->aclk)) { in xvcu_probe()
536 dev_err(&pdev->dev, "Could not get aclk clock\n"); in xvcu_probe()
537 return PTR_ERR(xvcu->aclk); in xvcu_probe()
546 ret = clk_prepare_enable(xvcu->aclk); in xvcu_probe()
548 dev_err(&pdev->dev, "aclk clock enable failed\n"); in xvcu_probe()
581 clk_disable_unprepare(xvcu->aclk); in xvcu_probe()
605 clk_disable_unprepare(xvcu->aclk); in xvcu_remove()
/Linux-v5.10/Documentation/devicetree/bindings/crypto/
Drockchip-crypto.txt9 - clock-names: "aclk" used to clock data
25 clock-names = "aclk", "hclk", "sclk", "apb_pclk";
/Linux-v5.10/Documentation/devicetree/bindings/fpga/
Dxilinx-pr-decoupler.txt19 - clock-names : should contain "aclk"
30 clock-names = "aclk";
/Linux-v5.10/arch/arm64/boot/dts/exynos/
Dexynos5433.dtsi567 clock-names = "aclk", "pclk";
1036 clock-names = "pclk", "aclk", "aclk_xiu",
1051 clock-names = "pclk", "aclk", "aclk_xiu",
1066 clock-names = "pclk", "aclk", "aclk_xiu",
1132 clock-names = "pclk", "aclk", "aclk_xiu";
1144 clock-names = "pclk", "aclk", "aclk_xiu";
1156 clock-names = "pclk", "aclk", "aclk_xiu", "sclk";
1169 clock-names = "pclk", "aclk", "aclk_xiu";
1182 clock-names = "aclk", "pclk";
1193 clock-names = "aclk", "pclk";
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/gpu/
Dsamsung-scaler.yaml50 - description: aclk clock
56 - const: aclk
/Linux-v5.10/Documentation/devicetree/bindings/iommu/
Drockchip,iommu.txt21 "aclk" - AXI bus clock (required)
36 clock-names = "aclk", "iface";
/Linux-v5.10/Documentation/devicetree/bindings/media/
Drockchip-vpu.yaml42 - const: aclk
74 clock-names = "aclk", "hclk";
Drockchip-rga.yaml38 - const: aclk
77 clock-names = "aclk", "hclk", "sclk";
/Linux-v5.10/drivers/media/common/b2c2/
Dflexcop-fe-tuner.c201 u8 aclk = 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()
218 stv0299_writereg(fe, 0x13, aclk); in samsung_tbmu24112_set_symbol_rate()
/Linux-v5.10/drivers/pci/controller/
Dpcie-rockchip.c113 rockchip->aclk_rst = devm_reset_control_get_exclusive(dev, "aclk"); in rockchip_pcie_parse_dt()
116 dev_err(dev, "missing aclk reset property in node\n"); in rockchip_pcie_parse_dt()
128 rockchip->aclk_pcie = devm_clk_get(dev, "aclk"); in rockchip_pcie_parse_dt()
130 dev_err(dev, "aclk clock not found\n"); in rockchip_pcie_parse_dt()
134 rockchip->aclk_perf_pcie = devm_clk_get(dev, "aclk-perf"); in rockchip_pcie_parse_dt()

12345