Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/hwmon/pmbus/
Dmp2856.c68 int max_phases[MP2856_PAGE_NUM]; member
271 data->info.phases[0] = (ret > data->max_phases[0]) ? in mp2856_identify_multiphase_rail1()
272 data->max_phases[0] : ret; in mp2856_identify_multiphase_rail1()
291 data->info.phases[1] = (ret > data->max_phases[1]) ? in mp2856_identify_multiphase_rail2()
292 data->max_phases[1] : ret; in mp2856_identify_multiphase_rail2()
409 memcpy(data->max_phases, mp2856_max_phases[chip_id], in mp2856_probe()
410 sizeof(data->max_phases)); in mp2856_probe()
Dmp2975.c111 int max_phases[MP2975_PAGE_NUM]; member
579 return (ret >= data->max_phases[1]) ? data->max_phases[1] : ret; in mp2975_identify_multiphase_rail2()
625 if (info->phases[0] > data->max_phases[0]) in mp2975_identify_multiphase()
630 num_phases2 = min(data->max_phases[0] - info->phases[0], in mp2975_identify_multiphase()
631 data->max_phases[1]); in mp2975_identify_multiphase()
1013 memcpy(data->max_phases, mp2975_max_phases[data->chip_id], in mp2975_probe()
1014 sizeof(data->max_phases)); in mp2975_probe()