Lines Matching full:da9150
3 * DA9150 Charger Driver
19 #include <linux/mfd/da9150/core.h>
20 #include <linux/mfd/da9150/registers.h>
24 struct da9150 *da9150; member
142 reg = da9150_reg_read(charger->da9150, DA9150_STATUS_H); in da9150_charger_battery_status()
151 reg = da9150_reg_read(charger->da9150, DA9150_STATUS_J); in da9150_charger_battery_status()
184 reg = da9150_reg_read(charger->da9150, DA9150_STATUS_J); in da9150_charger_battery_health()
221 reg = da9150_reg_read(charger->da9150, DA9150_STATUS_J); in da9150_charger_battery_present()
235 reg = da9150_reg_read(charger->da9150, DA9150_STATUS_J); in da9150_charger_battery_charge_type()
259 reg = da9150_reg_read(charger->da9150, DA9150_PPR_CHGCTRL_C); in da9150_charger_battery_voltage_min()
287 reg = da9150_reg_read(charger->da9150, DA9150_PPR_CHGCTRL_D); in da9150_charger_battery_current_max()
300 reg = da9150_reg_read(charger->da9150, DA9150_PPR_CHGCTRL_B); in da9150_charger_battery_voltage_max()
399 reg = da9150_reg_read(charger->da9150, DA9150_STATUS_H); in da9150_charger_vbus_irq()
431 da9150_set_bits(charger->da9150, DA9150_PPR_BKCTRL_A, in da9150_charger_otg_work()
438 da9150_set_bits(charger->da9150, DA9150_PPR_BKCTRL_A, in da9150_charger_otg_work()
450 dev_dbg(charger->dev, "DA9150 OTG notify %lu\n", val); in da9150_charger_otg_ncb()
492 .name = "da9150-usb",
500 .name = "da9150-battery",
510 struct da9150 *da9150 = dev_get_drvdata(dev->parent); in da9150_charger_probe() local
520 charger->da9150 = da9150; in da9150_charger_probe()
550 reg = da9150_reg_read(da9150, DA9150_STATUS_H); in da9150_charger_probe()
636 .name = "da9150-charger",
644 MODULE_DESCRIPTION("Charger Driver for DA9150");