Home
last modified time | relevance | path

Searched full:ahb_clk (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v5.10/arch/arc/boot/dts/
Dabilis_tb10x.dtsi59 ahb_clk: clkdiv_ahb { label
63 clock-output-names = "ahb_clk";
102 clocks = <&ahb_clk>;
118 clocks = <&ahb_clk>;
130 clocks = <&ahb_clk>;
139 clocks = <&ahb_clk>;
148 clocks = <&ahb_clk>;
157 clocks = <&ahb_clk>;
166 clocks = <&ahb_clk>;
178 clocks = <&ahb_clk>;
[all …]
/Linux-v5.10/drivers/clk/spear/
Dspear6xx_clock.c105 static const char *ddr_parents[] = { "ahb_clk", "ahbmult2_clk", "none",
157 clk = clk_register_divider(NULL, "ahb_clk", "pll1_clk", in spear6xx_clk_init()
160 clk_register_clkdev(clk, "ahb_clk", NULL); in spear6xx_clk_init()
275 clk = clk_register_fixed_factor(NULL, "ahbmult2_clk", "ahb_clk", 0, 2, in spear6xx_clk_init()
284 clk = clk_register_divider(NULL, "apb_clk", "ahb_clk", in spear6xx_clk_init()
289 clk = clk_register_gate(NULL, "dma_clk", "ahb_clk", 0, PERIP1_CLK_ENB, in spear6xx_clk_init()
293 clk = clk_register_gate(NULL, "fsmc_clk", "ahb_clk", 0, PERIP1_CLK_ENB, in spear6xx_clk_init()
297 clk = clk_register_gate(NULL, "gmac_clk", "ahb_clk", 0, PERIP1_CLK_ENB, in spear6xx_clk_init()
301 clk = clk_register_gate(NULL, "i2c_clk", "ahb_clk", 0, PERIP1_CLK_ENB, in spear6xx_clk_init()
305 clk = clk_register_gate(NULL, "jpeg_clk", "ahb_clk", 0, PERIP1_CLK_ENB, in spear6xx_clk_init()
[all …]
Dspear1340_clock.c580 clk = clk_register_mux(NULL, "ahb_clk", ahb_parents, in spear1340_clk_init()
584 clk_register_clkdev(clk, "ahb_clk", NULL); in spear1340_clk_init()
586 clk = clk_register_fixed_factor(NULL, "apb_clk", "ahb_clk", 0, 1, in spear1340_clk_init()
786 clk = clk_register_gate(NULL, "i2c0_clk", "ahb_clk", 0, in spear1340_clk_init()
791 clk = clk_register_gate(NULL, "i2c1_clk", "ahb_clk", 0, in spear1340_clk_init()
796 clk = clk_register_gate(NULL, "dma_clk", "ahb_clk", 0, in spear1340_clk_init()
802 clk = clk_register_gate(NULL, "gmac_clk", "ahb_clk", 0, in spear1340_clk_init()
807 clk = clk_register_gate(NULL, "fsmc_clk", "ahb_clk", 0, in spear1340_clk_init()
812 clk = clk_register_gate(NULL, "smi_clk", "ahb_clk", 0, in spear1340_clk_init()
817 clk = clk_register_gate(NULL, "usbh0_clk", "ahb_clk", 0, in spear1340_clk_init()
[all …]
Dspear3xx_clock.c137 static const char *ddr_parents[] = { "ahb_clk", "ahbmult2_clk", "none",
431 clk = clk_register_divider(NULL, "ahb_clk", "pll1_clk", in spear3xx_clk_init()
434 clk_register_clkdev(clk, "ahb_clk", NULL); in spear3xx_clk_init()
556 clk = clk_register_fixed_factor(NULL, "ahbmult2_clk", "ahb_clk", 0, 2, in spear3xx_clk_init()
565 clk = clk_register_divider(NULL, "apb_clk", "ahb_clk", in spear3xx_clk_init()
570 clk = clk_register_gate(NULL, "amem_clk", "ahb_clk", 0, AMEM_CLK_CFG, in spear3xx_clk_init()
574 clk = clk_register_gate(NULL, "c3_clk", "ahb_clk", 0, PERIP1_CLK_ENB, in spear3xx_clk_init()
578 clk = clk_register_gate(NULL, "dma_clk", "ahb_clk", 0, PERIP1_CLK_ENB, in spear3xx_clk_init()
582 clk = clk_register_gate(NULL, "gmac_clk", "ahb_clk", 0, PERIP1_CLK_ENB, in spear3xx_clk_init()
586 clk = clk_register_gate(NULL, "i2c0_clk", "ahb_clk", 0, PERIP1_CLK_ENB, in spear3xx_clk_init()
[all …]
Dspear1310_clock.c503 clk = clk_register_fixed_factor(NULL, "ahb_clk", "pll1_clk", 0, 1, in spear1310_clk_init()
505 clk_register_clkdev(clk, "ahb_clk", NULL); in spear1310_clk_init()
689 clk = clk_register_gate(NULL, "i2c0_clk", "ahb_clk", 0, in spear1310_clk_init()
694 clk = clk_register_gate(NULL, "dma_clk", "ahb_clk", 0, in spear1310_clk_init()
700 clk = clk_register_gate(NULL, "jpeg_clk", "ahb_clk", 0, in spear1310_clk_init()
705 clk = clk_register_gate(NULL, "gmac_clk", "ahb_clk", 0, in spear1310_clk_init()
710 clk = clk_register_gate(NULL, "fsmc_clk", "ahb_clk", 0, in spear1310_clk_init()
715 clk = clk_register_gate(NULL, "smi_clk", "ahb_clk", 0, in spear1310_clk_init()
720 clk = clk_register_gate(NULL, "usbh0_clk", "ahb_clk", 0, in spear1310_clk_init()
726 clk = clk_register_gate(NULL, "usbh1_clk", "ahb_clk", 0, in spear1310_clk_init()
[all …]
/Linux-v5.10/arch/arm64/boot/dts/microchip/
Dsparx5.dtsi90 ahb_clk: ahb-clk { label
143 clocks = <&ahb_clk>;
156 clocks = <&ahb_clk>;
172 clocks = <&ahb_clk>;
180 clocks = <&ahb_clk>;
270 clocks = <&ahb_clk>;
284 clocks = <&ahb_clk>;
291 clocks = <&ahb_clk>;
/Linux-v5.10/drivers/spi/
Dspi-rb4xx.c137 struct clk *ahb_clk; in rb4xx_spi_probe() local
150 ahb_clk = devm_clk_get(&pdev->dev, "ahb"); in rb4xx_spi_probe()
151 if (IS_ERR(ahb_clk)) in rb4xx_spi_probe()
152 return PTR_ERR(ahb_clk); in rb4xx_spi_probe()
165 rbspi->clk = ahb_clk; in rb4xx_spi_probe()
174 err = clk_prepare_enable(ahb_clk); in rb4xx_spi_probe()
/Linux-v5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_mdss.c21 struct clk *ahb_clk; member
139 clk_prepare_enable(mdp5_mdss->ahb_clk); in mdp5_mdss_enable()
157 clk_disable_unprepare(mdp5_mdss->ahb_clk); in mdp5_mdss_disable()
167 mdp5_mdss->ahb_clk = msm_clk_get(pdev, "iface"); in msm_mdss_get_clocks()
168 if (IS_ERR(mdp5_mdss->ahb_clk)) in msm_mdss_get_clocks()
169 mdp5_mdss->ahb_clk = NULL; in msm_mdss_get_clocks()
/Linux-v5.10/drivers/staging/media/sunxi/cedrus/
Dcedrus_hw.c152 clk_disable_unprepare(dev->ahb_clk); in cedrus_hw_suspend()
162 ret = clk_prepare_enable(dev->ahb_clk); in cedrus_hw_resume()
197 clk_disable_unprepare(dev->ahb_clk); in cedrus_hw_resume()
257 dev->ahb_clk = devm_clk_get(dev->dev, "ahb"); in cedrus_hw_probe()
258 if (IS_ERR(dev->ahb_clk)) { in cedrus_hw_probe()
261 ret = PTR_ERR(dev->ahb_clk); in cedrus_hw_probe()
/Linux-v5.10/arch/mips/boot/dts/mscc/
Docelot.dtsi38 ahb_clk: ahb-clk { label
74 clocks = <&ahb_clk>;
89 clocks = <&ahb_clk>;
100 clocks = <&ahb_clk>;
113 clocks = <&ahb_clk>;
/Linux-v5.10/drivers/clk/loongson1/
Dclk-loongson1c.c77 hw = clk_hw_register_fixed_factor(NULL, "ahb_clk", "ahb_clk_div", in ls1x_clk_init()
79 clk_hw_register_clkdev(hw, "ahb_clk", NULL); in ls1x_clk_init()
84 hw = clk_hw_register_fixed_factor(NULL, "apb_clk", "ahb_clk", 0, 1, in ls1x_clk_init()
Dclk-loongson1b.c98 hw = clk_hw_register_mux(NULL, "ahb_clk", ahb_parents, in ls1x_clk_init()
102 clk_hw_register_clkdev(hw, "ahb_clk", NULL); in ls1x_clk_init()
108 hw = clk_hw_register_fixed_factor(NULL, "apb_clk", "ahb_clk", 0, 1, in ls1x_clk_init()
/Linux-v5.10/arch/arm/boot/dts/
Dnspire.dtsi39 ahb_clk: ahb_clk { label
50 clocks = <&ahb_clk>;
Dnspire-classic.dtsi50 &ahb_clk {
Dste-u300.dts131 ahb_clk: ahb_subsys_clk@52M { label
143 clocks = <&ahb_clk>;
150 clocks = <&ahb_clk>;
/Linux-v5.10/drivers/clk/actions/
Dowl-s500.c182 static OWL_GATE(spi0_clk, "spi0_clk", "ahb_clk", CMU_DEVCLKEN1, 10, 0, CLK_IGNORE_UNUSED);
183 static OWL_GATE(spi1_clk, "spi1_clk", "ahb_clk", CMU_DEVCLKEN1, 11, 0, CLK_IGNORE_UNUSED);
184 static OWL_GATE(spi2_clk, "spi2_clk", "ahb_clk", CMU_DEVCLKEN1, 12, 0, CLK_IGNORE_UNUSED);
185 static OWL_GATE(spi3_clk, "spi3_clk", "ahb_clk", CMU_DEVCLKEN1, 13, 0, CLK_IGNORE_UNUSED);
191 static OWL_DIVIDER(apb_clk, "apb_clk", "ahb_clk", CMU_BUSCLK1, 14, 2, NULL, 0, 0);
195 static OWL_FACTOR(ahb_clk, "ahb_clk", "h_clk", CMU_BUSCLK1, 2, 2, ahb_factor_table, 0, 0);
416 &ahb_clk.common,
484 [CLK_AHB] = &ahb_clk.common.hw,
Dowl-s900.c162 static OWL_DIVIDER(ahb_clk, "ahb_clk", "noc_clk_div", CMU_BUSCLK, 4, 1, NULL, 0, 0);
163 static OWL_DIVIDER(apb_clk, "apb_clk", "ahb_clk", CMU_BUSCLK, 8, 2, apb_div_table, 0, 0);
234 static OWL_GATE(spi0_clk, "spi0_clk", "ahb_clk", CMU_DEVCLKEN1, 10, 0, CLK_IGNORE_UNUSED);
235 static OWL_GATE(spi1_clk, "spi1_clk", "ahb_clk", CMU_DEVCLKEN1, 11, 0, CLK_IGNORE_UNUSED);
236 static OWL_GATE(spi2_clk, "spi2_clk", "ahb_clk", CMU_DEVCLKEN1, 12, 0, CLK_IGNORE_UNUSED);
237 static OWL_GATE(spi3_clk, "spi3_clk", "ahb_clk", CMU_DEVCLKEN1, 13, 0, CLK_IGNORE_UNUSED);
515 &ahb_clk.common,
608 [CLK_AHB] = &ahb_clk.common.hw,
Dowl-s700.c172 static OWL_DIVIDER(clk_ahb, "ahb_clk", "hp_clk_div", CMU_BUSCLK1, 2, 2, NULL, 0, 0);
173 static OWL_DIVIDER(clk_apb, "apb_clk", "ahb_clk", CMU_BUSCLK1, 14, 2, NULL, 0, 0);
205 static OWL_GATE(clk_spi0, "spi0", "ahb_clk", CMU_DEVCLKEN1, 4, 0, 0);
206 static OWL_GATE(clk_spi1, "spi1", "ahb_clk", CMU_DEVCLKEN1, 5, 0, 0);
207 static OWL_GATE(clk_spi2, "spi2", "ahb_clk", CMU_DEVCLKEN1, 6, 0, 0);
208 static OWL_GATE(clk_spi3, "spi3", "ahb_clk", CMU_DEVCLKEN1, 7, 0, 0);
/Linux-v5.10/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c66 struct clk *ahb_clk; member
163 ctrl->ahb_clk = msm_clk_get(pdev, "iface"); in edp_clk_init()
164 if (IS_ERR(ctrl->ahb_clk)) { in edp_clk_init()
165 ret = PTR_ERR(ctrl->ahb_clk); in edp_clk_init()
167 ctrl->ahb_clk = NULL; in edp_clk_init()
196 /* ahb_clk should be enabled first */ in edp_clk_enable()
198 ret = clk_prepare_enable(ctrl->ahb_clk); in edp_clk_enable()
272 clk_disable_unprepare(ctrl->ahb_clk); in edp_clk_enable()
288 clk_disable_unprepare(ctrl->ahb_clk); in edp_clk_disable()
/Linux-v5.10/Documentation/devicetree/bindings/clock/
Dnspire-clock.txt19 ahb_clk {
/Linux-v5.10/Documentation/devicetree/bindings/hwmon/
Dmicrochip,sparx5-temp.yaml43 clocks = <&ahb_clk>;
/Linux-v5.10/Documentation/devicetree/bindings/mmc/
Dsdhci-milbeaut.txt26 clocks = <&clk 7>, <&ahb_clk>;
/Linux-v5.10/drivers/pci/controller/dwc/
Dpcie-qcom.c152 struct clk *ahb_clk; member
989 res->ahb_clk = devm_clk_get(dev, "ahb"); in qcom_pcie_get_resources_2_3_3()
990 if (IS_ERR(res->ahb_clk)) in qcom_pcie_get_resources_2_3_3()
991 return PTR_ERR(res->ahb_clk); in qcom_pcie_get_resources_2_3_3()
1013 clk_disable_unprepare(res->ahb_clk); in qcom_pcie_deinit_2_3_3()
1069 ret = clk_prepare_enable(res->ahb_clk); in qcom_pcie_init_2_3_3()
1110 clk_disable_unprepare(res->ahb_clk); in qcom_pcie_init_2_3_3()
/Linux-v5.10/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c563 ret = clk_prepare_enable(phy->ahb_clk); in dsi_phy_enable_resource()
574 clk_disable_unprepare(phy->ahb_clk); in dsi_phy_disable_resource()
698 phy->ahb_clk = msm_clk_get(pdev, "iface"); in dsi_phy_driver_probe()
699 if (IS_ERR(phy->ahb_clk)) { in dsi_phy_driver_probe()
701 ret = PTR_ERR(phy->ahb_clk); in dsi_phy_driver_probe()
Ddsi_phy.h84 struct clk *ahb_clk; member

12