Lines Matching refs:etp
1266 const struct jesd216_erase_type *etp = in flash_stm32_ospi_erase() local
1269 if ((etp->exp != 0) in flash_stm32_ospi_erase()
1270 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in flash_stm32_ospi_erase()
1271 && (size >= BIT(etp->exp)) in flash_stm32_ospi_erase()
1273 || (etp->exp > bet->exp))) { in flash_stm32_ospi_erase()
1274 bet = etp; in flash_stm32_ospi_erase()
1731 const struct jesd216_erase_type *etp = &data->erase_types[i]; in setup_pages_layout() local
1733 if ((etp->cmd != 0) in setup_pages_layout()
1734 && ((value == 0) || (etp->exp < value))) { in setup_pages_layout()
1735 value = etp->exp; in setup_pages_layout()
1981 struct jesd216_erase_type *etp = data->erase_types; in spi_nor_process_bfp() local
1998 if (jesd216_bfp_erase(bfp, idx, etp) == 0) { in spi_nor_process_bfp()
2000 (uint32_t)BIT(etp->exp), etp->cmd); in spi_nor_process_bfp()
2002 ++etp; in spi_nor_process_bfp()
2492 struct jesd216_erase_type *etp = &dev_data->erase_types[ei]; in flash_stm32_ospi_init() local
2496 etp->exp = 0; in flash_stm32_ospi_init()
2497 etp->cmd = 0; in flash_stm32_ospi_init()
2499 etp->cmd = cmd; in flash_stm32_ospi_init()