Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/pmbus/
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()