Searched refs:best_match (Results 1 – 10 of 10) sorted by relevance
83 class best_match93 best_match (GOAL_TYPE goal,
611 int best_match = shared_hwcaps & SNOR_HWCAPS_READ_MASK; in spi_nor_select_read() local615 if (best_match < 0) in spi_nor_select_read()618 if (best_match & SNOR_HWCAPS_READ_1_1_4) in spi_nor_select_read()620 else if (best_match & SNOR_HWCAPS_READ_FAST) in spi_nor_select_read()
2297 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local2300 if (best_match < 0) in spi_nor_select_read()2303 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()2329 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local2332 if (best_match < 0) in spi_nor_select_pp()2335 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()
49 best_match = None54 best_match = folder55 return best_match
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()
2611 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local2614 if (best_match < 0) in spi_nor_select_read()2617 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()2642 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local2645 if (best_match < 0) in spi_nor_select_pp()2648 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()
1085 const struct of_device_id *best_match = NULL; in __of_match_node() local1095 best_match = matches; in __of_match_node()1100 return best_match; in __of_match_node()
913 int best_match = 0; in dnet_select_source() local928 if (ret > best_match) in dnet_select_source()930 if (best_match == 0) in dnet_select_source()
1050 struct tcp_md5sig_key *best_match = NULL; in __tcp_md5_do_lookup() local1078 if (match && better_md5_match(best_match, key)) in __tcp_md5_do_lookup()1079 best_match = key; in __tcp_md5_do_lookup()1081 return best_match; in __tcp_md5_do_lookup()