Lines Matching refs:read_ccnt
246 static int read_ccnt(struct pm860x_battery_info *info, int offset, in read_ccnt() function
270 ret = read_ccnt(info, CCNT_POS1, &data); in calc_ccnt()
274 ret = read_ccnt(info, CCNT_POS2, &data); in calc_ccnt()
280 ret = read_ccnt(info, CCNT_NEG1, &data); in calc_ccnt()
284 ret = read_ccnt(info, CCNT_NEG2, &data); in calc_ccnt()
291 ret = read_ccnt(info, CCNT_SPOS, &data); in calc_ccnt()
295 ret = read_ccnt(info, CCNT_SNEG, &data); in calc_ccnt()
317 read_ccnt(info, CCNT_POS1, &data); in clear_ccnt()
318 read_ccnt(info, CCNT_POS2, &data); in clear_ccnt()
319 read_ccnt(info, CCNT_NEG1, &data); in clear_ccnt()
320 read_ccnt(info, CCNT_NEG2, &data); in clear_ccnt()
321 read_ccnt(info, CCNT_SPOS, &data); in clear_ccnt()
322 read_ccnt(info, CCNT_SNEG, &data); in clear_ccnt()