Lines Matching refs:da9150_charger
23 struct da9150_charger { struct
42 static inline int da9150_charger_supply_online(struct da9150_charger *charger, in da9150_charger_supply_online() argument
52 static int da9150_charger_vbus_voltage_now(struct da9150_charger *charger, in da9150_charger_vbus_voltage_now()
68 static int da9150_charger_ibus_current_avg(struct da9150_charger *charger, in da9150_charger_ibus_current_avg()
84 static int da9150_charger_tjunc_temp(struct da9150_charger *charger, in da9150_charger_tjunc_temp()
111 struct da9150_charger *charger = dev_get_drvdata(psy->dev.parent); in da9150_charger_get_prop()
136 static int da9150_charger_battery_status(struct da9150_charger *charger, in da9150_charger_battery_status()
179 static int da9150_charger_battery_health(struct da9150_charger *charger, in da9150_charger_battery_health()
215 static int da9150_charger_battery_present(struct da9150_charger *charger, in da9150_charger_battery_present()
230 static int da9150_charger_battery_charge_type(struct da9150_charger *charger, in da9150_charger_battery_charge_type()
254 static int da9150_charger_battery_voltage_min(struct da9150_charger *charger, in da9150_charger_battery_voltage_min()
267 static int da9150_charger_battery_voltage_now(struct da9150_charger *charger, in da9150_charger_battery_voltage_now()
282 static int da9150_charger_battery_current_max(struct da9150_charger *charger, in da9150_charger_battery_current_max()
295 static int da9150_charger_battery_voltage_max(struct da9150_charger *charger, in da9150_charger_battery_voltage_max()
323 struct da9150_charger *charger = dev_get_drvdata(psy->dev.parent); in da9150_charger_battery_get_prop()
364 struct da9150_charger *charger = data; in da9150_charger_chg_irq()
373 struct da9150_charger *charger = data; in da9150_charger_tjunc_irq()
384 struct da9150_charger *charger = data; in da9150_charger_vfault_irq()
396 struct da9150_charger *charger = data; in da9150_charger_vbus_irq()
425 struct da9150_charger *charger = in da9150_charger_otg_work()
426 container_of(data, struct da9150_charger, otg_work); in da9150_charger_otg_work()
447 struct da9150_charger *charger = in da9150_charger_otg_ncb()
448 container_of(nb, struct da9150_charger, otg_nb); in da9150_charger_otg_ncb()
463 struct da9150_charger *charger = platform_get_drvdata(pdev); in da9150_charger_register_irq()
481 struct da9150_charger *charger = platform_get_drvdata(pdev); in da9150_charger_unregister_irq()
511 struct da9150_charger *charger; in da9150_charger_probe()
515 charger = devm_kzalloc(dev, sizeof(struct da9150_charger), GFP_KERNEL); in da9150_charger_probe()
640 struct da9150_charger *charger = platform_get_drvdata(pdev); in da9150_charger_remove()