Home
last modified time | relevance | path

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

/linux/drivers/hwmon/pmbus/
H A Disl68137.c78 u32 vout_voltage_divider[2]; member
200 data->channel[page].vout_voltage_divider[1], in raa_dmpvr2_read_word_data()
201 data->channel[page].vout_voltage_divider[0]); in raa_dmpvr2_read_word_data()
236 data->channel[page].vout_voltage_divider[0], in raa_dmpvr2_write_word_data()
237 data->channel[page].vout_voltage_divider[1]); in raa_dmpvr2_write_word_data()
307 data->channel[channel].vout_voltage_divider, in isl68137_probe_child_from_dt()
308 ARRAY_SIZE(data->channel[channel].vout_voltage_divider)); in isl68137_probe_child_from_dt()
316 rout = data->channel[channel].vout_voltage_divider[0]; in isl68137_probe_child_from_dt()
317 rtotal = data->channel[channel].vout_voltage_divider[1]; in isl68137_probe_child_from_dt()
367 memset(data->channel[i].vout_voltage_divider, in isl68137_probe()
[all …]
H A Dmax20730.c56 u32 vout_voltage_divider[2]; member
474 if (ret > 0 && data->vout_voltage_divider[0] && data->vout_voltage_divider[1]) { in max20730_read_word_data()
475 u64 temp = DIV_ROUND_CLOSEST_ULL((u64)ret * data->vout_voltage_divider[1], in max20730_read_word_data()
476 data->vout_voltage_divider[0]); in max20730_read_word_data()
730 data->vout_voltage_divider, in max20730_probe()
731 ARRAY_SIZE(data->vout_voltage_divider)) != 0) in max20730_probe()
732 memset(data->vout_voltage_divider, 0, sizeof(data->vout_voltage_divider)); in max20730_probe()
733 if (data->vout_voltage_divider[1] < data->vout_voltage_divider[0]) { in max20730_probe()