Searched refs:apb_clk (Results 1 – 13 of 13) sorted by relevance
/drivers/gpu/drm/xlnx/ |
D | zynqmp_dpsub.c | 190 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()
|
D | zynqmp_dpsub.h | 41 struct clk *apb_clk; member
|
D | zynqmp_dp.c | 1053 rate = clk_get_rate(dp->dpsub->apb_clk); in zynqmp_dp_aux_init()
|
/drivers/media/rc/ |
D | sunxi-cir.c | 99 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/ |
D | dcss-dev.c | 21 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()
|
D | dcss-dev.h | 79 struct clk *apb_clk; member
|
/drivers/iio/adc/ |
D | spear_adc.c | 98 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/ |
D | i2c-sprd.c | 324 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()
|
D | i2c-npcm7xx.c | 282 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/ |
D | ccu-suniv-f1c100s.c | 145 static SUNXI_CCU_DIV_TABLE(apb_clk, "apb", "ahb", 321 &apb_clk.common, 412 [CLK_APB] = &apb_clk.common.hw,
|
/drivers/clk/actions/ |
D | owl-s500.c | 197 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,
|
D | owl-s900.c | 163 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/ |
D | pinctrl-tegra20.c | 1899 FUNCTION(apb_clk),
|