Searched refs:etp (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | flash_andes_qspi.c | 428 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 …]
|
D | spi_nor.c | 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() [all …]
|
D | flash_stm32_qspi.c | 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() [all …]
|
D | jesd216.c | 125 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()
|
D | flash_stm32_xspi.c | 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() [all …]
|
D | flash_stm32_ospi.c | 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() [all …]
|
D | flash_nxp_s32_qspi_nor.c | 662 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()
|
D | jesd216.h | 319 struct jesd216_erase_type *etp);
|