Home
last modified time | relevance | path

Searched +full:vout +full:- +full:voltage +full:- +full:divider (Results 1 – 3 of 3) sorted by relevance

/linux/Documentation/devicetree/bindings/iio/afe/
H A Dvoltage-divider.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/afe/voltage-divider.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Voltage divider
10 - Peter Rosin <peda@axentia.se>
13 When an io-channel measures the midpoint of a voltage divider, the
14 interesting voltage is often the voltage over the full resistance
15 of the divider. This binding describes the voltage divider in such
18 Vin ----.
[all …]
/linux/drivers/hwmon/pmbus/
H A Dmp2975.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Hardware monitoring driver for MPS Multi-phase Digital VR Controllers
121 PMBUS_REGULATOR("vout", 0),
122 PMBUS_REGULATOR("vout", 1),
138 return -ENODATA; in mp2975_read_byte_data()
157 return 250 + (val - 1) * 5; in mp2975_vid2direct()
161 return 500 + (val - 1) * 10; in mp2975_vid2direct()
165 return 200 + (val - 1) * 10; in mp2975_vid2direct()
168 return -EINVAL; in mp2975_vid2direct()
176 /* Converts a milli-unit DIRECT value to LINEAR11 format */
[all …]
H A Dmax20730.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Step-Down Switching Regulators
111 int *idxp = file->private_data; in max20730_debugfs_read()
120 info = pmbus_get_driver_info(psu->client); in max20730_debugfs_read()
125 ret = VOLT_FROM_REG(data->mfr_voutmin * 10000); in max20730_debugfs_read()
130 val = (data->mfr_devset1 & MAX20730_MFR_DEVSET1_FSW_MASK) in max20730_debugfs_read()
148 val = (data->mfr_devset1 & MAX20730_MFR_DEVSET1_TSTAT_MASK) in max20730_debugfs_read()
161 val = (data->mfr_devset1 & MAX20730_MFR_DEVSET1_RGAIN_MASK) in max20730_debugfs_read()
164 if (data->id == max20734) { in max20730_debugfs_read()
174 } else if (data->id == max20730 || data->id == max20710) { in max20730_debugfs_read()
[all …]