Home
last modified time | relevance | path

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

/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()
256 clk_disable_unprepare(dpsub->apb_clk); in zynqmp_dpsub_probe()
275 clk_disable_unprepare(dpsub->apb_clk); in zynqmp_dpsub_remove()
Dzynqmp_dpsub.h41 struct clk *apb_clk; member
Dzynqmp_dp.c1053 rate = clk_get_rate(dp->dpsub->apb_clk); in zynqmp_dp_aux_init()
/drivers/media/rc/
Dsunxi-cir.c99 struct clk *apb_clk; member
176 ir->apb_clk = devm_clk_get(dev, "apb"); in sunxi_ir_probe()
177 if (IS_ERR(ir->apb_clk)) { in sunxi_ir_probe()
179 return PTR_ERR(ir->apb_clk); in sunxi_ir_probe()
207 if (clk_prepare_enable(ir->apb_clk)) { in sunxi_ir_probe()
304 clk_disable_unprepare(ir->apb_clk); in sunxi_ir_probe()
317 clk_disable_unprepare(ir->apb_clk); in sunxi_ir_remove()
/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
/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()
/drivers/i2c/busses/
Di2c-sprd.c324 u32 apb_clk = i2c_dev->src_clk; in sprd_i2c_set_clk() local
329 u32 i2c_dvd = apb_clk / (4 * freq) - 1; in sprd_i2c_set_clk()
347 writel((6 * apb_clk) / 10000000, i2c_dev->base + ADDR_STA0_DVD); in sprd_i2c_set_clk()
349 writel((4 * apb_clk) / 1000000, i2c_dev->base + ADDR_STA0_DVD); in sprd_i2c_set_clk()
Di2c-npcm7xx.c282 u32 apb_clk; member
1797 src_clk_khz = bus->apb_clk / 1000; in npcm_i2c_init_clk()
2275 bus->apb_clk = clk_get_rate(i2c_clk); in npcm_i2c_probe_bus()
/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,
/drivers/clk/actions/
Dowl-s500.c197 static OWL_DIVIDER(apb_clk, "apb_clk", "ahb_clk", CMU_BUSCLK1, 14, 2, NULL, 0, 0);
451 &apb_clk.common,
510 [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,
/drivers/pinctrl/tegra/
Dpinctrl-tegra20.c1899 FUNCTION(apb_clk),