Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/i2c/et8ek8/
Det8ek8_driver.c407 struct et8ek8_reglist *best_match = NULL; in et8ek8_reglist_find_mode_fmt() local
438 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()
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/
Dcore.c2470 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local
2473 if (best_match < 0) in spi_nor_select_read()
2476 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()
2501 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local
2504 if (best_match < 0) in spi_nor_select_pp()
2507 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()
/kernel/linux/linux-5.10/drivers/of/
Dbase.c1085 const struct of_device_id *best_match = NULL; in __of_match_node() local
1095 best_match = matches; in __of_match_node()
1100 return best_match; in __of_match_node()
/kernel/linux/linux-5.10/net/decnet/
Ddn_route.c913 int best_match = 0; in dnet_select_source() local
928 if (ret > best_match) in dnet_select_source()
930 if (best_match == 0) in dnet_select_source()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_ipv4.c1050 struct tcp_md5sig_key *best_match = NULL; in __tcp_md5_do_lookup() local
1078 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()
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch333220 if (best_match < 0)
333223 - cmd = spi_nor_hwcaps_read2cmd(BIT(best_match));
333224 + cmd = spi_nor_hwcaps_read2cmd(BIT((unsigned int)best_match));