Searched refs:da9052_battery (Results 1 – 1 of 1) sorted by relevance
166 struct da9052_battery { struct185 static int da9052_read_chgend_current(struct da9052_battery *bat, in da9052_read_chgend_current() argument202 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()[all …]