Lines Matching refs:time_unit
794 rp->time_unit = 1000000 / (1 << value);
797 rp->name, rp->energy_unit, rp->time_unit, rp->power_unit);
822 rp->time_unit = 1000000 / (1 << value);
825 rp->name, rp->energy_unit, rp->time_unit, rp->power_unit);
939 value = (1 << y) * (4 + f) * rp->time_unit / 4;
941 if (value < rp->time_unit)
944 do_div(value, rp->time_unit);
956 * Atom time unit encoding is straight forward val * time_unit,
957 * where time_unit is default to 1 sec. Never 0.
960 return (value) ? value *= rp->time_unit : rp->time_unit;
962 value = div64_u64(value, rp->time_unit);