Lines Matching full:energy
24 * - energy - microjoules
45 long accum_energy; /* Accumulated energy for energy1_input */
57 struct hwm_energy_info ei; /* Energy info for energy1_input */
114 * hwm_energy - Obtain energy value
116 * The underlying energy hardware register is 32-bits and is subject to
127 * minutes) by accumulating the energy register into a 'long' as allowed by
134 hwm_energy(struct hwm_drvdata *ddat, long *energy) in hwm_energy() argument
159 *energy = mul_u64_u32_shr(ei->accum_energy, SF_ENERGY, in hwm_energy()
285 HWMON_CHANNEL_INFO(energy, HWMON_E_INPUT),
292 HWMON_CHANNEL_INFO(energy, HWMON_E_INPUT),
806 long energy; in hwm_get_preregistration_info() local
854 * first value of the energy register read in hwm_get_preregistration_info()
857 hwm_energy(ddat, &energy); in hwm_get_preregistration_info()
860 hwm_energy(&hwmon->ddat_gt[i], &energy); in hwm_get_preregistration_info()
917 * visible. Currently this is only energy in i915_hwmon_register()