Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/power/charge/
H A Dcps5601x_charger.c42 #define VREG_BASE 3600000 macro
322 if (volt < VREG_BASE) in cps5601x_set_chargevolt()
323 volt = VREG_BASE; in cps5601x_set_chargevolt()
324 else if (volt > (VREG_BASE + (VREG_MAXVAL * VREG_LSB))) in cps5601x_set_chargevolt()
325 volt = VREG_BASE + (VREG_MAXVAL * VREG_LSB); in cps5601x_set_chargevolt()
327 val = (volt - VREG_BASE) / VREG_LSB; in cps5601x_set_chargevolt()