Lines Matching full:energy
52 * struct xe_hwmon_energy_info - to accumulate energy
55 /** @reg_val_prev: previous energy reg val */
57 /** @accum_energy: accumulated energy */
73 /** @scl_shift_energy: pkg energy unit */
77 /** @ei: Energy info for energyN_input */
240 * xe_hwmon_energy_get - Obtain energy value
242 * The underlying energy hardware register is 32-bits and is subject to
253 * minutes) by accumulating the energy register into a 'long' as allowed by
260 xe_hwmon_energy_get(struct xe_hwmon *hwmon, int channel, long *energy) in xe_hwmon_energy_get() argument
276 *energy = mul_u64_u32_shr(ei->accum_energy, SF_ENERGY, in xe_hwmon_energy_get()
438 HWMON_CHANNEL_INFO(energy, HWMON_E_INPUT | HWMON_E_LABEL, HWMON_E_INPUT | HWMON_E_LABEL),
786 long energy; in xe_hwmon_get_preregistration_info() local
805 * first value of the energy register read in xe_hwmon_get_preregistration_info()
809 xe_hwmon_energy_get(hwmon, channel, &energy); in xe_hwmon_get_preregistration_info()