Lines Matching refs:accumulator
102 s32 accumulator; member
255 s32 sample, s32 accumulator, in cpcap_battery_cc_raw_div() argument
263 acc = accumulator; in cpcap_battery_cc_raw_div()
274 s32 sample, s32 accumulator, in cpcap_battery_cc_to_uah() argument
278 accumulator, offset, in cpcap_battery_cc_to_uah()
283 s32 sample, s32 accumulator, in cpcap_battery_cc_to_ua() argument
287 accumulator, offset, in cpcap_battery_cc_to_ua()
315 ccd->accumulator = 0; in cpcap_battery_read_accumulated()
332 ccd->accumulator = ((s16)buf[3]) << 16; in cpcap_battery_read_accumulated()
333 ccd->accumulator |= buf[2]; in cpcap_battery_read_accumulated()
350 ccd->accumulator, in cpcap_battery_read_accumulated()
642 s32 accumulator; in cpcap_battery_get_property() local
694 accumulator = latest->cc.accumulator - previous->cc.accumulator; in cpcap_battery_get_property()
696 accumulator, in cpcap_battery_get_property()
717 accumulator = latest->cc.accumulator - previous->cc.accumulator; in cpcap_battery_get_property()
718 tmp = cpcap_battery_cc_to_ua(ddata, sample, accumulator, in cpcap_battery_get_property()