Lines Matching full:divisor
88 unsigned long old_divisor, unsigned long divisor) in frob_mem_refresh() argument
93 refr_count /= (MCTRL0_REFR_CLKS_P_CNT * divisor * 1000000000UL); in frob_mem_refresh()
120 unsigned long old_divisor, unsigned long divisor) in us2e_transition() argument
125 if (old_divisor == 2 && divisor == 1) { in us2e_transition()
128 frob_mem_refresh(0, clock_tick, old_divisor, divisor); in us2e_transition()
129 } else if (old_divisor == 1 && divisor == 2) { in us2e_transition()
130 frob_mem_refresh(1, clock_tick, old_divisor, divisor); in us2e_transition()
133 } else if (old_divisor == 1 && divisor > 2) { in us2e_transition()
137 2, divisor); in us2e_transition()
138 } else if (old_divisor > 2 && divisor == 1) { in us2e_transition()
142 2, divisor); in us2e_transition()
143 } else if (old_divisor < divisor) { in us2e_transition()
144 frob_mem_refresh(0, clock_tick, old_divisor, divisor); in us2e_transition()
146 } else if (old_divisor > divisor) { in us2e_transition()
148 frob_mem_refresh(1, clock_tick, old_divisor, divisor); in us2e_transition()
250 unsigned long clock_tick, divisor, old_divisor, estar; in __us2e_freq_target() local
254 divisor = index_to_divisor(*index); in __us2e_freq_target()
255 new_freq /= divisor; in __us2e_freq_target()
261 if (old_divisor != divisor) { in __us2e_freq_target()
263 old_divisor, divisor); in __us2e_freq_target()