Lines Matching full:energy
44 * struct xe_hwmon_energy_info - to accumulate energy
47 /** @reg_val_prev: previous energy reg val */
49 /** @accum_energy: accumulated energy */
65 /** @scl_shift_energy: pkg energy unit */
69 /** @ei: Energy info for energy1_input */
220 * xe_hwmon_energy_get - Obtain energy value
222 * The underlying energy hardware register is 32-bits and is subject to
233 * minutes) by accumulating the energy register into a 'long' as allowed by
240 xe_hwmon_energy_get(struct xe_hwmon *hwmon, long *energy) in xe_hwmon_energy_get() argument
255 *energy = mul_u64_u32_shr(ei->accum_energy, SF_ENERGY, in xe_hwmon_energy_get()
409 HWMON_CHANNEL_INFO(energy, HWMON_E_INPUT),
709 long energy; in xe_hwmon_get_preregistration_info() local
726 * first value of the energy register read in xe_hwmon_get_preregistration_info()
729 xe_hwmon_energy_get(hwmon, &energy); in xe_hwmon_get_preregistration_info()