Lines Matching defs:pclk
53 * @pclk: PIT64B's peripheral clock
59 struct clk *pclk;
166 clk_disable_unprepare(timer->pclk);
173 clk_prepare_enable(timer->pclk);
210 * PIT64B timer may be fed by gclk or pclk. When gclk is used its rate has to
211 * be at least 3 times lower that pclk's rate. pclk rate is fixed, gclk rate
212 * could be changed via clock APIs. The chosen clock (pclk or gclk) could be
229 * | |-->pclk -->|-->| | +---------+ +-----+ |
236 * - gclk rate <= pclk rate/3
238 * - pclk rate is fixed (cannot be requested from PMC)
247 pclk_rate = clk_get_rate(timer->pclk);
256 goto pclk;
259 goto pclk;
271 pclk:
289 timer->mode & MCHP_PIT64B_MR_SGCLK ? "gclk" : "pclk", best_pres,
335 ce->timer.pclk = timer->pclk;
372 timer.pclk = of_clk_get_by_name(node, "pclk");
373 if (IS_ERR(timer.pclk))
374 return PTR_ERR(timer.pclk);
397 ret = clk_prepare_enable(timer.pclk);
408 clk_rate = clk_get_rate(timer.pclk);
426 clk_disable_unprepare(timer.pclk);