Lines Matching full:divisor
86 unsigned long old_divisor, unsigned long divisor) in frob_mem_refresh() argument
91 refr_count /= (MCTRL0_REFR_CLKS_P_CNT * divisor * 1000000000UL); in frob_mem_refresh()
118 unsigned long old_divisor, unsigned long divisor) in us2e_transition() argument
123 if (old_divisor == 2 && divisor == 1) { in us2e_transition()
126 frob_mem_refresh(0, clock_tick, old_divisor, divisor); in us2e_transition()
127 } else if (old_divisor == 1 && divisor == 2) { in us2e_transition()
128 frob_mem_refresh(1, clock_tick, old_divisor, divisor); in us2e_transition()
131 } else if (old_divisor == 1 && divisor > 2) { in us2e_transition()
135 2, divisor); in us2e_transition()
136 } else if (old_divisor > 2 && divisor == 1) { in us2e_transition()
140 2, divisor); in us2e_transition()
141 } else if (old_divisor < divisor) { in us2e_transition()
142 frob_mem_refresh(0, clock_tick, old_divisor, divisor); in us2e_transition()
144 } else if (old_divisor > divisor) { in us2e_transition()
146 frob_mem_refresh(1, clock_tick, old_divisor, divisor); in us2e_transition()
248 unsigned long clock_tick, divisor, old_divisor, estar; in __us2e_freq_target() local
252 divisor = index_to_divisor(*index); in __us2e_freq_target()
253 new_freq /= divisor; in __us2e_freq_target()
259 if (old_divisor != divisor) { in __us2e_freq_target()
261 old_divisor, divisor); in __us2e_freq_target()