Lines Matching full:best
45 * selecting the best performing node.
532 static bool hmat_update_best(u8 type, u32 value, u32 *best) in hmat_update_best() argument
543 if (!*best || *best > value) { in hmat_update_best()
544 *best = value; in hmat_update_best()
551 if (!*best || *best < value) { in hmat_update_best()
552 *best = value; in hmat_update_best()
583 u32 best = 0; in hmat_register_target_initiators() local
590 * only that one. Otherwise, find the best performance attributes and in hmat_register_target_initiators()
620 best = 0; in hmat_register_target_initiators()
629 if (hmat_update_best(loc->hmat_loc->data_type, value, &best)) in hmat_register_target_initiators()
631 if (value != best) in hmat_register_target_initiators()
634 if (best) in hmat_register_target_initiators()
636 best, 0); in hmat_register_target_initiators()
648 best = 0; in hmat_register_target_initiators()
654 best = 0; in hmat_register_target_initiators()
666 if (hmat_update_best(loc->hmat_loc->data_type, value, &best)) in hmat_register_target_initiators()
668 if (value != best) in hmat_register_target_initiators()
671 if (best) in hmat_register_target_initiators()
672 hmat_update_target_access(target, loc->hmat_loc->data_type, best, 1); in hmat_register_target_initiators()