Home
last modified time | relevance | path

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

/openbmc/linux/fs/ntfs3/
H A Dlznt.c31 const u8 *best_match; member
78 ctx->best_match = hash[1]; in longest_match_std()
81 ctx->best_match = hash[0]; in longest_match_std()
103 ctx->best_match = ptr; in longest_match_best()
179 t16 = make_pair(up - ctx->best_match, max_len, idx); in compress_chunk()
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dtestexport.py49 best_match = None
54 best_match = folder
55 return best_match
/openbmc/u-boot/drivers/mtd/spi/
H A Dspi-nor-tiny.c611 int best_match = shared_hwcaps & SNOR_HWCAPS_READ_MASK; in spi_nor_select_read() local
615 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()
H A Dspi-nor-core.c2600 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local
2603 if (best_match < 0) in spi_nor_select_read()
2606 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()
2632 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local
2635 if (best_match < 0) in spi_nor_select_pp()
2638 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()
/openbmc/linux/drivers/media/i2c/et8ek8/
H A 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()
/openbmc/linux/drivers/of/
H A Dbase.c947 const struct of_device_id *best_match = NULL; in __of_match_node() local
957 best_match = matches; in __of_match_node()
962 return best_match; in __of_match_node()
/openbmc/linux/drivers/mtd/spi-nor/
H A Dcore.c2473 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local
2476 if (best_match < 0) in spi_nor_select_read()
2479 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()
2504 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local
2507 if (best_match < 0) in spi_nor_select_pp()
2510 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()
/openbmc/u-boot/drivers/mmc/
H A Dmmc.c1803 enum mmc_voltage best_match; in mmc_set_lowest_voltage() local
1805 best_match = 1 << (ffs(card_mask & allowed_mask) - 1); in mmc_set_lowest_voltage()
1806 if (!mmc_set_signal_voltage(mmc, best_match)) in mmc_set_lowest_voltage()
1809 allowed_mask &= ~best_match; in mmc_set_lowest_voltage()
/openbmc/linux/net/ipv4/
H A Dtcp_ipv4.c1095 struct tcp_md5sig_key *best_match = NULL; in __tcp_md5_do_lookup() local
1123 if (match && better_md5_match(best_match, key)) in __tcp_md5_do_lookup()
1124 best_match = key; in __tcp_md5_do_lookup()
1126 return best_match; in __tcp_md5_do_lookup()