Home
last modified time | relevance | path

Searched full:apb_clk (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.12.1/drivers/clk/spear/
Dspear6xx_clock.c282 clk = clk_register_divider(NULL, "apb_clk", "ahb_clk", in spear6xx_clk_init()
285 clk_register_clkdev(clk, "apb_clk", NULL); in spear6xx_clk_init()
312 clk = clk_register_gate(NULL, "adc_clk", "apb_clk", 0, PERIP1_CLK_ENB, in spear6xx_clk_init()
316 clk = clk_register_fixed_factor(NULL, "gpio0_clk", "apb_clk", 0, 1, 1); in spear6xx_clk_init()
319 clk = clk_register_gate(NULL, "gpio1_clk", "apb_clk", 0, PERIP1_CLK_ENB, in spear6xx_clk_init()
323 clk = clk_register_gate(NULL, "gpio2_clk", "apb_clk", 0, PERIP1_CLK_ENB, in spear6xx_clk_init()
327 clk = clk_register_gate(NULL, "ssp0_clk", "apb_clk", 0, PERIP1_CLK_ENB, in spear6xx_clk_init()
331 clk = clk_register_gate(NULL, "ssp1_clk", "apb_clk", 0, PERIP1_CLK_ENB, in spear6xx_clk_init()
335 clk = clk_register_gate(NULL, "ssp2_clk", "apb_clk", 0, PERIP1_CLK_ENB, in spear6xx_clk_init()
Dspear1310_clock.c356 static const char *gpt_parents[] = { "osc_24m_clk", "apb_clk", };
504 clk = clk_register_fixed_factor(NULL, "apb_clk", "pll1_clk", 0, 1, in spear1310_clk_init()
506 clk_register_clkdev(clk, "apb_clk", NULL); in spear1310_clk_init()
774 clk = clk_register_gate(NULL, "ssp0_clk", "apb_clk", 0, in spear1310_clk_init()
779 clk = clk_register_gate(NULL, "gpio0_clk", "apb_clk", 0, in spear1310_clk_init()
784 clk = clk_register_gate(NULL, "gpio1_clk", "apb_clk", 0, in spear1310_clk_init()
789 clk = clk_register_gate(NULL, "i2s0_clk", "apb_clk", 0, in spear1310_clk_init()
794 clk = clk_register_gate(NULL, "i2s1_clk", "apb_clk", 0, in spear1310_clk_init()
799 clk = clk_register_gate(NULL, "kbd_clk", "apb_clk", 0, in spear1310_clk_init()
888 clk = clk_register_gate(NULL, "ras_apb_clk", "apb_clk", 0, in spear1310_clk_init()
[all …]
Dspear3xx_clock.c563 clk = clk_register_divider(NULL, "apb_clk", "ahb_clk", in spear3xx_clk_init()
566 clk_register_clkdev(clk, "apb_clk", NULL); in spear3xx_clk_init()
597 clk = clk_register_gate(NULL, "adc_clk", "apb_clk", 0, PERIP1_CLK_ENB, in spear3xx_clk_init()
601 clk = clk_register_gate(NULL, "gpio0_clk", "apb_clk", 0, PERIP1_CLK_ENB, in spear3xx_clk_init()
605 clk = clk_register_gate(NULL, "ssp0_clk", "apb_clk", 0, PERIP1_CLK_ENB, in spear3xx_clk_init()
614 clk = clk_register_gate(NULL, "ras_apb_clk", "apb_clk", 0, RAS_CLK_ENB, in spear3xx_clk_init()
Dspear1340_clock.c417 static const char *gpt_parents[] = { "osc_24m_clk", "apb_clk", };
583 clk = clk_register_fixed_factor(NULL, "apb_clk", "ahb_clk", 0, 1, in spear1340_clk_init()
585 clk_register_clkdev(clk, "apb_clk", NULL); in spear1340_clk_init()
859 clk = clk_register_gate(NULL, "ssp_clk", "apb_clk", 0, in spear1340_clk_init()
864 clk = clk_register_gate(NULL, "gpio0_clk", "apb_clk", 0, in spear1340_clk_init()
869 clk = clk_register_gate(NULL, "gpio1_clk", "apb_clk", 0, in spear1340_clk_init()
874 clk = clk_register_gate(NULL, "i2s_play_clk", "apb_clk", 0, in spear1340_clk_init()
879 clk = clk_register_gate(NULL, "i2s_rec_clk", "apb_clk", 0, in spear1340_clk_init()
884 clk = clk_register_gate(NULL, "kbd_clk", "apb_clk", 0, in spear1340_clk_init()
/linux-6.12.1/drivers/gpu/drm/xlnx/
Dzynqmp_dpsub.c97 dpsub->apb_clk = devm_clk_get(dpsub->dev, "dp_apb_clk"); in zynqmp_dpsub_init_clocks()
98 if (IS_ERR(dpsub->apb_clk)) in zynqmp_dpsub_init_clocks()
99 return PTR_ERR(dpsub->apb_clk); in zynqmp_dpsub_init_clocks()
101 ret = clk_prepare_enable(dpsub->apb_clk); in zynqmp_dpsub_init_clocks()
278 clk_disable_unprepare(dpsub->apb_clk); in zynqmp_dpsub_probe()
298 clk_disable_unprepare(dpsub->apb_clk); in zynqmp_dpsub_remove()
Dzynqmp_dpsub.h45 * @apb_clk: The APB clock
63 struct clk *apb_clk; member
/linux-6.12.1/drivers/media/rc/
Dsunxi-cir.c96 struct clk *apb_clk; member
184 ret = clk_prepare_enable(ir->apb_clk); in sunxi_ir_hw_init()
223 clk_disable_unprepare(ir->apb_clk); in sunxi_ir_hw_init()
235 clk_disable_unprepare(ir->apb_clk); in sunxi_ir_hw_exit()
276 ir->apb_clk = devm_clk_get(dev, "apb"); in sunxi_ir_probe()
277 if (IS_ERR(ir->apb_clk)) { in sunxi_ir_probe()
279 return PTR_ERR(ir->apb_clk); in sunxi_ir_probe()
/linux-6.12.1/drivers/watchdog/
Dstarfive-wdt.c105 struct clk *apb_clk; member
150 ret = clk_prepare_enable(wdt->apb_clk); in starfive_wdt_enable_clock()
156 clk_disable_unprepare(wdt->apb_clk); in starfive_wdt_enable_clock()
166 clk_disable_unprepare(wdt->apb_clk); in starfive_wdt_disable_clock()
173 wdt->apb_clk = devm_clk_get(dev, "apb"); in starfive_wdt_get_clock()
174 if (IS_ERR(wdt->apb_clk)) in starfive_wdt_get_clock()
175 return dev_err_probe(dev, PTR_ERR(wdt->apb_clk), "failed to get apb clock\n"); in starfive_wdt_get_clock()
/linux-6.12.1/drivers/gpu/drm/imx/dcss/
Ddcss-dev.c22 clk_prepare_enable(dcss->apb_clk); in dcss_clocks_enable()
33 clk_disable_unprepare(dcss->apb_clk); in dcss_clocks_disable()
135 {"apb", &dcss->apb_clk}, in dcss_clks_init()
160 devm_clk_put(dcss->dev, dcss->apb_clk); in dcss_clks_release()
Ddcss-dev.h81 struct clk *apb_clk; member
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dintel,keembay-i2s.yaml51 - const: apb_clk
86 clock-names = "osc", "apb_clk";
/linux-6.12.1/sound/soc/sunxi/
Dsun4i-spdif.c184 struct clk *apb_clk; member
599 clk_disable_unprepare(host->apb_clk); in sun4i_spdif_runtime_suspend()
612 ret = clk_prepare_enable(host->apb_clk); in sun4i_spdif_runtime_resume()
656 host->apb_clk = devm_clk_get(&pdev->dev, "apb"); in sun4i_spdif_probe()
657 if (IS_ERR(host->apb_clk)) { in sun4i_spdif_probe()
659 return PTR_ERR(host->apb_clk); in sun4i_spdif_probe()
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm-cygnus-clock.dtsi62 apb_clk: apb_clk { label
Dbcm63138.dtsi62 apb_clk: apb_clk { label
Dbcm-cygnus.dtsi346 clocks = <&apb_clk>;
497 clocks = <&axi41_clk>, <&apb_clk>;
/linux-6.12.1/drivers/iio/adc/
Dspear_adc.c107 u32 apb_clk = clk_get_rate(st->clk); in spear_adc_set_clk() local
109 count = DIV_ROUND_UP(apb_clk, val); in spear_adc_set_clk()
112 st->current_clk = apb_clk / count; in spear_adc_set_clk()
/linux-6.12.1/drivers/i2c/busses/
Di2c-sprd.c323 u32 apb_clk = i2c_dev->src_clk; in sprd_i2c_set_clk() local
328 u32 i2c_dvd = apb_clk / (4 * freq) - 1; in sprd_i2c_set_clk()
346 writel((6 * apb_clk) / 10000000, i2c_dev->base + ADDR_STA0_DVD); in sprd_i2c_set_clk()
348 writel((4 * apb_clk) / 1000000, i2c_dev->base + ADDR_STA0_DVD); in sprd_i2c_set_clk()
Di2c-npcm7xx.c302 u32 apb_clk; member
1816 src_clk_khz = bus->apb_clk / 1000; in npcm_i2c_init_clk()
2290 bus->apb_clk = clk_get_rate(i2c_clk); in npcm_i2c_probe_bus()
/linux-6.12.1/drivers/clk/actions/
Dowl-s500.c187 static OWL_GATE(gpio_clk, "gpio_clk", "apb_clk", CMU_DEVCLKEN0, 18, 0, 0);
198 static OWL_DIVIDER(apb_clk, "apb_clk", "nic_clk", CMU_BUSCLK1, 14, 2, NULL, 0, 0);
462 &apb_clk.common,
523 [CLK_APB] = &apb_clk.common.hw,
Dowl-s900.c163 static OWL_DIVIDER(apb_clk, "apb_clk", "ahb_clk", CMU_BUSCLK, 8, 2, apb_div_table, 0, 0);
215 static OWL_GATE(gpio_clk, "gpio_clk", "apb_clk", CMU_DEVCLKEN0, 18, 0, 0);
516 &apb_clk.common,
609 [CLK_APB] = &apb_clk.common.hw,
Dowl-s700.c175 static OWL_DIVIDER(clk_apb, "apb_clk", "ahb_clk", CMU_BUSCLK1, 14, 2, NULL, 0, 0);
194 static OWL_GATE(clk_gpio, "gpio", "apb_clk", CMU_DEVCLKEN1, 25, 0, 0);
/linux-6.12.1/drivers/clk/sunxi-ng/
Dccu-suniv-f1c100s.c146 static SUNXI_CCU_DIV_TABLE(apb_clk, "apb", "ahb",
329 &apb_clk.common,
421 [CLK_APB] = &apb_clk.common.hw,
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/
Dnvidia,tegra20-pinmux.yaml60 enum: [ ahb_clk, apb_clk, audio_sync, crt, dap1, dap2, dap3, dap4,
/linux-6.12.1/Documentation/devicetree/bindings/net/
Dsnps,dwc-qos-ethernet.txt85 - "apb_clk"
/linux-6.12.1/drivers/tty/serial/
Desp32_uart.c76 #define APB_CLK 1 macro

12