Lines Matching refs:best
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()
592 u32 best = 0; in hmat_register_target_initiators() local
632 best = 0; in hmat_register_target_initiators()
641 if (hmat_update_best(loc->hmat_loc->data_type, value, &best)) in hmat_register_target_initiators()
643 if (value != best) in hmat_register_target_initiators()
646 if (best) in hmat_register_target_initiators()
648 best, 0); in hmat_register_target_initiators()
667 best = 0; in hmat_register_target_initiators()
679 if (hmat_update_best(loc->hmat_loc->data_type, value, &best)) in hmat_register_target_initiators()
681 if (value != best) in hmat_register_target_initiators()
684 if (best) in hmat_register_target_initiators()
685 hmat_update_target_access(target, loc->hmat_loc->data_type, best, 1); in hmat_register_target_initiators()