Lines Matching refs:etp
1092 const struct jesd216_erase_type *etp = in flash_stm32_xspi_erase() local
1095 if ((etp->exp != 0) in flash_stm32_xspi_erase()
1096 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in flash_stm32_xspi_erase()
1097 && (size >= BIT(etp->exp)) in flash_stm32_xspi_erase()
1099 || (etp->exp > bet->exp))) { in flash_stm32_xspi_erase()
1100 bet = etp; in flash_stm32_xspi_erase()
1568 const struct jesd216_erase_type *etp = &data->erase_types[i]; in setup_pages_layout() local
1570 if ((etp->cmd != 0) in setup_pages_layout()
1571 && ((value == 0) || (etp->exp < value))) { in setup_pages_layout()
1572 value = etp->exp; in setup_pages_layout()
1818 struct jesd216_erase_type *etp = data->erase_types; in spi_nor_process_bfp() local
1835 if (jesd216_bfp_erase(bfp, idx, etp) == 0) { in spi_nor_process_bfp()
1837 (uint32_t)BIT(etp->exp), etp->cmd); in spi_nor_process_bfp()
1839 ++etp; in spi_nor_process_bfp()
2311 struct jesd216_erase_type *etp = &dev_data->erase_types[ei]; in flash_stm32_xspi_init() local
2315 etp->exp = 0; in flash_stm32_xspi_init()
2316 etp->cmd = 0; in flash_stm32_xspi_init()
2318 etp->cmd = cmd; in flash_stm32_xspi_init()