Lines Matching refs:time_unit
938 rd->time_unit = 1000000 / (1 << value);
941 rd->rp->name, rd->name, rd->energy_unit, rd->time_unit, rd->power_unit);
966 rd->time_unit = 1000000 / (1 << value);
969 rd->rp->name, rd->name, rd->energy_unit, rd->time_unit, rd->power_unit);
1089 value = (1 << y) * (4 + f) * rd->time_unit / 4;
1091 if (value < rd->time_unit)
1094 do_div(value, rd->time_unit);
1114 * Atom time unit encoding is straight forward val * time_unit,
1115 * where time_unit is default to 1 sec. Never 0.
1118 return (value) ? value * rd->time_unit : rd->time_unit;
1120 value = div64_u64(value, rd->time_unit);
1153 rd->time_unit = 1000000 / (1 << value);
1156 rd->rp->name, rd->name, rd->energy_unit, rd->time_unit, rd->power_unit);