Home
last modified time | relevance | path

Searched refs:DriverCapabilities (Results 1 – 25 of 36) sorted by relevance

12

/trusted-firmware-m-3.6.0/platform/ext/target/arm/musca_s1/CMSIS_Driver/
DDriver_QSPI_Flash.c67 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 …]
DDriver_Flash_MRAM.c73 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/
DDriver_Flash.c72 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/
Dnv_counters.c84 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/
DDriver_Flash_Emulated.h24 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/
DDriver_Flash.c75 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/
DDriver_QSPI_Flash.c66 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()
DDriver_GFC100_EFlash.c83 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/
DDriver_Flash.c92 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/
DDriver_Flash.c74 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/
DDriver_Flash_SRAM_Emu.c80 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/
DDriver_Flash.c72 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/
DDriver_Flash.c56 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/
Dgpt.c42 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()
Dfip_parser.c20 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/
Dits_flash_nor.c58 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()
Dits_flash_nand.c67 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/
Dflash_otp_nv_counters_backend.c130 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/
DDriver_Flash_iap1.c102 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()
DDriver_USART.c54 static const ARM_USART_CAPABILITIES DriverCapabilities = { variable
86 return DriverCapabilities; in ARM_USART_GetCapabilities()
/trusted-firmware-m-3.6.0/bl2/src/
Dflash_map.c128 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/
DDriver_QSPI.c59 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/
Dlow_level_flash.c60 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()
Dlow_level_ospi_flash.c64 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()
Dlow_level_com.c38 static const ARM_USART_CAPABILITIES DriverCapabilities = variable
71 return DriverCapabilities; in USART_GetCapabilities()

12