Lines Matching refs:accumulator
86 s32 accumulator; member
216 u32 sample, s32 accumulator, in cpcap_battery_cc_raw_div() argument
238 acc = accumulator; in cpcap_battery_cc_raw_div()
259 u32 sample, s32 accumulator, in cpcap_battery_cc_to_uah() argument
263 accumulator, offset, in cpcap_battery_cc_to_uah()
268 u32 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()
314 ccd->accumulator = ((s16)buf[3]) << 16; in cpcap_battery_read_accumulated()
315 ccd->accumulator |= buf[2]; in cpcap_battery_read_accumulated()
326 ccd->accumulator, in cpcap_battery_read_accumulated()
436 s32 accumulator; in cpcap_battery_get_property() local
482 accumulator = latest->cc.accumulator - previous->cc.accumulator; in cpcap_battery_get_property()
484 accumulator, in cpcap_battery_get_property()
505 accumulator = latest->cc.accumulator - previous->cc.accumulator; in cpcap_battery_get_property()
506 tmp = cpcap_battery_cc_to_ua(ddata, sample, accumulator, in cpcap_battery_get_property()