Lines Matching defs:rate
44 * omap2xxx_clk_get_core_rate - return the CORE_CLK rate
46 * Returns the CORE_CLK rate. CORE_CLK can have one of three rate
47 * sources on OMAP2xxx: the DPLL CLKOUT rate, DPLL CLKOUTX2, or 32KHz
72 * Uses the current prcm set to tell if a rate is valid.
73 * You can go slower, but not faster within a given rate set.
109 int omap2_reprogram_dpllcore(struct clk_hw *hw, unsigned long rate,
121 if ((rate == (cur_rate / 2)) && (mult == 2)) {
123 } else if ((rate == (cur_rate * 2)) && (mult == 1)) {
125 } else if (rate != cur_rate) {
126 valid_rate = omap2_dpllcore_round_rate(rate);
127 if (valid_rate != rate)
146 if (rate > low) {
148 mult = ((rate / 2) / 1000000);
152 mult = (rate / 1000000);
161 if (rate == curr_prcm_set->xtal_speed) /* If asking for 1-1 */
184 * the core rate without having to clk_get(), which can sleep. Must