Searched refs:sc8551 (Results 1 – 2 of 2) sorted by relevance
26 struct sc8551 { struct63 static int sc8551_read(struct sc8551 *charger, uint reg, u8 *buffer) in sc8551_read()78 static int sc8551_write(struct sc8551 *charger, uint reg, u16 val) in sc8551_write()89 static int sc8551_update_bits(struct sc8551 *charger, in sc8551_update_bits()121 static int sc8551_get_usb_state(struct sc8551 *sc8551) in sc8551_get_usb_state() argument144 static bool sc8551_check_charge(struct sc8551 *sc8551) in sc8551_check_charge() argument146 if (sc8551_get_usb_state(sc8551) != CHARGER_TYPE_NO) in sc8551_check_charge()154 struct sc8551 *sc8551 = dev_get_priv(dev); in sc8551_update_get_chrg_online() local156 return sc8551_check_charge(sc8551); in sc8551_update_get_chrg_online()164 static int sc8551_set_acovp_th(struct sc8551 *sc, int threshold) in sc8551_set_acovp_th()[all …]
23 This adds support for sc8551 charger support.