Searched refs:VAL2REG (Results 1 – 4 of 4) sorted by relevance
/external/u-boot/arch/sandbox/dts/ |
D | sandbox_pmic.dtsi | 19 * 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/ |
D | sandbox_pmic.h | 31 #define VAL2REG(min, step, val) (((val) - (min)) / (step)) macro
|
/external/u-boot/include/power/ |
D | sandbox_pmic.h | 99 #define VAL2REG(min, step, val) (((val) - (min)) / (step)) macro
|
/external/u-boot/drivers/power/regulator/ |
D | sandbox.c | 127 reg_val = VAL2REG(range[dev->driver_data - 1].min, in out_set_value()
|