Searched refs:best_match (Results 1 – 2 of 2) sorted by relevance
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()
2365 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local2368 if (best_match < 0) in spi_nor_select_read()2371 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()2397 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local2400 if (best_match < 0) in spi_nor_select_pp()2403 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()