Lines Matching full:energy
25 * - energy - microjoules
47 long accum_energy; /* Accumulated energy for energy1_input */
59 struct hwm_energy_info ei; /* Energy info for energy1_input */
116 * hwm_energy - Obtain energy value
118 * The underlying energy hardware register is 32-bits and is subject to
129 * minutes) by accumulating the energy register into a 'long' as allowed by
136 hwm_energy(struct hwm_drvdata *ddat, long *energy) in hwm_energy() argument
161 *energy = mul_u64_u32_shr(ei->accum_energy, SF_ENERGY, in hwm_energy()
288 HWMON_CHANNEL_INFO(energy, HWMON_E_INPUT),
295 HWMON_CHANNEL_INFO(energy, HWMON_E_INPUT),
844 long energy; in hwm_get_preregistration_info() local
894 * first value of the energy register read in hwm_get_preregistration_info()
897 hwm_energy(ddat, &energy); in hwm_get_preregistration_info()
900 hwm_energy(&hwmon->ddat_gt[i], &energy); in hwm_get_preregistration_info()
957 * visible. Currently this is only energy in i915_hwmon_register()