Lines Matching refs:da9052_battery
166 struct da9052_battery { struct
185 static int da9052_read_chgend_current(struct da9052_battery *bat, in da9052_read_chgend_current() argument
202 static int da9052_read_chg_current(struct da9052_battery *bat, int *current_mA) in da9052_read_chg_current()
218 static int da9052_bat_check_status(struct da9052_battery *bat, int *status) in da9052_bat_check_status()
285 static int da9052_bat_read_volt(struct da9052_battery *bat, int *volt_mV) in da9052_bat_read_volt()
298 static int da9052_bat_check_presence(struct da9052_battery *bat, int *illegal) in da9052_bat_check_presence()
353 static int da9052_bat_read_capacity(struct da9052_battery *bat, int *capacity) in da9052_bat_read_capacity()
406 static int da9052_bat_check_health(struct da9052_battery *bat, int *health) in da9052_bat_check_health()
438 struct da9052_battery *bat = data; in da9052_bat_irq()
464 struct da9052_battery *bat = container_of(nb, struct da9052_battery, in da9052_USB_current_notifier()
498 struct da9052_battery *bat = power_supply_get_drvdata(psy); in da9052_bat_get_property()
588 struct da9052_battery *bat; in da9052_bat_probe()
593 bat = devm_kzalloc(&pdev->dev, sizeof(struct da9052_battery), in da9052_bat_probe()
643 struct da9052_battery *bat = platform_get_drvdata(pdev); in da9052_bat_remove()