Lines Matching refs:sgm41542

170 struct sgm41542 {  struct
188 static int sgm41542_read(struct sgm41542 *charger, uint reg, u8 *buffer) in sgm41542_read() argument
203 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()
351 struct sgm41542 *charger = dev_get_priv(dev); in sgm41542_charger_disable()
362 struct sgm41542 *charger = dev_get_priv(dev); in sgm41542_iprechg_current()
372 struct sgm41542 *charger = dev_get_priv(dev); in sgm41542_charger_current()
380 static int sgm41542_get_pd_output_val(struct sgm41542 *charger, in sgm41542_get_pd_output_val()
404 static void sgm41542_charger_input_current_init(struct sgm41542 *charger) in sgm41542_charger_input_current_init()
440 struct sgm41542 *charger = dev_get_priv(dev); in sgm41542_charger_status()
482 struct sgm41542 *charger = dev_get_priv(dev); in sgm41542_ofdata_to_platdata()
522 struct sgm41542 *charger = dev_get_priv(dev); in sgm41542_probe()
578 .priv_auto_alloc_size = sizeof(struct sgm41542),