Searched refs:accum_energy (Results 1 – 1 of 1) sorted by relevance
43 long accum_energy; /* Accumulated energy for energy1_input */ member146 ei->accum_energy += reg_val - ei->reg_val_prev; in hwm_energy()148 ei->accum_energy += UINT_MAX - ei->reg_val_prev + reg_val; in hwm_energy()151 *energy = mul_u64_u32_shr(ei->accum_energy, SF_ENERGY, in hwm_energy()