Searched refs:best_match (Results 1 – 3 of 3) sorted by relevance
624 int best_match = shared_hwcaps & SNOR_HWCAPS_READ_MASK; in spi_nor_select_read() local628 if (best_match < 0) in spi_nor_select_read()631 if (best_match & SNOR_HWCAPS_READ_1_1_4) in spi_nor_select_read()633 else if (best_match & SNOR_HWCAPS_READ_FAST) in spi_nor_select_read()
2306 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_READ_MASK) - 1; in spi_nor_select_read() local2309 if (best_match < 0) in spi_nor_select_read()2312 cmd = spi_nor_hwcaps_read2cmd(BIT(best_match)); in spi_nor_select_read()2338 int cmd, best_match = fls(shared_hwcaps & SNOR_HWCAPS_PP_MASK) - 1; in spi_nor_select_pp() local2341 if (best_match < 0) in spi_nor_select_pp()2344 cmd = spi_nor_hwcaps_pp2cmd(BIT(best_match)); in spi_nor_select_pp()
1888 enum mmc_voltage best_match; in mmc_set_lowest_voltage() local1890 best_match = 1 << (ffs(card_mask & allowed_mask) - 1); in mmc_set_lowest_voltage()1891 if (!mmc_set_signal_voltage(mmc, best_match)) in mmc_set_lowest_voltage()1894 allowed_mask &= ~best_match; in mmc_set_lowest_voltage()
Completed in 14 milliseconds