Searched refs:sgm41542 (Results 1 – 2 of 2) sorted by relevance
170 struct sgm41542 { struct188 static int sgm41542_read(struct sgm41542 *charger, uint reg, u8 *buffer) in sgm41542_read() argument203 static int sgm41542_write(struct sgm41542 *charger, uint reg, u8 val) in sgm41542_write()214 static int sgm41542_update_bits(struct sgm41542 *charger, in sgm41542_update_bits()228 static int sgm4154x_set_input_curr_lim(struct sgm41542 *charger, int iindpm) in sgm4154x_set_input_curr_lim()264 static int sgm4154x_set_ichrg_curr(struct sgm41542 *charger, int uA) in sgm4154x_set_ichrg_curr()286 static int sgm4154x_set_prechrg_curr(struct sgm41542 *charger, int uA) in sgm4154x_set_prechrg_curr()309 static int sgm4154x_set_chrg_volt(struct sgm41542 *charger, int chrg_volt) in sgm4154x_set_chrg_volt()332 struct sgm41542 *charger = dev_get_priv(dev); in sgm41542_set_charger_voltage()340 struct sgm41542 *charger = dev_get_priv(dev); in sgm41542_charger_enable()[all …]
29 This adds support for sgm41542 charger support.