Lines Matching full:best
45 * selecting the best performing node.
669 static bool hmat_update_best(u8 type, u32 value, u32 *best) in hmat_update_best() argument
680 if (!*best || *best > value) { in hmat_update_best()
681 *best = value; in hmat_update_best()
688 if (!*best || *best < value) { in hmat_update_best()
689 *best = value; in hmat_update_best()
729 u32 best = 0; in hmat_update_target_attrs() local
745 * only that one. Otherwise, find the best performance attributes and in hmat_update_target_attrs()
775 best = 0; in hmat_update_target_attrs()
789 if (hmat_update_best(loc->hmat_loc->data_type, value, &best)) in hmat_update_target_attrs()
791 if (value != best) in hmat_update_target_attrs()
794 if (best) in hmat_update_target_attrs()
795 hmat_update_target_access(target, loc->hmat_loc->data_type, best, access); in hmat_update_target_attrs()