Home
last modified time | relevance | path

Searched refs:dev_clk (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/clk/
Dclk-vt8500.c227 struct clk_device *dev_clk; in vtwm_device_clk_init() local
237 dev_clk = kzalloc(sizeof(*dev_clk), GFP_KERNEL); in vtwm_device_clk_init()
238 if (WARN_ON(!dev_clk)) in vtwm_device_clk_init()
241 dev_clk->lock = &_lock; in vtwm_device_clk_init()
245 dev_clk->en_reg = pmc_base + en_reg; in vtwm_device_clk_init()
246 rc = of_property_read_u32(node, "enable-bit", &dev_clk->en_bit); in vtwm_device_clk_init()
257 dev_clk->div_reg = pmc_base + div_reg; in vtwm_device_clk_init()
262 dev_clk->div_mask = 0x1f; in vtwm_device_clk_init()
264 of_property_read_u32(node, "divisor-mask", &dev_clk->div_mask); in vtwm_device_clk_init()
283 kfree(dev_clk); in vtwm_device_clk_init()
[all …]
/linux-6.6.21/drivers/clk/actions/
Dowl-s500.c184 static OWL_MUX(dev_clk, "dev_clk", dev_clk_mux_p, CMU_DEVPLL, 12, 1, CLK_SET_RATE_PARENT);
417 &dev_clk.common,
479 [CLK_DEV] = &dev_clk.common.hw,
Dowl-s900.c115 static OWL_MUX(dev_clk, "dev_clk", dev_clk_p, CMU_DEVPLL, 12, 1, CLK_SET_RATE_PARENT);
512 &dev_clk.common,
605 [CLK_DEV] = &dev_clk.common.hw,
/linux-6.6.21/drivers/dma/xilinx/
Dxilinx_dma.c2676 struct clk **dev_clk, struct clk **tmp_clk, in axicdma_clk_init() argument
2689 *dev_clk = devm_clk_get(&pdev->dev, "m_axi_aclk"); in axicdma_clk_init()
2690 if (IS_ERR(*dev_clk)) in axicdma_clk_init()
2691 return dev_err_probe(&pdev->dev, PTR_ERR(*dev_clk), "failed to get dev_clk\n"); in axicdma_clk_init()
2699 err = clk_prepare_enable(*dev_clk); in axicdma_clk_init()