Lines Matching refs:spiclk
173 struct clk *spiclk;
189 /* frequency of spiclk */
603 * round divisor = spiclk / speed up to nearest even number
792 rs->spiclk = devm_clk_get(&pdev->dev, "spiclk");
793 if (IS_ERR(rs->spiclk)) {
795 ret = PTR_ERR(rs->spiclk);
805 ret = clk_prepare_enable(rs->spiclk);
823 rs->freq = clk_get_rate(rs->spiclk);
941 clk_disable_unprepare(rs->spiclk);
957 clk_disable_unprepare(rs->spiclk);
983 clk_disable_unprepare(rs->spiclk);
1003 ret = clk_prepare_enable(rs->spiclk);
1009 clk_disable_unprepare(rs->spiclk);
1023 clk_disable_unprepare(rs->spiclk);
1039 ret = clk_prepare_enable(rs->spiclk);