Searched refs:bcictl1 (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | twl4030_charger.c | 243 u8 bcictl1, oldreg, fullreg; in twl4030_charger_update_current() local 275 status = twl4030_bci_read(TWL4030_BCICTL1, &bcictl1); in twl4030_charger_update_current() 283 if ((!!cgain) != !!(bcictl1 & TWL4030_CGAIN)) in twl4030_charger_update_current() 387 if ((!!cgain) != !!(bcictl1 & TWL4030_CGAIN)) { in twl4030_charger_update_current() 389 bcictl1 ^= TWL4030_CGAIN; in twl4030_charger_update_current() 391 bcictl1, TWL4030_BCICTL1); in twl4030_charger_update_current() 744 u8 bcictl1; in twl4030_charger_get_current() local 750 ret = twl4030_bci_read(TWL4030_BCICTL1, &bcictl1); in twl4030_charger_get_current() 754 return regval2ua(curr, bcictl1 & TWL4030_CGAIN); in twl4030_charger_get_current() 869 u8 bcictl1; in twl4030_bci_get_property() local [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | twl4030_charger.c | 244 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...] |
Completed in 4 milliseconds