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