Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dtwl4030_charger.c244 u8 bcictl1, oldreg, fullreg; in twl4030_charger_update_current() local
276 status = twl4030_bci_read(TWL4030_BCICTL1, &bcictl1); in twl4030_charger_update_current()
284 if ((!!cgain) != !!(bcictl1 & TWL4030_CGAIN)) in twl4030_charger_update_current()
388 if ((!!cgain) != !!(bcictl1 & TWL4030_CGAIN)) { in twl4030_charger_update_current()
390 bcictl1 ^= TWL4030_CGAIN; in twl4030_charger_update_current()
392 bcictl1, TWL4030_BCICTL1); in twl4030_charger_update_current()
743 u8 bcictl1; in twl4030_charger_get_current() local
749 ret = twl4030_bci_read(TWL4030_BCICTL1, &bcictl1); in twl4030_charger_get_current()
753 return regval2ua(curr, bcictl1 & TWL4030_CGAIN); in twl4030_charger_get_current()
868 u8 bcictl1; in twl4030_bci_get_property() local
[all …]