Home
last modified time | relevance | path

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

/external/u-boot/arch/sandbox/dts/
Dsandbox_pmic.dtsi19 * VAL2REG(min, step, value) [uV/uA]
25 VAL2REG(800000, 25000, 1000000)
26 VAL2REG(150000, 25000, 150000)
29 VAL2REG(750000, 50000, 3000000)
30 VAL2REG(150000, 25000, 150000)
33 VAL2REG(800000, 25000, 1600000)
34 VAL2REG(100000, 50000, 150000)
37 VAL2REG(750000, 50000, 3000000)
38 VAL2REG(150000, 25000, 150000)
/external/u-boot/include/dt-bindings/pmic/
Dsandbox_pmic.h31 #define VAL2REG(min, step, val) (((val) - (min)) / (step)) macro
/external/u-boot/include/power/
Dsandbox_pmic.h99 #define VAL2REG(min, step, val) (((val) - (min)) / (step)) macro
/external/u-boot/drivers/power/regulator/
Dsandbox.c127 reg_val = VAL2REG(range[dev->driver_data - 1].min, in out_set_value()