Home
last modified time | relevance | path

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

/u-boot/arch/sandbox/dts/
A Dsandbox_pmic.dtsi61 * VAL2REG(min, step, value) [uV/uA]
67 VAL2REG(800000, 25000, 1000000)
68 VAL2REG(150000, 25000, 150000)
71 VAL2REG(750000, 50000, 3000000)
72 VAL2REG(150000, 25000, 150000)
75 VAL2REG(800000, 25000, 1600000)
76 VAL2REG(100000, 50000, 150000)
79 VAL2REG(750000, 50000, 3000000)
80 VAL2REG(150000, 25000, 150000)
/u-boot/include/dt-bindings/pmic/
A Dsandbox_pmic.h31 #define VAL2REG(min, step, val) (((val) - (min)) / (step)) macro
/u-boot/include/power/
A Dsandbox_pmic.h99 #define VAL2REG(min, step, val) (((val) - (min)) / (step)) macro
/u-boot/drivers/power/regulator/
A Dsandbox.c127 reg_val = VAL2REG(range[dev->driver_data - 1].min, in out_set_value()

Completed in 6 milliseconds