/trusted-firmware-m-3.6.0/platform/ext/target/arm/musca_s1/CMSIS_Driver/ |
D | Driver_QSPI_Flash.c | 67 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 149 return DriverCapabilities; in ARM_Flash_GetCapabilities() 158 if (DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { in ARM_Flash_Initialize() 212 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 225 if (cnt % data_width_byte[DriverCapabilities.data_width] != 0) { in ARM_Flash_ReadData() 226 extra_bytes = cnt % data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 234 data_width_byte[DriverCapabilities.data_width]); in ARM_Flash_ReadData() 245 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 254 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 280 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() [all …]
|
D | Driver_Flash_MRAM.c | 73 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 161 return DriverCapabilities; in ARM_Flash_GetCapabilities() 168 if (DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { in ARM_Flash_Initialize() 203 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 213 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 226 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 266 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 333 if (DriverCapabilities.erase_chip == 1) { in ARM_Flash_EraseChip()
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/mps2/an521/cmsis_drivers/ |
D | Driver_Flash.c | 72 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 160 return DriverCapabilities; in ARM_Flash_GetCapabilities() 167 if (FLASH0_PROGRAM_UNIT % data_width_byte[DriverCapabilities.data_width] || in ARM_Flash_Initialize() 168 DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { in ARM_Flash_Initialize() 204 if (addr % data_width_byte[DriverCapabilities.data_width] != 0) { in ARM_Flash_ReadData() 209 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 221 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 233 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 250 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 280 if (DriverCapabilities.erase_chip == 1) { in ARM_Flash_EraseChip()
|
/trusted-firmware-m-3.6.0/platform/ext/target/stm/common/hal/Native_Driver/ |
D | nv_counters.c | 84 ARM_FLASH_CAPABILITIES DriverCapabilities; in tfm_plat_init_nv_counter() local 99 DriverCapabilities = DEVICE_NV_COUNTERS_FLASH_NAME.GetCapabilities(); in tfm_plat_init_nv_counter() 101 data_width = data_width_byte[DriverCapabilities.data_width]; in tfm_plat_init_nv_counter() 170 ARM_FLASH_CAPABILITIES DriverCapabilities; in tfm_plat_read_nv_counter() local 182 DriverCapabilities = DEVICE_NV_COUNTERS_FLASH_NAME.GetCapabilities(); in tfm_plat_read_nv_counter() 184 data_width = data_width_byte[DriverCapabilities.data_width]; in tfm_plat_read_nv_counter() 199 ARM_FLASH_CAPABILITIES DriverCapabilities; in tfm_plat_set_nv_counter() local 208 DriverCapabilities = DEVICE_NV_COUNTERS_FLASH_NAME.GetCapabilities(); in tfm_plat_set_nv_counter() 210 data_width = data_width_byte[DriverCapabilities.data_width]; in tfm_plat_set_nv_counter()
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/drivers/flash/emulated/ |
D | Driver_Flash_Emulated.h | 24 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 33 return DriverCapabilities; in ARM_Flash_GetCapabilities() 47 if (DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { \ 60 cnt * data_width_byte[DriverCapabilities.data_width]); \ 78 cnt * data_width_byte[DriverCapabilities.data_width]); \
|
/trusted-firmware-m-3.6.0/platform/ext/target/cypress/psoc64/CMSIS_Driver/ |
D | Driver_Flash.c | 75 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 116 return DriverCapabilities; in ARM_Flash_GetCapabilities() 123 if (DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { in ARM_Flash_Initialize() 157 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 184 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 203 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 240 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 290 if (DriverCapabilities.erase_chip != 1) { in ARM_Flash_EraseChip()
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/musca_b1/CMSIS_Driver/ |
D | Driver_QSPI_Flash.c | 66 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 148 return DriverCapabilities; in ARM_Flash_GetCapabilities() 157 if (DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { in ARM_Flash_Initialize() 205 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 228 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 239 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 266 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 304 if(DriverCapabilities.erase_chip == 1) { in ARM_Flash_EraseChip()
|
D | Driver_GFC100_EFlash.c | 83 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 121 return DriverCapabilities; in ARM_Flash_GetCapabilities() 176 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flashx_ReadData() 198 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flashx_ReadData() 210 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flashx_ProgramData() 236 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flashx_ProgramData()
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/mps3/an524/cmsis_drivers/ |
D | Driver_Flash.c | 92 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 165 return DriverCapabilities; in ARM_Flash_GetCapabilities() 172 if (DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { in ARM_Flash_Initialize() 208 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 224 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 237 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 258 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 294 if (DriverCapabilities.erase_chip == 1) { in ARM_Flash_EraseChip()
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/mps2/an519/cmsis_drivers/ |
D | Driver_Flash.c | 74 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 162 return DriverCapabilities; in ARM_Flash_GetCapabilities() 169 if (DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { in ARM_Flash_Initialize() 204 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 216 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 227 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 247 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 277 if (DriverCapabilities.erase_chip == 1) { in ARM_Flash_EraseChip()
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/ci_regression_tests/ |
D | Driver_Flash_SRAM_Emu.c | 80 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 161 return DriverCapabilities; in ARM_Flash_GetCapabilities() 168 if (DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { in ARM_Flash_Initialize() 206 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 218 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 233 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 253 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 286 if (DriverCapabilities.erase_chip == 1) { in ARM_Flash_EraseChip()
|
/trusted-firmware-m-3.6.0/platform/ext/target/nuvoton/common/cmsis_drivers/ |
D | Driver_Flash.c | 72 static const ARM_FLASH_CAPABILITIES DriverCapabilities = variable 152 return DriverCapabilities; in ARM_Flash_GetCapabilities() 159 if (DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { in ARM_Flash_Initialize() 203 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 221 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 233 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 280 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 309 if(DriverCapabilities.erase_chip == 1) in ARM_Flash_EraseChip()
|
/trusted-firmware-m-3.6.0/platform/ext/target/nordic_nrf/common/core/cmsis_drivers/ |
D | Driver_Flash.c | 56 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 93 return DriverCapabilities; in ARM_Flash_GetCapabilities() 100 if (DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { in ARM_Flash_Initialize() 129 uint32_t bytes = cnt * data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 144 uint32_t bytes = cnt * data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData()
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/fip_parser/ |
D | gpt.c | 42 ARM_FLASH_CAPABILITIES DriverCapabilities = FLASH_DEV_NAME.GetCapabilities(); in gpt_get_header() local 49 size_t data_width = data_width_byte[DriverCapabilities.data_width]; in gpt_get_header() 74 ARM_FLASH_CAPABILITIES DriverCapabilities = FLASH_DEV_NAME.GetCapabilities(); in gpt_get_list_entry_by_name() local 81 size_t data_width = data_width_byte[DriverCapabilities.data_width]; in gpt_get_list_entry_by_name()
|
D | fip_parser.c | 20 ARM_FLASH_CAPABILITIES DriverCapabilities = FLASH_DEV_NAME.GetCapabilities(); in fip_get_entry_by_uuid() local 27 size_t data_width = data_width_byte[DriverCapabilities.data_width]; in fip_get_entry_by_uuid()
|
/trusted-firmware-m-3.6.0/secure_fw/partitions/internal_trusted_storage/flash/ |
D | its_flash_nor.c | 58 ARM_FLASH_CAPABILITIES DriverCapabilities; in flash_read_unaligned() local 62 DriverCapabilities = in flash_read_unaligned() 64 data_width = data_width_byte[DriverCapabilities.data_width]; in flash_read_unaligned() 142 ARM_FLASH_CAPABILITIES DriverCapabilities; in its_flash_nor_write() local 146 DriverCapabilities = in its_flash_nor_write() 148 data_width = data_width_byte[DriverCapabilities.data_width]; in its_flash_nor_write()
|
D | its_flash_nand.c | 67 ARM_FLASH_CAPABILITIES DriverCapabilities; in its_flash_nand_read() local 82 DriverCapabilities = flash_dev->driver->GetCapabilities(); in its_flash_nand_read() 83 data_width = data_width_byte[DriverCapabilities.data_width]; in its_flash_nand_read() 180 ARM_FLASH_CAPABILITIES DriverCapabilities; in its_flash_nand_flush() local 183 DriverCapabilities = flash_dev->driver->GetCapabilities(); in its_flash_nand_flush() 184 data_width = data_width_byte[DriverCapabilities.data_width]; in its_flash_nand_flush()
|
/trusted-firmware-m-3.6.0/platform/ext/common/template/ |
D | flash_otp_nv_counters_backend.c | 130 ARM_FLASH_CAPABILITIES DriverCapabilities; in read_otp_nv_counters_flash() local 135 DriverCapabilities = OTP_NV_COUNTERS_FLASH_DEV.GetCapabilities(); in read_otp_nv_counters_flash() 136 data_width = data_width_byte[DriverCapabilities.data_width]; in read_otp_nv_counters_flash() 266 ARM_FLASH_CAPABILITIES DriverCapabilities; in copy_flash_region() local 269 DriverCapabilities = OTP_NV_COUNTERS_FLASH_DEV.GetCapabilities(); in copy_flash_region() 270 data_width = data_width_byte[DriverCapabilities.data_width]; in copy_flash_region() 367 ARM_FLASH_CAPABILITIES DriverCapabilities; in write_otp_nv_counters_flash() local 370 DriverCapabilities = OTP_NV_COUNTERS_FLASH_DEV.GetCapabilities(); in write_otp_nv_counters_flash() 371 data_width = data_width_byte[DriverCapabilities.data_width]; in write_otp_nv_counters_flash() 537 ARM_FLASH_CAPABILITIES DriverCapabilities; in create_or_restore_layout() local [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/common/CMSIS_Driver/ |
D | Driver_Flash_iap1.c | 102 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 144 return DriverCapabilities; in ARM_Flash_GetCapabilities() 155 if (DriverCapabilities.data_width >= DATA_WIDTH_ENUM_SIZE) { in ARM_Flash_Initialize() 207 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 226 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ReadData() 235 cnt *= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData() 256 cnt /= data_width_byte[DriverCapabilities.data_width]; in ARM_Flash_ProgramData()
|
D | Driver_USART.c | 54 static const ARM_USART_CAPABILITIES DriverCapabilities = { variable 86 return DriverCapabilities; in ARM_USART_GetCapabilities()
|
/trusted-firmware-m-3.6.0/bl2/src/ |
D | flash_map.c | 128 ARM_FLASH_CAPABILITIES DriverCapabilities; in flash_area_read() local 140 DriverCapabilities = DRV_FLASH_AREA(area)->GetCapabilities(); in flash_area_read() 141 data_width = data_width_byte[DriverCapabilities.data_width]; in flash_area_read() 233 ARM_FLASH_CAPABILITIES DriverCapabilities; in flash_area_write() local 268 DriverCapabilities = DRV_FLASH_AREA(area)->GetCapabilities(); in flash_area_write() 269 data_width = data_width_byte[DriverCapabilities.data_width]; in flash_area_write()
|
/trusted-firmware-m-3.6.0/platform/ext/target/lairdconnectivity/common/core/cmsis_drivers/ |
D | Driver_QSPI.c | 59 static const ARM_FLASH_CAPABILITIES DriverCapabilities = { variable 105 return DriverCapabilities; in ARM_QSPI_Flash_GetCapabilities() 159 uint32_t bytes = cnt * data_width_byte[DriverCapabilities.data_width]; in ARM_QSPI_Flash_ReadData() 216 uint32_t bytes = cnt * data_width_byte[DriverCapabilities.data_width]; in ARM_QSPI_Flash_ProgramData()
|
/trusted-firmware-m-3.6.0/platform/ext/target/stm/common/hal/CMSIS_Driver/ |
D | low_level_flash.c | 60 static const ARM_FLASH_CAPABILITIES DriverCapabilities = variable 311 return DriverCapabilities; in Flash_GetCapabilities() 358 cnt *= data_width_byte[DriverCapabilities.data_width]; in Flash_ReadData() 408 cnt /= data_width_byte[DriverCapabilities.data_width]; in Flash_ReadData() 432 cnt *= data_width_byte[DriverCapabilities.data_width]; in Flash_ProgramData() 522 cnt /= data_width_byte[DriverCapabilities.data_width]; in Flash_ProgramData()
|
D | low_level_ospi_flash.c | 64 static const ARM_FLASH_CAPABILITIES DriverCapabilities = variable 219 return DriverCapabilities; in Ospi_Flash_GetCapabilities() 275 cnt *= data_width_byte[DriverCapabilities.data_width]; in Ospi_Flash_ReadData() 375 cnt *= data_width_byte[DriverCapabilities.data_width]; in Ospi_Flash_ProgramData()
|
D | low_level_com.c | 38 static const ARM_USART_CAPABILITIES DriverCapabilities = variable 71 return DriverCapabilities; in USART_GetCapabilities()
|