Home
last modified time | relevance | path

Searched refs:aclk (Results 1 – 25 of 94) sorted by relevance

1234

/linux-6.1.9/drivers/clk/
Dclk-axm5516.c38 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()
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
90 struct axxia_divclk *divclk = to_axxia_divclk(aclk); in axxia_divclk_recalc_rate()
93 regmap_read(aclk->regmap, divclk->reg, &ctrl); in axxia_divclk_recalc_rate()
[all …]
/linux-6.1.9/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-6.1.9/drivers/memory/
Dpl353-smc.c24 struct clk *aclk; member
32 clk_disable(pl353_smc->aclk); in pl353_smc_suspend()
42 ret = clk_enable(pl353_smc->aclk); in pl353_smc_resume()
51 clk_disable(pl353_smc->aclk); in pl353_smc_resume()
83 pl353_smc->aclk = devm_clk_get(&adev->dev, "apb_pclk"); in pl353_smc_probe()
84 if (IS_ERR(pl353_smc->aclk)) { in pl353_smc_probe()
86 return PTR_ERR(pl353_smc->aclk); in pl353_smc_probe()
95 err = clk_prepare_enable(pl353_smc->aclk); in pl353_smc_probe()
132 clk_disable_unprepare(pl353_smc->aclk); in pl353_smc_probe()
142 clk_disable_unprepare(pl353_smc->aclk); in pl353_smc_remove()
/linux-6.1.9/drivers/gpu/drm/arm/display/komeda/
Dkomeda_dev.c97 return sysfs_emit(buf, "%lu\n", clk_get_rate(mdev->aclk)); in aclk_hz_show()
210 mdev->aclk = devm_clk_get(dev, "aclk"); in komeda_dev_create()
211 if (IS_ERR(mdev->aclk)) { in komeda_dev_create()
213 err = PTR_ERR(mdev->aclk); in komeda_dev_create()
214 mdev->aclk = NULL; in komeda_dev_create()
218 clk_prepare_enable(mdev->aclk); in komeda_dev_create()
258 clk_disable_unprepare(mdev->aclk); in komeda_dev_create()
275 clk_disable_unprepare(mdev->aclk); in komeda_dev_create()
293 if (mdev->aclk) in komeda_dev_destroy()
294 clk_prepare_enable(mdev->aclk); in komeda_dev_destroy()
[all …]
Dkomeda_crtc.c49 u64 pxlclk, aclk; in komeda_crtc_update_clock_ratio() local
57 aclk = komeda_crtc_get_aclk(kcrtc_st); in komeda_crtc_update_clock_ratio()
59 kcrtc_st->clock_ratio = div64_u64(aclk << 32, pxlclk); in komeda_crtc_update_clock_ratio()
141 err = clk_set_rate(mdev->aclk, komeda_crtc_get_aclk(kcrtc_st)); in komeda_crtc_prepare()
144 err = clk_prepare_enable(mdev->aclk); in komeda_crtc_prepare()
190 clk_disable_unprepare(mdev->aclk); in komeda_crtc_unprepare()
424 return clk_round_rate(mdev->aclk, min_aclk); in komeda_crtc_get_aclk()
449 if (clk_round_rate(mdev->aclk, min_aclk) < min_aclk) { in komeda_crtc_mode_valid()
/linux-6.1.9/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-6.1.9/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 clk_disable_unprepare(priv->aclk); in stm32_dfsdm_clk_disable_unprepare()
143 clk_src = priv->aclk ? 1 : 0; in stm32_dfsdm_start_dfsdm()
244 priv->aclk = devm_clk_get(&pdev->dev, "audio"); in stm32_dfsdm_parse_of()
245 if (IS_ERR(priv->aclk)) in stm32_dfsdm_parse_of()
246 priv->aclk = NULL; in stm32_dfsdm_parse_of()
248 if (priv->aclk) in stm32_dfsdm_parse_of()
249 clk_freq = clk_get_rate(priv->aclk); in stm32_dfsdm_parse_of()
Dstm32-adc-core.c104 struct clk *aclk; member
141 if (!priv->aclk) { in stm32f4_adc_clk_sel()
146 rate = clk_get_rate(priv->aclk); in stm32f4_adc_clk_sel()
223 if (priv->aclk) { in stm32h7_adc_clk_sel()
228 rate = clk_get_rate(priv->aclk); in stm32h7_adc_clk_sel()
235 duty = clk_get_scaled_duty_cycle(priv->aclk, 100); in stm32h7_adc_clk_sel()
551 ret = clk_prepare_enable(priv->aclk); in stm32_adc_core_hw_start()
580 clk_disable_unprepare(priv->aclk); in stm32_adc_core_hw_stop()
731 priv->aclk = devm_clk_get_optional(&pdev->dev, "adc"); in stm32_adc_probe()
732 if (IS_ERR(priv->aclk)) in stm32_adc_probe()
[all …]
/linux-6.1.9/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-6.1.9/drivers/bus/
Dbt1-axi.c51 struct clk *aclk; member
153 clk_disable_unprepare(axi->aclk); in bt1_axi_disable_clk()
160 axi->aclk = devm_clk_get(axi->dev, "aclk"); in bt1_axi_request_clk()
161 if (IS_ERR(axi->aclk)) in bt1_axi_request_clk()
162 return dev_err_probe(axi->dev, PTR_ERR(axi->aclk), in bt1_axi_request_clk()
165 ret = clk_prepare_enable(axi->aclk); in bt1_axi_request_clk()
/linux-6.1.9/drivers/crypto/rockchip/
Drk3288_crypto.c31 err = clk_prepare_enable(dev->aclk); 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()
184 crypto_info->aclk = devm_clk_get(&pdev->dev, "aclk"); in rk_crypto_probe()
185 if (IS_ERR(crypto_info->aclk)) { in rk_crypto_probe()
186 err = PTR_ERR(crypto_info->aclk); in rk_crypto_probe()
/linux-6.1.9/Documentation/devicetree/bindings/soc/xilinx/
Dxlnx,vcu.txt16 - clocks: phandle for aclk and pll_ref clocksource
17 - clock-names: The identification string, "aclk", is always required for
25 clock-names = "pll_ref", "aclk";
/linux-6.1.9/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-6.1.9/Documentation/devicetree/bindings/fpga/
Dxilinx-pr-decoupler.txt30 - clock-names : should contain "aclk"
42 clock-names = "aclk";
52 clock-names = "aclk";
/linux-6.1.9/drivers/clk/xilinx/
Dxlnx_vcu.c63 struct clk *aclk; member
656 xvcu->aclk = devm_clk_get(&pdev->dev, "aclk"); in xvcu_probe()
657 if (IS_ERR(xvcu->aclk)) { in xvcu_probe()
659 return PTR_ERR(xvcu->aclk); in xvcu_probe()
668 ret = clk_prepare_enable(xvcu->aclk); in xvcu_probe()
693 clk_disable_unprepare(xvcu->aclk); in xvcu_probe()
718 clk_disable_unprepare(xvcu->aclk); in xvcu_remove()
/linux-6.1.9/Documentation/devicetree/bindings/crypto/
Drockchip-crypto.txt9 - clock-names: "aclk" used to clock data
25 clock-names = "aclk", "hclk", "sclk", "apb_pclk";
/linux-6.1.9/Documentation/devicetree/bindings/gpu/
Dsamsung-scaler.yaml50 - description: aclk clock
56 - const: aclk
/linux-6.1.9/drivers/phy/hisilicon/
Dphy-hi3670-pcie.c162 struct clk *aclk; member
485 ret = clk_set_rate(phy->aclk, AXI_CLK_FREQ); in hi3670_pcie_allclk_ctrl()
613 ret = clk_prepare_enable(phy->aclk); in kirin_pcie_clk_ctrl()
626 clk_disable_unprepare(phy->aclk); in kirin_pcie_clk_ctrl()
780 phy->aclk = devm_clk_get(dev, "aclk"); in hi3670_pcie_phy_get_resources()
781 if (IS_ERR(phy->aclk)) in hi3670_pcie_phy_get_resources()
782 return PTR_ERR(phy->aclk); in hi3670_pcie_phy_get_resources()
/linux-6.1.9/Documentation/devicetree/bindings/media/
Drockchip,rk3568-vepu.yaml32 - const: aclk
65 clock-names = "aclk", "hclk";
Drockchip-rga.yaml38 - const: aclk
77 clock-names = "aclk", "hclk", "sclk";
/linux-6.1.9/arch/arm64/boot/dts/exynos/
Dexynos5433.dtsi669 clock-names = "pclk", "aclk";
1144 clock-names = "pclk", "aclk", "aclk_xiu",
1159 clock-names = "pclk", "aclk", "aclk_xiu",
1174 clock-names = "pclk", "aclk", "aclk_xiu",
1240 clock-names = "pclk", "aclk", "aclk_xiu";
1252 clock-names = "pclk", "aclk", "aclk_xiu";
1264 clock-names = "pclk", "aclk", "aclk_xiu", "sclk";
1277 clock-names = "pclk", "aclk", "aclk_xiu";
1290 clock-names = "aclk", "pclk";
1301 clock-names = "aclk", "pclk";
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/memory-controllers/
Dsnps,dw-umctl2-ddrc.yaml71 enum: [ pclk, aclk, core, sbr ]
115 clocks = <&pclk>, <&aclk>, <&core_clk>, <&sbr_clk>;
116 clock-names = "pclk", "aclk", "core", "sbr";

1234