Lines Matching full:aclk
108 return snprintf(buf, PAGE_SIZE, "%lu\n", clk_get_rate(mdev->aclk)); in aclk_hz_show()
222 mdev->aclk = devm_clk_get(dev, "aclk"); in komeda_dev_create()
223 if (IS_ERR(mdev->aclk)) { in komeda_dev_create()
225 err = PTR_ERR(mdev->aclk); in komeda_dev_create()
226 mdev->aclk = NULL; in komeda_dev_create()
230 clk_prepare_enable(mdev->aclk); in komeda_dev_create()
271 clk_disable_unprepare(mdev->aclk); in komeda_dev_create()
288 clk_disable_unprepare(mdev->aclk); in komeda_dev_create()
306 if (mdev->aclk) in komeda_dev_destroy()
307 clk_prepare_enable(mdev->aclk); in komeda_dev_destroy()
326 if (mdev->aclk) { in komeda_dev_destroy()
327 clk_disable_unprepare(mdev->aclk); in komeda_dev_destroy()
328 devm_clk_put(dev, mdev->aclk); in komeda_dev_destroy()
329 mdev->aclk = NULL; in komeda_dev_destroy()
337 clk_prepare_enable(mdev->aclk); in komeda_dev_resume()
356 clk_disable_unprepare(mdev->aclk); in komeda_dev_suspend()