Lines Matching refs:etp
713 const struct jesd216_erase_type *etp = in flash_stm32_qspi_erase() local
716 if ((etp->exp != 0) in flash_stm32_qspi_erase()
717 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in flash_stm32_qspi_erase()
718 && SPI_NOR_IS_ALIGNED(size, etp->exp) in flash_stm32_qspi_erase()
720 || (etp->exp > bet->exp))) { in flash_stm32_qspi_erase()
721 bet = etp; in flash_stm32_qspi_erase()
915 const struct jesd216_erase_type *etp = &data->erase_types[i]; in setup_pages_layout() local
917 if ((etp->cmd != 0) in setup_pages_layout()
918 && ((exp == 0) || (etp->exp < exp))) { in setup_pages_layout()
919 exp = etp->exp; in setup_pages_layout()
1160 struct jesd216_erase_type *etp = data->erase_types; in spi_nor_process_bfp() local
1176 if (jesd216_bfp_erase(bfp, ti, etp) == 0) { in spi_nor_process_bfp()
1178 (uint32_t)BIT(etp->exp), etp->cmd); in spi_nor_process_bfp()
1180 ++etp; in spi_nor_process_bfp()