Lines Matching refs:uV_step
363 if (rdev->desc->n_voltages == 1 && rdev->desc->uV_step == 0) { in regulator_map_voltage_linear()
370 if (!rdev->desc->uV_step) { in regulator_map_voltage_linear()
371 BUG_ON(!rdev->desc->uV_step); in regulator_map_voltage_linear()
378 ret = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step); in regulator_map_voltage_linear()
420 (range->max_sel - range->min_sel) * range->uV_step; in regulator_map_voltage_linear_range()
429 if (range->uV_step == 0) { in regulator_map_voltage_linear_range()
433 range->uV_step); in regulator_map_voltage_linear_range()
484 (range->max_sel - range->min_sel) * range->uV_step; in regulator_map_voltage_pickable_linear_range()
495 if (range->uV_step == 0) { in regulator_map_voltage_pickable_linear_range()
499 range->uV_step); in regulator_map_voltage_pickable_linear_range()
546 return rdev->desc->min_uV + (rdev->desc->uV_step * selector); in regulator_list_voltage_linear()
580 return range->min_uV + (range->uV_step * selector); in regulator_list_voltage_pickable_linear_range()
622 return range->min_uV + (range->uV_step * selector); in regulator_desc_list_voltage_linear_range()