Lines Matching defs:armclk
20 static struct clk *armclk;
64 return clk_get_rate(armclk) / 1000;
82 freqs.old = clk_get_rate(armclk) / 1000;
107 ret = clk_set_rate(armclk, freqs.new * 1000);
130 clk_get_rate(armclk) / 1000);
135 if (clk_set_rate(armclk, freqs.old * 1000) < 0)
197 armclk = clk_get(NULL, "armclk");
198 if (IS_ERR(armclk)) {
200 PTR_ERR(armclk));
201 return PTR_ERR(armclk);
221 r = clk_round_rate(armclk, freq->frequency * 1000);
237 policy->cur = clk_get_rate(armclk) / 1000;
250 clk_put(armclk);