Lines Matching refs:unit
70 #define ENERGY_UNIT_SCALE 1000 /* scale from driver unit to powercap unit */
118 enum unit_type unit;
127 .unit = u, \
582 pr_info("DRAM domain energy unit %dpj\n",
589 pr_info("Platform domain energy unit %dpj\n",
612 /* per domain unit takes precedence */
635 /* name, mask, shift, msr index, unit divisor */
685 * is pre-assigned based on RAPL unit MSRs read at init time.
729 *data = rapl_unit_xlate(rd, rp->unit, value, 0);
748 bits = rapl_unit_xlate(rd, rp->unit, value, 1);
766 * the RAPL unit MSRs. This is specific to CPUs as the method to
770 * energy unit: picoJoules : Represented in picoJoules by default
771 * power unit : microWatts : Represented in milliWatts by default
772 * time unit : microseconds: Represented in seconds by default
782 pr_err("Failed to read power unit REG 0x%llx on CPU %d, exit.\n",
810 pr_err("Failed to read power unit REG 0x%llx on CPU %d, exit.\n",
930 u64 f, y; /* fraction and exp. used for time unit */
956 * Atom time unit encoding is straight forward val * time_unit,
1082 rpi[prim].unit, &val))