Searched refs:twl6030_charger_read (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/power/supply/ |
H A D | twl6030_charger.c | 208 static int twl6030_charger_read(u8 reg, u8 *val) in twl6030_charger_read() function 293 twl6030_charger_read(CONTROLLER_STAT1, &val); in twl6030_charger_wdg() 294 twl6030_charger_read(CHARGERUSB_INT_STATUS, &int_stat); in twl6030_charger_wdg() 295 twl6030_charger_read(CHARGERUSB_STATUS_INT1, &stat_int1); in twl6030_charger_wdg() 296 twl6030_charger_read(CHARGERUSB_STATUS_INT2, &stat_int2); in twl6030_charger_wdg() 315 if (twl6030_charger_read(CONTROLLER_STAT1, &val) < 0) in twl6030_charger_interrupt() 318 if (twl6030_charger_read(CHARGERUSB_INT_STATUS, &int_stat) < 0) in twl6030_charger_interrupt() 321 if (twl6030_charger_read(CHARGERUSB_STATUS_INT1, &stat_int1) < 0) in twl6030_charger_interrupt() 324 if (twl6030_charger_read(CHARGERUSB_STATUS_INT2, &stat_int2) < 0) in twl6030_charger_interrupt() 334 if (twl6030_charger_read(CONTROLLER_CTRL1, &val) < 0) in twl6030_charger_interrupt() [all …]
|