Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/spi/
Dspi-mtk-nor.c105 struct clk *ctlr_clk; member
675 clk_disable_unprepare(sp->ctlr_clk); in mtk_nor_disable_clk()
687 ret = clk_prepare_enable(sp->ctlr_clk); in mtk_nor_enable_clk()
696 clk_disable_unprepare(sp->ctlr_clk); in mtk_nor_enable_clk()
758 struct clk *spi_clk, *ctlr_clk, *axi_clk; in mtk_nor_probe() local
770 ctlr_clk = devm_clk_get(&pdev->dev, "sf"); in mtk_nor_probe()
771 if (IS_ERR(ctlr_clk)) in mtk_nor_probe()
772 return PTR_ERR(ctlr_clk); in mtk_nor_probe()
809 sp->ctlr_clk = ctlr_clk; in mtk_nor_probe()