Lines Matching full:best
45 * selecting the best performing node.
636 static bool hmat_update_best(u8 type, u32 value, u32 *best) in hmat_update_best() argument
647 if (!*best || *best > value) { in hmat_update_best()
648 *best = value; in hmat_update_best()
655 if (!*best || *best < value) { in hmat_update_best()
656 *best = value; in hmat_update_best()
696 u32 best = 0; in hmat_update_target_attrs() local
707 * only that one. Otherwise, find the best performance attributes and in hmat_update_target_attrs()
736 best = 0; in hmat_update_target_attrs()
748 if (hmat_update_best(loc->hmat_loc->data_type, value, &best)) in hmat_update_target_attrs()
750 if (value != best) in hmat_update_target_attrs()
753 if (best) in hmat_update_target_attrs()
754 hmat_update_target_access(target, loc->hmat_loc->data_type, best, access); in hmat_update_target_attrs()