Lines Matching refs:gab
44 struct gab { struct
53 static struct gab *to_generic_bat(struct power_supply *psy) in to_generic_bat() argument
60 struct gab *adc_bat = to_generic_bat(psy); in gab_ext_power_changed()
80 static bool gab_charge_finished(struct gab *adc_bat) in gab_charge_finished()
87 static int gab_read_channel(struct gab *adc_bat, enum gab_chan_type channel, in gab_read_channel()
104 struct gab *adc_bat = to_generic_bat(psy); in gab_get_property()
125 struct gab *adc_bat; in gab_work()
130 adc_bat = container_of(delayed_work, struct gab, bat_work); in gab_work()
146 struct gab *adc_bat = dev_id; in gab_charged()
156 struct gab *adc_bat; in gab_probe()
262 struct gab *adc_bat = dev_get_drvdata(dev); in gab_suspend()
271 struct gab *adc_bat = dev_get_drvdata(dev); in gab_resume()