Searched refs:best_match (Results 1 – 5 of 5) sorted by relevance
407 struct et8ek8_reglist *best_match = NULL; in et8ek8_reglist_find_mode_fmt() local438 if (dist < max_dist_match || !best_match) { in et8ek8_reglist_find_mode_fmt()439 best_match = *list; in et8ek8_reglist_find_mode_fmt()450 return best_match ? best_match : best_other; in et8ek8_reglist_find_mode_fmt()
1111 const struct of_device_id *best_match = NULL; in __of_match_node() local1121 best_match = matches; in __of_match_node()1126 return best_match; in __of_match_node()
996 struct tcp_md5sig_key *best_match = NULL; in __tcp_md5_do_lookup() local1022 if (match && (!best_match || in __tcp_md5_do_lookup()1023 key->prefixlen > best_match->prefixlen)) in __tcp_md5_do_lookup()1024 best_match = key; in __tcp_md5_do_lookup()1026 return best_match; in __tcp_md5_do_lookup()
4166 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local4169 if (best_match < 0) in spi_nor_select_read()4172 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()4197 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local4200 if (best_match < 0) in spi_nor_select_pp()4203 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()
909 int best_match = 0; in dnet_select_source() local924 if (ret > best_match) in dnet_select_source()926 if (best_match == 0) in dnet_select_source()