Home
last modified time | relevance | path

Searched refs:cur_rate (Results 1 – 2 of 2) sorted by relevance

/arch/arm/mach-omap2/
Dclkt2xxx_dpllcore.c112 u32 cur_rate, low, mult, div, valid_rate, done_rate; in omap2_reprogram_dpllcore() local
117 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()
Dclkt2xxx_virt_prcm_set.c98 u32 cur_rate, done_rate, bypass = 0; in omap2_select_table_rate() local
123 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()