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()
582 u32 best = 0; in hmat_register_target_initiators() local
589 * only that one. Otherwise, find the best performance attributes and in hmat_register_target_initiators()
619 best = 0; in hmat_register_target_initiators()
628 if (hmat_update_best(loc->hmat_loc->data_type, value, &best)) in hmat_register_target_initiators()
630 if (value != best) in hmat_register_target_initiators()
633 if (best) in hmat_register_target_initiators()
635 best, 0); in hmat_register_target_initiators()
647 best = 0; in hmat_register_target_initiators()
653 best = 0; in hmat_register_target_initiators()
665 if (hmat_update_best(loc->hmat_loc->data_type, value, &best)) in hmat_register_target_initiators()
667 if (value != best) in hmat_register_target_initiators()
670 if (best) in hmat_register_target_initiators()
671 hmat_update_target_access(target, loc->hmat_loc->data_type, best, 1); in hmat_register_target_initiators()