Lines Matching full:energy
23 * - energy - microjoules
43 long accum_energy; /* Accumulated energy for energy1_input */
50 struct hwm_energy_info ei; /* Energy info for energy1_input */
105 * hwm_energy - Obtain energy value
107 * The underlying energy hardware register is 32-bits and is subject to
118 * minutes) by accumulating the energy register into a 'long' as allowed by
125 hwm_energy(struct hwm_drvdata *ddat, long *energy) in hwm_energy() argument
150 *energy = mul_u64_u32_shr(ei->accum_energy, SF_ENERGY, in hwm_energy()
275 HWMON_CHANNEL_INFO(energy, HWMON_E_INPUT),
281 HWMON_CHANNEL_INFO(energy, HWMON_E_INPUT),
729 long energy; in hwm_get_preregistration_info() local
771 * first value of the energy register read in hwm_get_preregistration_info()
774 hwm_energy(ddat, &energy); in hwm_get_preregistration_info()
777 hwm_energy(&hwmon->ddat_gt[i], &energy); in hwm_get_preregistration_info()
836 * visible. Currently this is only energy in i915_hwmon_register()