Home
last modified time | relevance | path

Searched refs:fg_read_regs (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/power/fuel_gauge/
H A Dfg_max17042.c31 static int fg_read_regs(struct pmic *p, u8 addr, u16 *data, int num) in fg_read_regs() function
120 ret = fg_read_regs(p, MAX17042_MODEL1, r_data0, ARRAY_SIZE(r_data0)); in por_fuelgauge_init()
124 ret = fg_read_regs(p, MAX17042_MODEL2, r_data1, ARRAY_SIZE(r_data1)); in por_fuelgauge_init()
128 ret = fg_read_regs(p, MAX17042_MODEL3, r_data2, ARRAY_SIZE(r_data2)); in por_fuelgauge_init()
154 ret = fg_read_regs(p, MAX17042_MODEL1, r_data0, ARRAY_SIZE(r_data0)); in por_fuelgauge_init()
158 ret = fg_read_regs(p, MAX17042_MODEL2, r_data1, ARRAY_SIZE(r_data1)); in por_fuelgauge_init()
162 ret = fg_read_regs(p, MAX17042_MODEL3, r_data2, ARRAY_SIZE(r_data2)); in por_fuelgauge_init()