Lines Matching defs:fg
88 static u32 da9150_fg_read_attr(struct da9150_fg *fg, u8 code, u8 size) in da9150_fg_read_attr()
106 static void da9150_fg_write_attr(struct da9150_fg *fg, u8 code, u8 size, in da9150_fg_write_attr()
125 static void da9150_fg_read_sync_start(struct da9150_fg *fg) in da9150_fg_read_sync_start()
157 static inline void da9150_fg_read_sync_end(struct da9150_fg *fg) in da9150_fg_read_sync_end()
163 static u32 da9150_fg_read_attr_sync(struct da9150_fg *fg, u8 code, u8 size) in da9150_fg_read_attr_sync()
175 static void da9150_fg_write_attr_sync(struct da9150_fg *fg, u8 code, u8 size, in da9150_fg_write_attr_sync()
223 static int da9150_fg_capacity(struct da9150_fg *fg, in da9150_fg_capacity()
235 static int da9150_fg_current_avg(struct da9150_fg *fg, in da9150_fg_current_avg()
260 static int da9150_fg_voltage_avg(struct da9150_fg *fg, in da9150_fg_voltage_avg()
275 static int da9150_fg_charge_full(struct da9150_fg *fg, in da9150_fg_charge_full()
290 static int da9150_fg_temp(struct da9150_fg *fg, in da9150_fg_temp()
313 struct da9150_fg *fg = dev_get_drvdata(psy->dev.parent); in da9150_fg_get_prop() local
341 static bool da9150_fg_soc_changed(struct da9150_fg *fg) in da9150_fg_soc_changed()
356 struct da9150_fg *fg = container_of(work, struct da9150_fg, work.work); in da9150_fg_work() local
366 static void da9150_fg_soc_event_config(struct da9150_fg *fg) in da9150_fg_soc_event_config()
400 struct da9150_fg *fg = data; in da9150_fg_irq() local
450 struct da9150_fg *fg; in da9150_fg_probe() local
540 struct da9150_fg *fg = platform_get_drvdata(pdev); in da9150_fg_remove() local
550 struct da9150_fg *fg = platform_get_drvdata(pdev); in da9150_fg_resume() local