Searched refs:FLASH_DEV (Results 1 – 5 of 5) sorted by relevance
| /trusted-firmware-m-latest/platform/ext/target/rpi/rp2350/cmsis_drivers/ |
| D | Driver_Flash_RPI.h | 121 #define RPI_RP2350_FLASH(FLASH_DEV, FLASH_DRIVER_NAME) \ argument 134 if ((addr+cnt) >= FLASH_DEV.size) { \ 138 memcpy(data, (void *)(addr + FLASH_DEV.base), cnt); \ 147 if ((addr+cnt) >= FLASH_DEV.size) { \ 151 if ((cnt < FLASH_DEV.data->program_unit) || \ 152 (cnt % FLASH_DEV.data->program_unit) || \ 153 (addr % FLASH_DEV.data->page_size)) { \ 157 FLASH_DEV.save_mpu_state(&FLASH_DEV); \ 161 FLASH_DEV.restore_mpu_state(); \ 168 if (addr >= FLASH_DEV.size) { \ [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/arm/drivers/flash/sst26vf064b/ |
| D | Driver_Flash_SST26VF064B.h | 89 #define ARM_FLASH_SST26VF064B(FLASH_DEV, FLASH_DRIVER_NAME) \ argument 95 struct spi_sst26vf064b_dev_t* dev = FLASH_DEV.dev; \ 96 ARM_FLASH_INFO* data = FLASH_DEV.data; \ 103 SETUP_QSPI(FLASH_DEV); \ 104 ret = spi_sst26vf064b_initialize(FLASH_DEV.dev); \ 111 RELEASE_QSPI(FLASH_DEV); \ 135 SETUP_QSPI(FLASH_DEV); \ 136 ret = spi_sst26vf064b_read(FLASH_DEV.dev, addr, (uint8_t*) data, cnt); \ 146 RELEASE_QSPI(FLASH_DEV); \ 170 SETUP_QSPI(FLASH_DEV); \ [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/arm/drivers/flash/n25q256a/ |
| D | Driver_Flash_N25Q256A.h | 59 #define ARM_FLASH_N25Q256A(FLASH_DEV, FLASH_DRIVER_NAME) \ argument 65 struct spi_n25q256a_dev_t* dev = FLASH_DEV.dev; \ 66 ARM_FLASH_INFO* data = FLASH_DEV.data; \ 73 ret = spi_n25q256a_initialize(FLASH_DEV.dev); \ 84 spi_n25q256a_uninitialize(FLASH_DEV.dev); \ 105 ret = spi_n25q256a_read(FLASH_DEV.dev, addr, (uint8_t*) data, cnt); \ 136 ret = spi_n25q256a_program(FLASH_DEV.dev, addr, (uint8_t*) data, cnt); \ 154 ret = spi_n25q256a_erase(FLASH_DEV.dev, addr); \ 167 ret = spi_n25q256a_erase_chip(FLASH_DEV.dev); \ 178 return FLASH_DEV.data; \
|
| /trusted-firmware-m-latest/platform/ext/target/arm/drivers/flash/strata/ |
| D | Driver_Flash_Strata.h | 48 #define ARM_FLASH_STRATA(FLASH_DEV, FLASH_DRIVER_NAME) \ argument 54 struct cfi_strataflashj3_dev_t* dev = FLASH_DEV.dev; \ 55 ARM_FLASH_INFO* data = FLASH_DEV.data; \ 63 ret = cfi_strataflashj3_initialize(FLASH_DEV.dev); \ 91 ret = cfi_strataflashj3_read(FLASH_DEV.dev, addr, (uint8_t*) data, cnt); \ 124 ret = cfi_strataflashj3_program(FLASH_DEV.dev, \ 146 ret = cfi_strataflashj3_erase(FLASH_DEV.dev, addr); \ 159 ret = cfi_strataflashj3_erase_chip(FLASH_DEV.dev); \ 170 return FLASH_DEV.data; \
|
| /trusted-firmware-m-latest/platform/ext/target/arm/drivers/flash/emulated/ |
| D | Driver_Flash_Emulated.h | 42 #define ARM_FLASH_EMULATED(FLASH_DEV, FLASH_DRIVER_NAME) \ argument 59 emulated_flash_read_data(&FLASH_DEV, addr, data, \ 77 emulated_flash_program_data(&FLASH_DEV, addr, data, \ 93 enum emulated_flash_error_t rc = emulated_flash_erase_sector(&FLASH_DEV, addr); \ 106 emulated_flash_erase_chip(&FLASH_DEV); \ 112 return FLASH_DEV.data; \
|