Searched refs:tested_erase (Results 1 – 1 of 1) sorted by relevance
2540 const struct spi_nor_erase_type *tested_erase, *erase = NULL; in spi_nor_select_uniform_erase() local2548 tested_erase = &map->erase_type[i]; in spi_nor_select_uniform_erase()2551 if (!tested_erase->size) in spi_nor_select_uniform_erase()2558 if (tested_erase->size == wanted_size) { in spi_nor_select_uniform_erase()2559 erase = tested_erase; in spi_nor_select_uniform_erase()2567 if (!erase && tested_erase->size) in spi_nor_select_uniform_erase()2568 erase = tested_erase; in spi_nor_select_uniform_erase()