/Linux-v5.10/drivers/clk/ |
D | clk-axm5516.c | 34 * @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/ |
D | komeda_dev.c | 108 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 …]
|
D | komeda_crtc.c | 50 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/ |
D | z0194a.h | 15 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()
|
D | bsbe1.h | 36 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()
|
D | bsru6.h | 55 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/ |
D | mantis_vp1033.c | 109 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/ |
D | rockchip-pcie-ep.txt | 12 - "aclk" 13 - "aclk-perf" 24 - "aclk" 47 clock-names = "aclk", "aclk-perf", 57 "pm", "pclk", "aclk";
|
D | rockchip-pcie-host.txt | 16 - "aclk" 17 - "aclk-perf" 35 - "aclk" 87 clock-names = "aclk", "aclk-perf", 108 "pm", "pclk", "aclk";
|
/Linux-v5.10/drivers/memory/ |
D | pl353-smc.c | 84 * @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/ |
D | stm32-dfsdm-core.c | 92 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 …]
|
D | stm32-adc-core.c | 80 * @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/ |
D | bt1-axi.c | 40 * @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/ |
D | xlnx,vcu.txt | 19 - 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/ |
D | rk3288_crypto.c | 31 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/ |
D | xlnx_vcu.c | 100 * @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/ |
D | rockchip-crypto.txt | 9 - clock-names: "aclk" used to clock data 25 clock-names = "aclk", "hclk", "sclk", "apb_pclk";
|
/Linux-v5.10/Documentation/devicetree/bindings/fpga/ |
D | xilinx-pr-decoupler.txt | 19 - clock-names : should contain "aclk" 30 clock-names = "aclk";
|
/Linux-v5.10/arch/arm64/boot/dts/exynos/ |
D | exynos5433.dtsi | 567 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/ |
D | samsung-scaler.yaml | 50 - description: aclk clock 56 - const: aclk
|
/Linux-v5.10/Documentation/devicetree/bindings/iommu/ |
D | rockchip,iommu.txt | 21 "aclk" - AXI bus clock (required) 36 clock-names = "aclk", "iface";
|
/Linux-v5.10/Documentation/devicetree/bindings/media/ |
D | rockchip-vpu.yaml | 42 - const: aclk 74 clock-names = "aclk", "hclk";
|
D | rockchip-rga.yaml | 38 - const: aclk 77 clock-names = "aclk", "hclk", "sclk";
|
/Linux-v5.10/drivers/media/common/b2c2/ |
D | flexcop-fe-tuner.c | 201 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/ |
D | pcie-rockchip.c | 113 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()
|