Home
last modified time | relevance | path

Searched refs:ARM_FLASH0_DEV (Results 1 – 16 of 16) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_b1/CMSIS_Driver/
DDriver_QSPI_Flash.c133 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
160 qspi_ip6514e_enable(ARM_FLASH0_DEV.dev->controller); in ARM_Flash_Initialize()
164 err = mt25ql_config_mode(ARM_FLASH0_DEV.dev, MT25QL_FUNC_STATE_FAST); in ARM_Flash_Initialize()
177 err = mt25ql_restore_reset_state(ARM_FLASH0_DEV.dev); in ARM_Flash_Uninitialize()
210 is_valid = is_range_valid(&ARM_FLASH0_DEV, addr + cnt); in ARM_Flash_ReadData()
218 err = mt25ql_command_read(ARM_FLASH0_DEV.dev, addr, data, cnt); in ARM_Flash_ReadData()
246 if(!(is_range_valid(&ARM_FLASH0_DEV, addr + cnt) && in ARM_Flash_ProgramData()
247 is_write_aligned(&ARM_FLASH0_DEV, addr) && in ARM_Flash_ProgramData()
248 is_write_aligned(&ARM_FLASH0_DEV, cnt) )) { in ARM_Flash_ProgramData()
256 err = mt25ql_command_write(ARM_FLASH0_DEV.dev, addr, data, cnt); in ARM_Flash_ProgramData()
[all …]
DDriver_GFC100_EFlash.c314 static ARM_FLASHx_Resources ARM_FLASH0_DEV = { variable
336 return ARM_Flashx_Initialize(&ARM_FLASH0_DEV, cb_event); in ARM_Flash0_Initialize()
341 return ARM_Flashx_Uninitialize(&ARM_FLASH0_DEV); in ARM_Flash0_Uninitialize()
346 return ARM_Flashx_PowerControl(&ARM_FLASH0_DEV, state); in ARM_Flash0_PowerControl()
351 return ARM_Flashx_ReadData(&ARM_FLASH0_DEV, addr, data, cnt); in ARM_Flash0_ReadData()
357 return ARM_Flashx_ProgramData(&ARM_FLASH0_DEV, addr, data, cnt); in ARM_Flash0_ProgramData()
362 return ARM_Flashx_EraseSector(&ARM_FLASH0_DEV, addr); in ARM_Flash0_EraseSector()
367 return ARM_Flashx_EraseChip(&ARM_FLASH0_DEV); in ARM_Flash0_EraseChip()
372 return ARM_Flashx_GetStatus(&ARM_FLASH0_DEV); in ARM_Flash0_GetStatus()
377 return ARM_Flashx_GetInfo(&ARM_FLASH0_DEV); in ARM_Flash0_GetInfo()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_s1/CMSIS_Driver/
DDriver_QSPI_Flash.c134 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
162 qspi_ip6514e_enable(ARM_FLASH0_DEV.dev->controller); in ARM_Flash_Initialize()
166 err = mt25ql_config_mode(ARM_FLASH0_DEV.dev, MT25QL_FUNC_STATE_FAST); in ARM_Flash_Initialize()
179 err = mt25ql_restore_reset_state(ARM_FLASH0_DEV.dev); in ARM_Flash_Uninitialize()
217 is_valid = is_range_valid(&ARM_FLASH0_DEV, addr + cnt); in ARM_Flash_ReadData()
230 err = mt25ql_command_read(ARM_FLASH0_DEV.dev, addr, data, cnt); in ARM_Flash_ReadData()
233 err = mt25ql_command_read(ARM_FLASH0_DEV.dev, addr + cnt, &extra_word, in ARM_Flash_ReadData()
261 if(!(is_range_valid(&ARM_FLASH0_DEV, addr + cnt) && in ARM_Flash_ProgramData()
262 is_write_aligned(&ARM_FLASH0_DEV, addr) && in ARM_Flash_ProgramData()
263 is_write_aligned(&ARM_FLASH0_DEV, cnt) )) { in ARM_Flash_ProgramData()
[all …]
DDriver_Flash_MRAM.c140 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
148 struct arm_flash_dev_t *FLASH0_DEV = &ARM_FLASH0_DEV;
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/CMSIS_Driver/
Dlow_level_flash.c262 static struct arm_flash_dev_t ARM_FLASH0_DEV = variable
362 is_valid = is_range_valid(&ARM_FLASH0_DEV, addr + cnt - 1); in Flash_ReadData()
365 if (ARM_FLASH0_DEV.dev->read_error) in Flash_ReadData()
382 if (is_range_secure(&ARM_FLASH0_DEV, addr, cnt)) in Flash_ReadData()
435 if (is_range_secure(&ARM_FLASH0_DEV, addr, cnt)) in Flash_ProgramData()
467 if ((!is_range_valid(&ARM_FLASH0_DEV, addr + cnt - 1)) || in Flash_ProgramData()
468 (!is_write_aligned(&ARM_FLASH0_DEV, addr)) || in Flash_ProgramData()
469 (!is_write_aligned(&ARM_FLASH0_DEV, cnt)) || in Flash_ProgramData()
470 (!is_write_allow(&ARM_FLASH0_DEV, addr, cnt)) in Flash_ProgramData()
538 if (!(is_range_valid(&ARM_FLASH0_DEV, addr)) || in Flash_EraseSector()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/CMSIS_Driver/
DDriver_Flash.c145 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
179 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
230 struct cfi_strataflashj3_dev_t* dev = ARM_FLASH0_DEV.dev; in STRATAFLASHJ3_Initialize()
231 ARM_FLASH_INFO* data = ARM_FLASH0_DEV.data; in STRATAFLASHJ3_Initialize()
239 ret = cfi_strataflashj3_initialize(ARM_FLASH0_DEV.dev); in STRATAFLASHJ3_Initialize()
269 ret = cfi_strataflashj3_read(ARM_FLASH0_DEV.dev, addr, data, cnt); in STRATAFLASHJ3_Flash_ReadData()
295 ret = cfi_strataflashj3_program(ARM_FLASH0_DEV.dev, addr, data, cnt); in STRATAFLASHJ3_Flash_ProgramData()
311 ret = cfi_strataflashj3_erase(ARM_FLASH0_DEV.dev, addr); in STRATAFLASHJ3_Flash_EraseSector()
324 ret = cfi_strataflashj3_erase_chip(ARM_FLASH0_DEV.dev); in STRATAFLASHJ3_Flash_EraseChip()
504 struct spi_n25q256a_dev_t* dev = ARM_FLASH0_DEV.dev; in N25Q256A_Flash_Initialize()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/cypress/psoc64/CMSIS_Driver/
DDriver_Flash.c98 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
103 struct arm_flash_dev_t *FLASH0_DEV = &ARM_FLASH0_DEV;
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/cmsis_drivers/
DDriver_Flash.c145 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
153 struct arm_flash_dev_t *FLASH0_DEV = &ARM_FLASH0_DEV;
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/corstone310/common/cmsis_drivers/
DDriver_Flash.c146 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
154 struct arm_flash_dev_t *FLASH0_DEV = &ARM_FLASH0_DEV;
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an521/cmsis_drivers/
DDriver_Flash.c139 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
147 struct arm_flash_dev_t *FLASH0_DEV = &ARM_FLASH0_DEV;
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an519/cmsis_drivers/
DDriver_Flash.c141 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
149 struct arm_flash_dev_t *FLASH0_DEV = &ARM_FLASH0_DEV;
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an547/cmsis_drivers/
DDriver_Flash.c145 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
153 struct arm_flash_dev_t *FLASH0_DEV = &ARM_FLASH0_DEV;
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an524/cmsis_drivers/
DDriver_Flash.c144 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
152 struct arm_flash_dev_t *FLASH0_DEV = &ARM_FLASH0_DEV;
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/cmsis_drivers/
DDriver_Flash.c129 static struct arm_flash_dev_t ARM_FLASH0_DEV = variable
139 struct arm_flash_dev_t *FLASH0_DEV = &ARM_FLASH0_DEV;
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an552/cmsis_drivers/
DDriver_Flash.c136 static struct emulated_flash_dev_t ARM_FLASH0_DEV = { variable
145 struct emulated_flash_dev_t *FLASH0_DEV = &ARM_FLASH0_DEV;
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/CMSIS_Driver/
DDriver_Flash_iap1.c115 static struct arm_flash_dev_t ARM_FLASH0_DEV = { variable
123 struct arm_flash_dev_t *FLASH0_DEV = &ARM_FLASH0_DEV;