Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/sandbox/dts/
H A Dsandbox_pmic.dtsi20 * VAL2REG(min, step, value) [uV/uA]
26 VAL2REG(800000, 25000, 1000000)
27 VAL2REG(150000, 25000, 150000)
30 VAL2REG(750000, 50000, 3000000)
31 VAL2REG(150000, 25000, 150000)
34 VAL2REG(800000, 25000, 1600000)
35 VAL2REG(100000, 50000, 150000)
38 VAL2REG(750000, 50000, 3000000)
39 VAL2REG(150000, 25000, 150000)
/OK3568_Linux_fs/u-boot/include/dt-bindings/pmic/
H A Dsandbox_pmic.h32 #define VAL2REG(min, step, val) (((val) - (min)) / (step)) macro
/OK3568_Linux_fs/u-boot/include/power/
H A Dsandbox_pmic.h100 #define VAL2REG(min, step, val) (((val) - (min)) / (step)) macro
/OK3568_Linux_fs/u-boot/drivers/power/regulator/
H A Dsandbox.c130 reg_val = VAL2REG(range[dev->driver_data - 1].min, in out_set_value()