Searched refs:cur_rate (Results 1 – 2 of 2) sorted by relevance
112 u32 cur_rate, low, mult, div, valid_rate, done_rate; in omap2_reprogram_dpllcore() local117 cur_rate = omap2xxx_clk_get_core_rate(); in omap2_reprogram_dpllcore()120 if ((rate == (cur_rate / 2)) && (mult == 2)) { in omap2_reprogram_dpllcore()122 } else if ((rate == (cur_rate * 2)) && (mult == 1)) { in omap2_reprogram_dpllcore()124 } else if (rate != cur_rate) { in omap2_reprogram_dpllcore()
98 u32 cur_rate, done_rate, bypass = 0; in omap2_select_table_rate() local123 cur_rate = omap2xxx_clk_get_core_rate(); in omap2_select_table_rate()125 if (prcm->dpll_speed == cur_rate / 2) { in omap2_select_table_rate()127 } else if (prcm->dpll_speed == cur_rate * 2) { in omap2_select_table_rate()129 } else if (prcm->dpll_speed != cur_rate) { in omap2_select_table_rate()