Lines Matching refs:lp8788_charger
102 struct lp8788_charger { struct
133 static bool lp8788_is_charger_detected(struct lp8788_charger *pchg) in lp8788_is_charger_detected()
147 struct lp8788_charger *pchg = dev_get_drvdata(psy->dev.parent); in lp8788_charger_get_property()
166 static int lp8788_get_battery_status(struct lp8788_charger *pchg, in lp8788_get_battery_status()
199 static int lp8788_get_battery_health(struct lp8788_charger *pchg, in lp8788_get_battery_health()
219 static int lp8788_get_battery_present(struct lp8788_charger *pchg, in lp8788_get_battery_present()
233 static int lp8788_get_vbatt_adc(struct lp8788_charger *pchg, int *result) in lp8788_get_vbatt_adc()
243 static int lp8788_get_battery_voltage(struct lp8788_charger *pchg, in lp8788_get_battery_voltage()
249 static int lp8788_get_battery_capacity(struct lp8788_charger *pchg, in lp8788_get_battery_capacity()
287 static int lp8788_get_battery_temperature(struct lp8788_charger *pchg, in lp8788_get_battery_temperature()
307 static int lp8788_get_battery_charging_current(struct lp8788_charger *pchg, in lp8788_get_battery_charging_current()
320 static int lp8788_get_charging_termination_voltage(struct lp8788_charger *pchg, in lp8788_get_charging_termination_voltage()
336 struct lp8788_charger *pchg = dev_get_drvdata(psy->dev.parent); in lp8788_battery_get_property()
366 struct lp8788_charger *pchg) in lp8788_update_charger_params()
411 struct lp8788_charger *pchg = in lp8788_charger_event()
412 container_of(work, struct lp8788_charger, charger_work); in lp8788_charger_event()
419 static bool lp8788_find_irq_id(struct lp8788_charger *pchg, int virq, int *id) in lp8788_find_irq_id()
437 struct lp8788_charger *pchg = ptr; in lp8788_charger_irq_thread()
469 struct lp8788_charger *pchg, const char *name) in lp8788_set_irqs()
515 struct lp8788_charger *pchg) in lp8788_irq_register()
545 struct lp8788_charger *pchg) in lp8788_irq_unregister()
560 struct lp8788_charger *pchg) in lp8788_setup_adc_channel()
580 struct lp8788_charger *pchg = dev_get_drvdata(dev); in lp8788_show_charger_status()
605 struct lp8788_charger *pchg = dev_get_drvdata(dev); in lp8788_show_eoc_time()
621 struct lp8788_charger *pchg = dev_get_drvdata(dev); in lp8788_show_eoc_level()
655 struct lp8788_charger *pchg) in lp8788_psy_register()
680 struct lp8788_charger *pchg; in lp8788_charger_probe()
684 pchg = devm_kzalloc(dev, sizeof(struct lp8788_charger), GFP_KERNEL); in lp8788_charger_probe()
711 struct lp8788_charger *pchg = platform_get_drvdata(pdev); in lp8788_charger_remove()