Home
last modified time | relevance | path

Searched refs:accum_energy (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_hwmon.c43 long accum_energy; /* Accumulated energy for energy1_input */ member
146 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()