Lines Matching refs:sc8551
26 struct sc8551 { struct
63 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() argument
144 static bool sc8551_check_charge(struct sc8551 *sc8551) in sc8551_check_charge() argument
146 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() local
156 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()
187 struct sc8551 *charger = dev_get_priv(dev); in sc8551_probe()
217 .priv_auto_alloc_size = sizeof(struct sc8551),