Lines Matching defs:value
192 u32 value;
206 value = entry * base;
208 if (value < 10)
210 value = DIV_ROUND_UP(value, 10);
216 value = DIV_ROUND_UP(value, 1000);
222 return value;
226 u8 type, u32 value, int access)
230 target->hmem_attrs[access].read_latency = value;
231 target->hmem_attrs[access].write_latency = value;
234 target->hmem_attrs[access].read_latency = value;
237 target->hmem_attrs[access].write_latency = value;
240 target->hmem_attrs[access].read_bandwidth = value;
241 target->hmem_attrs[access].write_bandwidth = value;
244 target->hmem_attrs[access].read_bandwidth = value;
247 target->hmem_attrs[access].write_bandwidth = value;
299 u32 *inits, *targs, value;
331 value = hmat_normalize(entries[init * tpds + targ],
335 inits[init], targs[targ], value,
341 hmat_update_target_access(target, type, value, 0);
344 hmat_update_target_access(target, type, value, 1);
531 static bool hmat_update_best(u8 type, u32 value, u32 *best)
535 if (!value)
542 if (!*best || *best > value) {
543 *best = value;
550 if (!*best || *best < value) {
551 *best = value;
633 u32 value;
638 value = hmat_initiator_perf(target, initiator,
640 if (hmat_update_best(loc->hmat_loc->data_type, value, &best))
642 if (value != best)
668 u32 value;
677 value = hmat_initiator_perf(target, initiator, loc->hmat_loc);
678 if (hmat_update_best(loc->hmat_loc->data_type, value, &best))
680 if (value != best)