Searched refs:min_vol (Results 1 – 2 of 2) sorted by relevance
249 int min_vol) in s5m8767_convert_voltage_to_sel() argument256 if (min_vol > desc->max) in s5m8767_convert_voltage_to_sel()259 if (min_vol < desc->min) in s5m8767_convert_voltage_to_sel()260 min_vol = desc->min; in s5m8767_convert_voltage_to_sel()262 selector = DIV_ROUND_UP(min_vol - desc->min, desc->step); in s5m8767_convert_voltage_to_sel()
375 int min_vol, int max_vol) in max8997_get_voltage_proper_val() argument382 if (max_vol < desc->min || min_vol > desc->max) in max8997_get_voltage_proper_val()385 if (min_vol < desc->min) in max8997_get_voltage_proper_val()386 min_vol = desc->min; in max8997_get_voltage_proper_val()388 i = DIV_ROUND_UP(min_vol - desc->min, desc->step); in max8997_get_voltage_proper_val()