Lines Matching refs:phases
226 * calculated above and total rail current divided by number phases.
232 return max_t(int, DIV_ROUND_CLOSEST(ret, data->info.phases[page]),
356 ret = mp2975_data2reg_linear11(ret * info->phases[page] * 1000);
499 for (i = 0 ; i < info->phases[0]; i++)
508 /* Set phases for rail 2 from upper to lower. */
528 info->phases[0] = ret & GENMASK(3, 0);
533 * Rail 1 can be set to $n phases, while rail 2 can be set to less than
538 if (info->phases[0] > data->max_phases[0])
543 num_phases2 = min(data->max_phases[0] - info->phases[0],
545 if (info->phases[1] && info->phases[1] <= num_phases2)
596 if (info->phases[1])
624 if (info->phases[1])
934 data->info.phases[1] = ret;