Lines Matching refs:twl6030_charger_read
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()
359 ret = twl6030_charger_read(CONTROLLER_STAT1, &stat1); in twl6030_charger_usb_get_property()
369 ret = twl6030_charger_read(CHARGERUSB_STATUS_INT2, &intstat); in twl6030_charger_usb_get_property()
499 ret = twl6030_charger_read(CHARGERUSB_CTRLLIMIT1, &val); in twl6030_charger_probe()
513 ret = twl6030_charger_read(CHARGERUSB_CTRLLIMIT2, &val); in twl6030_charger_probe()