Lines Matching defs:info
154 static int measure_12bit_voltage(struct pm860x_battery_info *info, in measure_12bit_voltage()
170 static int measure_vbatt(struct pm860x_battery_info *info, int state, in measure_vbatt()
213 static int measure_current(struct pm860x_battery_info *info, int *data) in measure_current()
229 static int set_charger_current(struct pm860x_battery_info *info, int data, in set_charger_current()
246 static int read_ccnt(struct pm860x_battery_info *info, int offset, in read_ccnt()
264 static int calc_ccnt(struct pm860x_battery_info *info, struct ccnt *ccnt) in calc_ccnt()
311 static int clear_ccnt(struct pm860x_battery_info *info, struct ccnt *ccnt) in clear_ccnt()
327 static int calc_ocv(struct pm860x_battery_info *info, int *ocv) in calc_ocv()
366 static int calc_soc(struct pm860x_battery_info *info, int state, int *soc) in calc_soc()
404 struct pm860x_battery_info *info = data; in pm860x_coulomb_handler() local
412 struct pm860x_battery_info *info = data; in pm860x_batt_handler() local
430 static void pm860x_init_battery(struct pm860x_battery_info *info) in pm860x_init_battery()
532 static void set_temp_threshold(struct pm860x_battery_info *info, in set_temp_threshold()
553 static int measure_temp(struct pm860x_battery_info *info, int *data) in measure_temp()
617 static int calc_resistor(struct pm860x_battery_info *info) in calc_resistor()
712 static int calc_capacity(struct pm860x_battery_info *info, int *cap) in calc_capacity()
800 struct pm860x_battery_info *info = dev_get_drvdata(psy->dev.parent); in pm860x_external_power_changed() local
809 struct pm860x_battery_info *info = dev_get_drvdata(psy->dev.parent); in pm860x_batt_get_prop() local
875 struct pm860x_battery_info *info = dev_get_drvdata(psy->dev.parent); in pm860x_batt_set_prop() local
915 struct pm860x_battery_info *info; in pm860x_battery_probe() local