/Zephyr-Core-3.7.0/drivers/flash/ |
D | flash_gd32.h | 14 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 15 #define SOC_NV_FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE) 16 #define SOC_NV_FLASH_ADDR DT_REG_ADDR(SOC_NV_FLASH_NODE) 17 #define SOC_NV_FLASH_PRG_SIZE DT_PROP(SOC_NV_FLASH_NODE, write_block_size)
|
D | soc_flash_lpc.c | 28 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 38 #if DT_NODE_HAS_PROP(SOC_NV_FLASH_NODE, write_block_size) 39 .write_block_size = DT_PROP(SOC_NV_FLASH_NODE, write_block_size), 124 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / 125 DT_PROP(SOC_NV_FLASH_NODE, erase_block_size), 126 .pages_size = DT_PROP(SOC_NV_FLASH_NODE, erase_block_size), 164 priv->pflash_block_base = DT_REG_ADDR(SOC_NV_FLASH_NODE); in flash_lpc_init()
|
D | flash_ifx_cat1.c | 9 #define SOC_NV_FLASH_NODE DT_PARENT(DT_INST(0, fixed_partitions)) macro 11 #define PAGE_LEN DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) 35 .write_block_size = DT_PROP(SOC_NV_FLASH_NODE, write_block_size), 145 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / PAGE_LEN, 200 .base_addr = DT_REG_ADDR(SOC_NV_FLASH_NODE), 201 .max_addr = DT_REG_ADDR(SOC_NV_FLASH_NODE) + DT_REG_SIZE(SOC_NV_FLASH_NODE)};
|
D | flash_esp32.c | 8 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 10 #define FLASH_WRITE_BLK_SZ DT_PROP(SOC_NV_FLASH_NODE, write_block_size) 11 #define FLASH_ERASE_BLK_SZ DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) 126 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / FLASH_ERASE_BLK_SZ, 127 .pages_size = DT_PROP(SOC_NV_FLASH_NODE, erase_block_size),
|
D | flash_ifx_cat1_qspi.c | 9 #define SOC_NV_FLASH_NODE DT_PARENT(DT_INST(0, fixed_partitions)) macro 11 #define PAGE_LEN DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) 36 .write_block_size = DT_PROP(SOC_NV_FLASH_NODE, write_block_size), 287 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / PAGE_LEN, 342 .base_addr = DT_REG_ADDR(SOC_NV_FLASH_NODE), 343 .max_addr = DT_REG_ADDR(SOC_NV_FLASH_NODE) + DT_REG_SIZE(SOC_NV_FLASH_NODE)};
|
D | flash_simulator.c | 31 #define SOC_NV_FLASH_NODE DT_INST_CHILD(0, flash_0) macro 33 #define SOC_NV_FLASH_NODE DT_INST_CHILD(0, flash_sim_0) macro 36 #define FLASH_SIMULATOR_BASE_OFFSET DT_REG_ADDR(SOC_NV_FLASH_NODE) 37 #define FLASH_SIMULATOR_ERASE_UNIT DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) 38 #define FLASH_SIMULATOR_PROG_UNIT DT_PROP(SOC_NV_FLASH_NODE, write_block_size) 39 #define FLASH_SIMULATOR_FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE) 42 DT_PROP(DT_PARENT(SOC_NV_FLASH_NODE), erase_value) 151 #if DT_NODE_HAS_PROP(DT_PARENT(SOC_NV_FLASH_NODE), memory_region) 154 DT_PHANDLE(DT_PARENT(SOC_NV_FLASH_NODE), memory_region)) 410 #if DT_NODE_HAS_PROP(DT_PARENT(SOC_NV_FLASH_NODE), memory_region)
|
D | flash_gecko.c | 8 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 29 .write_block_size = DT_PROP(SOC_NV_FLASH_NODE, write_block_size), 172 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / 173 DT_PROP(SOC_NV_FLASH_NODE, erase_block_size), 174 .pages_size = DT_PROP(SOC_NV_FLASH_NODE, erase_block_size),
|
D | flash_smartbond.c | 8 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 20 #define FLASH_ERASE_SIZE DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) 28 .write_block_size = DT_PROP(SOC_NV_FLASH_NODE, write_block_size), 259 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / 260 DT_PROP(SOC_NV_FLASH_NODE, erase_block_size), 261 .pages_size = DT_PROP(SOC_NV_FLASH_NODE, erase_block_size),
|
D | soc_flash_rv32m1.c | 8 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 111 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / 112 DT_PROP(SOC_NV_FLASH_NODE, erase_block_size), 113 .pages_size = DT_PROP(SOC_NV_FLASH_NODE, erase_block_size),
|
D | soc_flash_numaker_rmc.c | 20 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 21 #define SOC_NV_FLASH_WRITE_BLOCK_SIZE DT_PROP_OR(SOC_NV_FLASH_NODE, write_block_size, 0x04) 226 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / 227 DT_PROP(SOC_NV_FLASH_NODE, erase_block_size), 228 .pages_size = DT_PROP(SOC_NV_FLASH_NODE, erase_block_size),
|
D | flash_ambiq.c | 18 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 19 #define SOC_NV_FLASH_ADDR DT_REG_ADDR(SOC_NV_FLASH_NODE) 20 #define SOC_NV_FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE) 26 #define FLASH_WRITE_BLOCK_SIZE MAX(DT_PROP(SOC_NV_FLASH_NODE, write_block_size), MIN_WRITE_SIZE) 27 #define FLASH_ERASE_BLOCK_SIZE DT_PROP(SOC_NV_FLASH_NODE, erase_block_size)
|
D | soc_flash_cc13xx_cc26xx.c | 17 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 19 #define FLASH_ADDR DT_REG_ADDR(SOC_NV_FLASH_NODE) 20 #define FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE) 21 #define FLASH_ERASE_SIZE DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) 22 #define FLASH_WRITE_SIZE DT_PROP(SOC_NV_FLASH_NODE, write_block_size)
|
D | soc_flash_mcux.c | 51 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 133 #if DT_NODE_HAS_PROP(SOC_NV_FLASH_NODE, write_block_size) 134 .write_block_size = DT_PROP(SOC_NV_FLASH_NODE, write_block_size), 256 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / 257 DT_PROP(SOC_NV_FLASH_NODE, erase_block_size), 258 .pages_size = DT_PROP(SOC_NV_FLASH_NODE, erase_block_size),
|
D | soc_flash_numaker.c | 20 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 21 #define SOC_NV_FLASH_WRITE_BLOCK_SIZE DT_PROP_OR(SOC_NV_FLASH_NODE, write_block_size, 0x04) 233 DT_REG_SIZE(SOC_NV_FLASH_NODE) / DT_PROP(SOC_NV_FLASH_NODE, erase_block_size), 234 .pages_size = DT_PROP(SOC_NV_FLASH_NODE, erase_block_size),
|
D | flash_ite_it8xxx2.c | 8 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 10 #define FLASH_WRITE_BLK_SZ DT_PROP(SOC_NV_FLASH_NODE, write_block_size) 11 #define FLASH_ERASE_BLK_SZ DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) 488 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / 489 DT_PROP(SOC_NV_FLASH_NODE, erase_block_size), 490 .pages_size = DT_PROP(SOC_NV_FLASH_NODE, erase_block_size),
|
D | soc_flash_nrf.c | 38 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 151 addr += DT_REG_ADDR(SOC_NV_FLASH_NODE); in flash_nrf_read() 180 addr += DT_REG_ADDR(SOC_NV_FLASH_NODE); in flash_nrf_write() 233 addr += DT_REG_ADDR(SOC_NV_FLASH_NODE); in flash_nrf_erase()
|
D | flash_sam0.c | 8 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 21 #define FLASH_WRITE_BLK_SZ DT_PROP(SOC_NV_FLASH_NODE, write_block_size)
|
/Zephyr-Core-3.7.0/tests/subsys/shell/shell_flash/src/ |
D | shell_flash_test.c | 22 #define SOC_NV_FLASH_NODE DT_CHILD(DT_INST(0, zephyr_sim_flash), flash_0) macro 24 #define SOC_NV_FLASH_NODE DT_CHILD(DT_INST(0, zephyr_sim_flash), flash_sim_0) macro 26 #define FLASH_SIMULATOR_BASE_OFFSET DT_REG_ADDR(SOC_NV_FLASH_NODE)
|
/Zephyr-Core-3.7.0/tests/drivers/flash_simulator/flash_sim_reboot/src/ |
D | main.c | 15 #define SOC_NV_FLASH_NODE DT_CHILD(DT_INST(0, zephyr_sim_flash), flash_sim_0) macro 16 #define FLASH_SIMULATOR_FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE)
|
/Zephyr-Core-3.7.0/tests/drivers/flash_simulator/flash_sim_impl/src/ |
D | main.c | 17 #define SOC_NV_FLASH_NODE DT_CHILD(DT_INST(0, zephyr_sim_flash), flash_0) macro 19 #define SOC_NV_FLASH_NODE DT_CHILD(DT_INST(0, zephyr_sim_flash), flash_sim_0) macro 21 #define FLASH_SIMULATOR_BASE_OFFSET DT_REG_ADDR(SOC_NV_FLASH_NODE) 22 #define FLASH_SIMULATOR_ERASE_UNIT DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) 23 #define FLASH_SIMULATOR_PROG_UNIT DT_PROP(SOC_NV_FLASH_NODE, write_block_size) 24 #define FLASH_SIMULATOR_FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE) 27 DT_PROP(DT_PARENT(SOC_NV_FLASH_NODE), erase_value)
|
/Zephyr-Core-3.7.0/tests/subsys/storage/stream/stream_flash/src/ |
D | main.c | 20 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro 21 #define FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE)
|