Lines Matching refs:clock_ratio_index
140 static void do_longhaul1(unsigned int clock_ratio_index)
147 bcr2.bits.CLOCKMUL = clock_ratio_index;
166 static void do_powersaver(int cx_address, unsigned int clock_ratio_index)
172 dest_pos = f_msr_table[clock_ratio_index].pos;
177 longhaul.bits.SoftBusRatio = clock_ratio_index & 0xf;
178 longhaul.bits.SoftBusRatio4 = (clock_ratio_index & 0x10) >> 4;
181 longhaul.bits.SoftVID = f_msr_table[clock_ratio_index].vrm;
246 * @clock_ratio_index : bitpattern of the new multiplier.
251 static void longhaul_setstate(unsigned int clock_ratio_index)
259 if (old_ratio == clock_ratio_index)
261 old_ratio = clock_ratio_index;
263 mult = clock_ratio[clock_ratio_index];
302 do_longhaul1(clock_ratio_index);
317 do_powersaver(cx->address, clock_ratio_index);
319 do_powersaver(0, clock_ratio_index);