Lines Matching refs:hclk
27 struct clk *hclk;
130 pr_debug("cpufreq: switching armclk to hclk (%lukHz)\n",
131 clk_get_rate(s3c_freq->hclk) / 1000);
132 ret = clk_set_parent(s3c_freq->armclk, s3c_freq->hclk);
134 pr_err("cpufreq: Failed to switch armclk to hclk: %d\n", ret);
188 /* force armdiv to hclk frequency for transition from dvs*/
189 if (clk_get_rate(s3c_freq->armdiv) > clk_get_rate(s3c_freq->hclk)) {
190 pr_debug("cpufreq: force armdiv to hclk frequency (%lukHz)\n",
191 clk_get_rate(s3c_freq->hclk) / 1000);
193 clk_get_rate(s3c_freq->hclk) / 1000);
196 clk_get_rate(s3c_freq->hclk) / 1000, ret);
237 /* When leavin dvs mode, always switch the armdiv to the hclk rate
242 ? clk_get_rate(s3c_freq->hclk) / 1000
397 s3c_freq->hclk = clk_get(NULL, "hclk");
398 if (IS_ERR(s3c_freq->hclk)) {
399 ret = PTR_ERR(s3c_freq->hclk);
404 /* chech hclk rate, we only support the common 133MHz for now
405 * hclk could also run at 66MHz, but this not often used
407 rate = clk_get_rate(s3c_freq->hclk);
437 if (!s3c_freq->hclk) {
471 clk_put(s3c_freq->hclk);