Lines Matching refs:etp
980 const struct jesd216_erase_type *etp = in spi_nor_erase() local
983 if ((etp->exp != 0) in spi_nor_erase()
984 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in spi_nor_erase()
985 && (size >= BIT(etp->exp)) in spi_nor_erase()
987 || (etp->exp > bet->exp))) { in spi_nor_erase()
988 bet = etp; in spi_nor_erase()
1173 struct jesd216_erase_type *etp = data->erase_types; in spi_nor_process_bfp() local
1186 if (jesd216_bfp_erase(bfp, ti, etp) == 0) { in spi_nor_process_bfp()
1187 LOG_DBG("Erase %u with %02x", (uint32_t)BIT(etp->exp), etp->cmd); in spi_nor_process_bfp()
1189 ++etp; in spi_nor_process_bfp()
1308 struct jesd216_erase_type *etp = &dev_data->erase_types[ei]; in spi_nor_process_sfdp() local
1312 etp->exp = 0; in spi_nor_process_sfdp()
1313 etp->cmd = 0; in spi_nor_process_sfdp()
1315 etp->cmd = cmd; in spi_nor_process_sfdp()
1358 const struct jesd216_erase_type *etp = &data->erase_types[i]; in setup_pages_layout() local
1360 if ((etp->cmd != 0) in setup_pages_layout()
1361 && ((exp == 0) || (etp->exp < exp))) { in setup_pages_layout()
1362 exp = etp->exp; in setup_pages_layout()