Lines Matching refs:pclk
78 static int avr32_timer_calc_div_and_set_jiffies(struct clk *pclk)
93 count_hz = clk_get_rate(pclk) / divs[i];
121 struct clk *pclk;
133 pclk = clk_get(&at32_systc0_device.dev, "pclk");
134 if (IS_ERR(pclk)) {
135 pr_debug("timer: could not get clk: %ld\n", PTR_ERR(pclk));
138 clk_enable(pclk);
152 ret = avr32_timer_calc_div_and_set_jiffies(pclk);
180 clk_put(pclk);