Lines Matching defs:rate
399 * @rate: currently configured rate of pclk
437 unsigned long rate;
725 * current clock rate, hence it's better to temporally
726 * switch clock to a safe rate which is suitable for
1557 unsigned long rate, value;
1567 rate = pmc->rate;
1568 if (!rate) {
1569 dev_err(pmc->dev, "failed to get clock rate\n");
1576 value = DIV_ROUND_UP(1000000000, rate);
1828 unsigned long long rate = 0;
1834 rate = 32768;
1838 rate = pmc->rate;
1845 if (WARN_ON_ONCE(rate == 0))
1846 rate = 100000000;
1848 ticks = pmc->cpu_good_time * rate + USEC_PER_SEC - 1;
1852 ticks = pmc->cpu_off_time * rate + USEC_PER_SEC - 1;
2559 pmc->rate = data->new_rate;
2989 * PCLK clock rate can't be retrieved using CLK API because it
2991 * CLK notifier, hence we're caching the rate's value locally.
3003 pmc->rate = clk_get_rate(pmc->clk);