Lines Matching refs:volt_uv

84 	int32_t volt_uv;  member
102 int32_t *volt_uv) in regulator_npm6001_ldo0_list_voltage() argument
108 *volt_uv = ldo0_voltages[idx].volt_uv; in regulator_npm6001_ldo0_list_voltage()
218 if ((min_uv <= ldo0_voltages[i].volt_uv) && (max_uv >= ldo0_voltages[i].volt_uv)) { in regulator_npm6001_ldo0_set_voltage()
233 uint8_t vout_reg, int32_t *volt_uv) in regulator_npm6001_buck0123_get_voltage() argument
244 return linear_range_get_value(range, idx, volt_uv); in regulator_npm6001_buck0123_get_voltage()
247 static int regulator_npm6001_ldo0_get_voltage(const struct device *dev, int32_t *volt_uv) in regulator_npm6001_ldo0_get_voltage() argument
260 *volt_uv = ldo0_voltages[i].volt_uv; in regulator_npm6001_ldo0_get_voltage()
295 int32_t *volt_uv) in regulator_npm6001_list_voltage() argument
301 return linear_range_get_value(&buck0_range, idx, volt_uv); in regulator_npm6001_list_voltage()
303 return linear_range_get_value(&buck1_range, idx, volt_uv); in regulator_npm6001_list_voltage()
305 return linear_range_get_value(&buck2_range, idx + buck2_range.min_idx, volt_uv); in regulator_npm6001_list_voltage()
307 return linear_range_get_value(&buck3_range, idx, volt_uv); in regulator_npm6001_list_voltage()
309 return regulator_npm6001_ldo0_list_voltage(dev, idx, volt_uv); in regulator_npm6001_list_voltage()
311 *volt_uv = 1800000; in regulator_npm6001_list_voltage()
353 static int regulator_npm6001_get_voltage(const struct device *dev, int32_t *volt_uv) in regulator_npm6001_get_voltage() argument
360 NPM6001_BUCK0VOUTULP, volt_uv); in regulator_npm6001_get_voltage()
363 NPM6001_BUCK1VOUTULP, volt_uv); in regulator_npm6001_get_voltage()
366 NPM6001_BUCK2VOUTULP, volt_uv); in regulator_npm6001_get_voltage()
369 volt_uv); in regulator_npm6001_get_voltage()
371 return regulator_npm6001_ldo0_get_voltage(dev, volt_uv); in regulator_npm6001_get_voltage()
373 *volt_uv = 1800000U; in regulator_npm6001_get_voltage()