Searched refs:pm860x_battery_info (Results 1 – 1 of 1) sorted by relevance
93 struct pm860x_battery_info { struct154 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()246 static int read_ccnt(struct pm860x_battery_info *info, int offset, in read_ccnt()327 static int calc_ocv(struct pm860x_battery_info *info, int *ocv) in calc_ocv()404 struct pm860x_battery_info *info = data; in pm860x_coulomb_handler()412 struct pm860x_battery_info *info = data; in pm860x_batt_handler()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()617 static int calc_resistor(struct pm860x_battery_info *info) in calc_resistor()[all …]