Lines Matching refs:clk
82 static struct clk *clk; variable
93 clk_enable(clk); in coh901327_enable()
106 freq = clk_get_rate(clk); in coh901327_enable()
121 clk_disable(clk); in coh901327_enable()
132 clk_enable(clk); in coh901327_disable()
147 clk_disable(clk); in coh901327_disable()
168 clk_enable(clk); in coh901327_ping()
172 clk_disable(clk); in coh901327_ping()
180 clk_enable(clk); in coh901327_settimeout()
186 clk_disable(clk); in coh901327_settimeout()
194 clk_enable(clk); in coh901327_gettimeleft()
200 clk_disable(clk); in coh901327_gettimeleft()
224 clk_enable(clk); in coh901327_interrupt()
230 clk_disable(clk); in coh901327_interrupt()
266 clk_unprepare(clk); in coh901327_remove()
267 clk_put(clk); in coh901327_remove()
298 clk = clk_get(&pdev->dev, NULL); in coh901327_probe()
299 if (IS_ERR(clk)) { in coh901327_probe()
300 ret = PTR_ERR(clk); in coh901327_probe()
304 ret = clk_prepare_enable(clk); in coh901327_probe()
355 clk_disable(clk); in coh901327_probe()
374 clk_disable_unprepare(clk); in coh901327_probe()
376 clk_put(clk); in coh901327_probe()