/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/ |
D | blob_io_flash.c | 64 size_t erase_size; in block_start() local 86 erase_size = page.size * DIV_ROUND_UP(block->size, page.size); in block_start() 88 erase_size = block->size; in block_start() 92 erase_size); in block_start()
|
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | zephyr_img_mgmt.c | 467 size_t erase_size = page.start_offset + page.size - fa->fa_off; in img_mgmt_erase_image_data() local 469 rc = flash_area_erase(fa, 0, erase_size); in img_mgmt_erase_image_data() 472 LOG_ERR("image slot erase of 0x%zx bytes failed (err %d)", erase_size, in img_mgmt_erase_image_data() 478 LOG_INF("Erased 0x%zx bytes of image slot", erase_size); in img_mgmt_erase_image_data() 488 if (off >= erase_size) { in img_mgmt_erase_image_data() 492 erase_size = fa->fa_size - off; in img_mgmt_erase_image_data() 494 rc = flash_area_erase(fa, off, erase_size); in img_mgmt_erase_image_data() 497 erase_size, rc); in img_mgmt_erase_image_data() 502 LOG_INF("Erased 0x%zx bytes of image slot trailer", erase_size); in img_mgmt_erase_image_data()
|
/Zephyr-Core-3.5.0/drivers/flash/ |
D | flash_nxp_s32_qspi_nor.c | 658 size_t size, size_t *erase_size) in nxp_s32_qspi_erase_block() argument 682 *erase_size = BIT(etp->size); in nxp_s32_qspi_erase_block() 683 status = Qspi_Ip_EraseBlock(data->instance, (uint32_t)offset, *erase_size); in nxp_s32_qspi_erase_block() 686 *erase_size, (long)offset, status); in nxp_s32_qspi_erase_block() 702 size_t erase_size; in nxp_s32_qspi_erase() local 719 erase_size = 0; in nxp_s32_qspi_erase() 721 ret = nxp_s32_qspi_erase_block(dev, offset, size, &erase_size); in nxp_s32_qspi_erase() 733 erase_size); in nxp_s32_qspi_erase() 742 offset += erase_size; in nxp_s32_qspi_erase() 743 size -= erase_size; in nxp_s32_qspi_erase()
|
D | flash_cadence_qspi_nor_ll.c | 854 uint32_t erase_size = MIN(size, CAD_QSPI_SUBSECTOR_SIZE - subsector_offset); in cad_qspi_erase() local 868 offset += erase_size; in cad_qspi_erase() 869 size -= erase_size; in cad_qspi_erase() 870 erase_size = MIN(size, CAD_QSPI_SUBSECTOR_SIZE); in cad_qspi_erase()
|
D | flash_andes_qspi.c | 647 uint32_t erase_size = BIT(exponent); in setup_pages_layout() local 652 if ((layout_page_size % erase_size) != 0) { in setup_pages_layout() 654 layout_page_size, erase_size); in setup_pages_layout()
|
D | flash_stm32_qspi.c | 747 uint32_t erase_size = BIT(exp); in setup_pages_layout() local 750 if ((layout_page_size % erase_size) != 0) { in setup_pages_layout() 752 layout_page_size, erase_size); in setup_pages_layout() 754 layout_page_size = erase_size; in setup_pages_layout()
|
D | spi_nor.c | 1122 uint32_t erase_size = BIT(exp); in setup_pages_layout() local 1127 if ((layout_page_size % erase_size) != 0) { in setup_pages_layout() 1129 layout_page_size, erase_size); in setup_pages_layout()
|
D | flash_stm32_ospi.c | 1504 uint32_t erase_size = BIT(value); in setup_pages_layout() local 1506 if (erase_size == 0) { in setup_pages_layout() 1507 erase_size = SPI_NOR_SECTOR_SIZE; in setup_pages_layout() 1511 if ((layout_page_size % erase_size) != 0) { in setup_pages_layout() 1513 layout_page_size, erase_size); in setup_pages_layout() 1515 layout_page_size = erase_size; in setup_pages_layout()
|
/Zephyr-Core-3.5.0/drivers/disk/ |
D | sdmmc_sdhc.h | 269 uint8_t erase_size; member 667 csd->erase_size = (uint8_t)((raw_csd[1U] & in sdhc_decode_csd()
|
/Zephyr-Core-3.5.0/drivers/espi/ |
D | espi_saf_mchp_xec.c | 634 static uint32_t get_erase_size_encoding(uint32_t erase_size) in get_erase_size_encoding() argument 642 if ((sz == erase_size) && in get_erase_size_encoding()
|
D | espi_saf_mchp_xec_v2.c | 806 static uint32_t get_erase_size_encoding(const struct device *dev, uint32_t erase_size) in get_erase_size_encoding() argument 816 if ((sz == erase_size) && in get_erase_size_encoding()
|
/Zephyr-Core-3.5.0/include/zephyr/sd/ |
D | sd_spec.h | 548 uint8_t erase_size; member
|
/Zephyr-Core-3.5.0/subsys/sd/ |
D | mmc.c | 342 csd->erase_size = (uint8_t)((raw_csd[1U] & 0x00007C00U) >> 10U); in mmc_decode_csd()
|
D | sd_ops.c | 154 csd->erase_size = (uint8_t)((raw_csd[1U] & 0x3F80U) >> 7U); in sdmmc_decode_csd()
|