Home
last modified time | relevance | path

Searched refs:apb_clk (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/xlnx/
Dzynqmp_dpsub.c190 dpsub->apb_clk = devm_clk_get(dpsub->dev, "dp_apb_clk"); in zynqmp_dpsub_init_clocks()
191 if (IS_ERR(dpsub->apb_clk)) in zynqmp_dpsub_init_clocks()
192 return PTR_ERR(dpsub->apb_clk); in zynqmp_dpsub_init_clocks()
194 ret = clk_prepare_enable(dpsub->apb_clk); in zynqmp_dpsub_init_clocks()
254 clk_disable_unprepare(dpsub->apb_clk); in zynqmp_dpsub_probe()
273 clk_disable_unprepare(dpsub->apb_clk); in zynqmp_dpsub_remove()
Dzynqmp_dpsub.h41 struct clk *apb_clk; member
Dzynqmp_dp.c1059 rate = clk_get_rate(dp->dpsub->apb_clk); in zynqmp_dp_aux_init()
/Linux-v5.10/drivers/media/rc/
Dsunxi-cir.c99 struct clk *apb_clk; member
174 ir->apb_clk = devm_clk_get(dev, "apb"); in sunxi_ir_probe()
175 if (IS_ERR(ir->apb_clk)) { in sunxi_ir_probe()
177 return PTR_ERR(ir->apb_clk); in sunxi_ir_probe()
205 if (clk_prepare_enable(ir->apb_clk)) { in sunxi_ir_probe()
302 clk_disable_unprepare(ir->apb_clk); in sunxi_ir_probe()
315 clk_disable_unprepare(ir->apb_clk); in sunxi_ir_remove()
/Linux-v5.10/sound/soc/sunxi/
Dsun4i-spdif.c183 struct clk *apb_clk; member
480 clk_disable_unprepare(host->apb_clk); in sun4i_spdif_runtime_suspend()
493 ret = clk_prepare_enable(host->apb_clk); in sun4i_spdif_runtime_resume()
537 host->apb_clk = devm_clk_get(&pdev->dev, "apb"); in sun4i_spdif_probe()
538 if (IS_ERR(host->apb_clk)) { in sun4i_spdif_probe()
540 return PTR_ERR(host->apb_clk); in sun4i_spdif_probe()
/Linux-v5.10/drivers/gpu/drm/imx/dcss/
Ddcss-dev.c21 clk_prepare_enable(dcss->apb_clk); in dcss_clocks_enable()
32 clk_disable_unprepare(dcss->apb_clk); in dcss_clocks_disable()
137 {"apb", &dcss->apb_clk}, in dcss_clks_init()
162 devm_clk_put(dcss->dev, dcss->apb_clk); in dcss_clks_release()
Ddcss-dev.h79 struct clk *apb_clk; member
/Linux-v5.10/drivers/iio/adc/
Dspear_adc.c98 u32 apb_clk = clk_get_rate(st->clk); in spear_adc_set_clk() local
100 count = DIV_ROUND_UP(apb_clk, val); in spear_adc_set_clk()
103 st->current_clk = apb_clk / count; in spear_adc_set_clk()
/Linux-v5.10/drivers/i2c/busses/
Di2c-sprd.c318 u32 apb_clk = i2c_dev->src_clk; in sprd_i2c_set_clk() local
323 u32 i2c_dvd = apb_clk / (4 * freq) - 1; in sprd_i2c_set_clk()
341 writel((6 * apb_clk) / 10000000, i2c_dev->base + ADDR_STA0_DVD); in sprd_i2c_set_clk()
343 writel((4 * apb_clk) / 1000000, i2c_dev->base + ADDR_STA0_DVD); in sprd_i2c_set_clk()
Di2c-npcm7xx.c282 u32 apb_clk; member
1789 src_clk_khz = bus->apb_clk / 1000; in npcm_i2c_init_clk()
2251 bus->apb_clk = clk_get_rate(i2c_clk); in npcm_i2c_probe_bus()
/Linux-v5.10/arch/arm/boot/dts/
Dbcm-cygnus-clock.dtsi62 apb_clk: apb_clk { label
Dbcm63138.dtsi62 apb_clk: apb_clk { label
Dbcm-cygnus.dtsi344 clocks = <&apb_clk>;
495 clocks = <&axi41_clk>, <&apb_clk>;
/Linux-v5.10/drivers/clk/sunxi-ng/
Dccu-suniv-f1c100s.c145 static SUNXI_CCU_DIV_TABLE(apb_clk, "apb", "ahb",
321 &apb_clk.common,
412 [CLK_APB] = &apb_clk.common.hw,
/Linux-v5.10/drivers/clk/actions/
Dowl-s500.c191 static OWL_DIVIDER(apb_clk, "apb_clk", "ahb_clk", CMU_BUSCLK1, 14, 2, NULL, 0, 0);
436 &apb_clk.common,
495 [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);
516 &apb_clk.common,
609 [CLK_APB] = &apb_clk.common.hw,
/Linux-v5.10/Documentation/devicetree/bindings/pinctrl/
Dnvidia,tegra20-pinmux.txt108 ahb_clk, apb_clk, audio_sync, crt, dap1, dap2, dap3, dap4, dap5,
/Linux-v5.10/Documentation/devicetree/bindings/net/
Dsnps,dwc-qos-ethernet.txt85 - "apb_clk"
/Linux-v5.10/drivers/pinctrl/tegra/
Dpinctrl-tegra20.c1899 FUNCTION(apb_clk),