Home
last modified time | relevance | path

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

/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()
/drivers/mtd/spi-nor/
Dcore.c2057 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local
2060 if (best_match < 0) in spi_nor_select_read()
2063 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()
2088 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local
2091 if (best_match < 0) in spi_nor_select_pp()
2094 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()
/drivers/of/
Dbase.c1133 const struct of_device_id *best_match = NULL; in __of_match_node() local
1143 best_match = matches; in __of_match_node()
1148 return best_match; in __of_match_node()