Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dtwl4030_charger.c244 u8 bcictl1, oldreg, fullreg; in twl4030_charger_update_current() local
302 fullreg = reg << 4; in twl4030_charger_update_current()
314 fullreg |= reg; in twl4030_charger_update_current()
320 if (oldreg != fullreg) { in twl4030_charger_update_current()
326 fullreg, TWL4030_BCIMFTH8); in twl4030_charger_update_current()
335 fullreg = (reg >> 5) & 0xF; in twl4030_charger_update_current()
336 fullreg <<= 4; in twl4030_charger_update_current()
340 if ((oldreg & 0xF0) != fullreg) { in twl4030_charger_update_current()
341 fullreg |= (oldreg & 0x0F); in twl4030_charger_update_current()
347 fullreg, TWL4030_BCIMFTH9); in twl4030_charger_update_current()