Lines Matching defs:value
193 u32 value;
207 value = entry * base;
209 if (value < 10)
211 value = DIV_ROUND_UP(value, 10);
217 value = DIV_ROUND_UP(value, 1000);
223 return value;
227 u8 type, u32 value, int access)
231 target->hmem_attrs[access].read_latency = value;
232 target->hmem_attrs[access].write_latency = value;
235 target->hmem_attrs[access].read_latency = value;
238 target->hmem_attrs[access].write_latency = value;
241 target->hmem_attrs[access].read_bandwidth = value;
242 target->hmem_attrs[access].write_bandwidth = value;
245 target->hmem_attrs[access].read_bandwidth = value;
248 target->hmem_attrs[access].write_bandwidth = value;
300 u32 *inits, *targs, value;
332 value = hmat_normalize(entries[init * tpds + targ],
336 inits[init], targs[targ], value,
342 hmat_update_target_access(target, type, value, 0);
345 hmat_update_target_access(target, type, value, 1);
532 static bool hmat_update_best(u8 type, u32 value, u32 *best)
536 if (!value)
543 if (!*best || *best > value) {
544 *best = value;
551 if (!*best || *best < value) {
552 *best = value;
634 u32 value;
639 value = hmat_initiator_perf(target, initiator,
641 if (hmat_update_best(loc->hmat_loc->data_type, value, &best))
643 if (value != best)
669 u32 value;
678 value = hmat_initiator_perf(target, initiator, loc->hmat_loc);
679 if (hmat_update_best(loc->hmat_loc->data_type, value, &best))
681 if (value != best)