Home
last modified time | relevance | path

Searched refs:etp (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/flash/
Dflash_andes_qspi.c428 const struct jesd216_erase_type *etp = in flash_andes_qspi_erase() local
431 if ((etp->exp != 0) && in flash_andes_qspi_erase()
432 SPI_NOR_IS_ALIGNED(addr, etp->exp) && in flash_andes_qspi_erase()
433 SPI_NOR_IS_ALIGNED(size, etp->exp) && in flash_andes_qspi_erase()
434 ((bet == NULL) || (etp->exp > bet->exp))) { in flash_andes_qspi_erase()
435 bet = etp; in flash_andes_qspi_erase()
510 struct jesd216_erase_type *etp = dev_data->erase_types; in spi_nor_process_bfp() local
520 if (jesd216_bfp_erase(bfp, ti, etp) == 0) { in spi_nor_process_bfp()
522 (uint32_t)BIT(etp->exp), etp->cmd); in spi_nor_process_bfp()
524 ++etp; in spi_nor_process_bfp()
[all …]
Dspi_nor.c980 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()
[all …]
Dflash_stm32_qspi.c713 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()
[all …]
Djesd216.c125 struct jesd216_erase_type *etp) in jesd216_bfp_erase() argument
145 etp->cmd = cmd; in jesd216_bfp_erase()
146 etp->exp = exp; in jesd216_bfp_erase()
Dflash_stm32_xspi.c1092 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()
[all …]
Dflash_stm32_ospi.c1266 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()
[all …]
Dflash_nxp_s32_qspi_nor.c662 Qspi_Ip_EraseVarConfigType *etp = NULL; in nxp_s32_qspi_erase_block() local
676 && ((etp == NULL) || (etp_tmp->size > etp->size))) { in nxp_s32_qspi_erase_block()
678 etp = etp_tmp; in nxp_s32_qspi_erase_block()
681 if (etp != NULL) { in nxp_s32_qspi_erase_block()
682 *erase_size = BIT(etp->size); in nxp_s32_qspi_erase_block()
Djesd216.h319 struct jesd216_erase_type *etp);