Searched refs:da9052_battery (Results 1 – 1 of 1) sorted by relevance
170 struct da9052_battery { struct189 static int da9052_read_chgend_current(struct da9052_battery *bat, in da9052_read_chgend_current() argument206 static int da9052_read_chg_current(struct da9052_battery *bat, int *current_mA) in da9052_read_chg_current()222 static int da9052_bat_check_status(struct da9052_battery *bat, int *status) in da9052_bat_check_status()289 static int da9052_bat_read_volt(struct da9052_battery *bat, int *volt_mV) in da9052_bat_read_volt()302 static int da9052_bat_check_presence(struct da9052_battery *bat, int *illegal) in da9052_bat_check_presence()357 static int da9052_bat_read_capacity(struct da9052_battery *bat, int *capacity) in da9052_bat_read_capacity()410 static int da9052_bat_check_health(struct da9052_battery *bat, int *health) in da9052_bat_check_health()442 struct da9052_battery *bat = data; in da9052_bat_irq()468 struct da9052_battery *bat = container_of(nb, struct da9052_battery, in da9052_USB_current_notifier()[all …]