Home
last modified time | relevance | path

Searched refs:best_match (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/media/i2c/et8ek8/
Det8ek8_driver.c415 struct et8ek8_reglist *best_match = NULL; in et8ek8_reglist_find_mode_fmt() local
446 if (dist < max_dist_match || !best_match) { in et8ek8_reglist_find_mode_fmt()
447 best_match = *list; in et8ek8_reglist_find_mode_fmt()
458 return best_match ? best_match : best_other; in et8ek8_reglist_find_mode_fmt()
/Linux-v4.19/drivers/mtd/spi-nor/
Dspi-nor.c2598 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local
2601 if (best_match < 0) in spi_nor_select_read()
2604 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()
2630 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local
2633 if (best_match < 0) in spi_nor_select_pp()
2636 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()
/Linux-v4.19/drivers/of/
Dbase.c1023 const struct of_device_id *best_match = NULL; in __of_match_node() local
1033 best_match = matches; in __of_match_node()
1038 return best_match; in __of_match_node()
/Linux-v4.19/net/ipv4/
Dtcp_ipv4.c981 struct tcp_md5sig_key *best_match = NULL; in tcp_md5_do_lookup() local
1007 if (match && (!best_match || in tcp_md5_do_lookup()
1008 key->prefixlen > best_match->prefixlen)) in tcp_md5_do_lookup()
1009 best_match = key; in tcp_md5_do_lookup()
1011 return best_match; in tcp_md5_do_lookup()
/Linux-v4.19/net/decnet/
Ddn_route.c917 int best_match = 0; in dnet_select_source() local
932 if (ret > best_match) in dnet_select_source()
934 if (best_match == 0) in dnet_select_source()