Home
last modified time | relevance | path

Searched refs:sector_size (Results 1 – 25 of 33) sorted by relevance

12

/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/Device/Source/
Ddevice_definition.c90 .sector_size = 0,
101 .sector_size = 0,
110 .sector_size = 0,
121 .sector_size = 0,
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/cmsis_drivers/
DDriver_Flash.c90 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()
115 if ((offset % flash_dev->data->sector_size) != 0) { in is_sector_aligned()
140 .sector_size = FLASH0_SECTOR_SIZE,
271 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseSector()
287 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseChip()
289 addr += FLASH0_DEV->data->sector_size; in ARM_Flash_EraseChip()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/corstone310/common/cmsis_drivers/
DDriver_Flash.c91 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()
116 if ((offset % flash_dev->data->sector_size) != 0) { in is_sector_aligned()
141 .sector_size = FLASH0_SECTOR_SIZE,
272 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseSector()
288 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseChip()
290 addr += FLASH0_DEV->data->sector_size; in ARM_Flash_EraseChip()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an521/cmsis_drivers/
DDriver_Flash.c84 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()
109 if ((offset % flash_dev->data->sector_size) != 0) { in is_sector_aligned()
134 .sector_size = FLASH0_SECTOR_SIZE,
269 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseSector()
285 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseChip()
287 addr += FLASH0_DEV->data->sector_size; in ARM_Flash_EraseChip()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an519/cmsis_drivers/
DDriver_Flash.c86 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()
111 if ((offset % flash_dev->data->sector_size) != 0) { in is_sector_aligned()
136 .sector_size = FLASH0_SECTOR_SIZE,
266 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseSector()
282 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseChip()
284 addr += FLASH0_DEV->data->sector_size; in ARM_Flash_EraseChip()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an547/cmsis_drivers/
DDriver_Flash.c90 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()
115 if ((offset % flash_dev->data->sector_size) != 0) { in is_sector_aligned()
140 .sector_size = FLASH0_SECTOR_SIZE,
271 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseSector()
287 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseChip()
289 addr += FLASH0_DEV->data->sector_size; in ARM_Flash_EraseChip()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an524/cmsis_drivers/
DDriver_Flash.c104 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()
129 if ((offset % flash_dev->data->sector_size) != 0) { in is_sector_aligned()
139 .sector_size = FLASH0_SECTOR_SIZE,
279 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseSector()
301 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseChip()
308 addr += FLASH0_DEV->data->sector_size; in ARM_Flash_EraseChip()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an552/native_drivers/
Demulated_flash_drv.c29 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()
54 if ((offset % flash_dev->data->sector_size) != 0) { in is_sector_aligned()
184 dev->data->sector_size); in emulated_flash_erase_sector()
207 dev->data->sector_size); in emulated_flash_erase_chip()
209 addr += dev->data->sector_size; in emulated_flash_erase_chip()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/CMSIS_Driver/
DDriver_Flash.c139 .sector_size = STRATA_NVM_FLASH_SECTOR_SIZE,
155 .sector_size = STRATA_SE_FLASH_SECTOR_SIZE,
173 .sector_size = PMOD_SF3_FLASH_SECTOR_SIZE,
189 .sector_size = SST26VF064B_FLASH_SECTOR_SIZE,
235 dev->sector_size = data->sector_size; in STRATAFLASHJ3_Initialize()
364 dev->sector_size = data->sector_size; in STRATAFLASHJ3_Initialize_SE()
509 dev->sector_size = data->sector_size; in N25Q256A_Flash_Initialize()
637 dev->sector_size = data->sector_size; in SST26VF064B_Flash_Initialize()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_s1/CMSIS_Driver/
DDriver_Flash_MRAM.c85 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()
110 if ((offset % flash_dev->data->sector_size) != 0) { in is_sector_aligned()
135 .sector_size = FLASH0_SECTOR_SIZE,
299 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseSector()
338 FLASH0_DEV->data->sector_size); in ARM_Flash_EraseChip()
340 addr += FLASH0_DEV->data->sector_size; in ARM_Flash_EraseChip()
DDriver_QSPI_Flash.c128 .sector_size = SUBSECTOR_4KB,
295 (enum mt25ql_erase_t) ARM_FLASH0_DEV.data->sector_size); in ARM_Flash_EraseSector()
/trusted-firmware-m-3.4.0/secure_fw/partitions/internal_trusted_storage/
Dtfm_internal_trusted_storage.c86 fs_cfg_its.sector_size = TFM_HAL_ITS_FLASH_DRIVER.GetInfo()->sector_size; in init_fs_cfg()
96 fs_cfg_its.block_size = fs_cfg_its.sector_size in init_fs_cfg()
110 fs_cfg_ps.sector_size = TFM_HAL_PS_FLASH_DRIVER.GetInfo()->sector_size; in init_fs_cfg()
120 fs_cfg_ps.block_size = fs_cfg_ps.sector_size * ps_fs_info.sectors_per_block; in init_fs_cfg()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/cmsis_drivers/
DDriver_Flash.c85 flash_size = (flash_dev->data->sector_count * flash_dev->data->sector_size); in is_range_valid()
111 if((offset % flash_dev->data->sector_size) != 0) in is_sector_aligned()
123 .sector_size = FMC_FLASH_PAGE_SIZE,
314 addr += FLASH0_DEV->data->sector_size; in ARM_Flash_EraseChip()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/CMSIS_Driver/
Dlow_level_ospi_flash.c189 return ((param % (flash_dev->data->sector_size)) != 0) ? (false) : (true); in is_erase_aligned()
197 .sector_size = OSPI_FLASH0_SECTOR_SIZE,
434 if (ARM_OSPI_FLASH0_DEV.data->sector_size == MX25LM51245G_SUBSECTOR_4K) in Ospi_Flash_EraseSector()
438 else if (ARM_OSPI_FLASH0_DEV.data->sector_size == MX25LM51245G_SECTOR_64K) in Ospi_Flash_EraseSector()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/Native_Driver/
Dspi_n25q256a_flash_lib.h36 uint32_t sector_size; member
Dspi_strataflashj3_flash_lib.h36 uint32_t sector_size; member
Dspi_sst26vf064b_flash_lib.h36 uint32_t sector_size; member
Dspi_strataflashj3_flash_lib.c127 if ((addr + cnt) > (dev->total_sector_cnt * dev->sector_size)) { in cfi_strataflashj3_program()
174 if ((addr + cnt) > (dev->total_sector_cnt * dev->sector_size)) { in cfi_strataflashj3_read()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_b1/CMSIS_Driver/
DDriver_GFC100_EFlash.c134 (ARM_FLASHx_DEV->data->sector_size != page_size) || in ARM_Flashx_Initialize()
306 .sector_size = 0x4000u, /* 16kB - as there are no sectors the page size
399 .sector_size = 0x4000u, /* 16kB - as there are no sectors the page size
DDriver_QSPI_Flash.c127 .sector_size = SUBSECTOR_4KB,
282 addr, ARM_FLASH0_DEV.data->sector_size); in ARM_Flash_EraseSector()
/trusted-firmware-m-3.4.0/platform/ext/target/cypress/psoc64/CMSIS_Driver/
DDriver_Flash.c92 .sector_size = FLASH0_SECTOR_SIZE,
302 addr += FLASH0_DEV->data->sector_size; in ARM_Flash_EraseChip()
/trusted-firmware-m-3.4.0/platform/ext/driver/
DDriver_Flash.h73 uint32_t sector_size; ///< Uniform sector size in bytes (0=sector_info used) member
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an552/cmsis_drivers/
DDriver_Flash.c131 .sector_size = FLASH0_SECTOR_SIZE,
239 .sector_size = FLASH1_SECTOR_SIZE,
/trusted-firmware-m-3.4.0/secure_fw/partitions/internal_trusted_storage/flash_fs/
Dits_flash_fs.h53 uint32_t sector_size; /**< Size of the flash device's physical erase member
/trusted-firmware-m-3.4.0/bl2/src/
Dflash_map.c376 deleted_len += flash_info->sector_size; in flash_area_erase()
377 off += flash_info->sector_size; in flash_area_erase()

12