Lines Matching refs:accumulator
86 s32 accumulator; member
216 s32 sample, s32 accumulator, in cpcap_battery_cc_raw_div() argument
238 acc = accumulator; in cpcap_battery_cc_raw_div()
259 s32 sample, s32 accumulator, in cpcap_battery_cc_to_uah() argument
263 accumulator, offset, in cpcap_battery_cc_to_uah()
268 s32 sample, s32 accumulator, in cpcap_battery_cc_to_ua() argument
272 accumulator, offset, in cpcap_battery_cc_to_ua()
300 ccd->accumulator = 0; in cpcap_battery_read_accumulated()
316 ccd->accumulator = ((s16)buf[3]) << 16; in cpcap_battery_read_accumulated()
317 ccd->accumulator |= buf[2]; in cpcap_battery_read_accumulated()
328 ccd->accumulator, in cpcap_battery_read_accumulated()
438 s32 accumulator; in cpcap_battery_get_property() local
484 accumulator = latest->cc.accumulator - previous->cc.accumulator; in cpcap_battery_get_property()
486 accumulator, in cpcap_battery_get_property()
507 accumulator = latest->cc.accumulator - previous->cc.accumulator; in cpcap_battery_get_property()
508 tmp = cpcap_battery_cc_to_ua(ddata, sample, accumulator, in cpcap_battery_get_property()