Home
last modified time | relevance | path

Searched refs:SOC_NV_FLASH_NODE (Results 1 – 21 of 21) sorted by relevance

/Zephyr-Core-3.7.0/drivers/flash/
Dflash_gd32.h14 #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)
Dsoc_flash_lpc.c28 #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()
Dflash_ifx_cat1.c9 #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)};
Dflash_esp32.c8 #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),
Dflash_ifx_cat1_qspi.c9 #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)};
Dflash_simulator.c31 #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)
Dflash_gecko.c8 #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),
Dflash_smartbond.c8 #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),
Dsoc_flash_rv32m1.c8 #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),
Dsoc_flash_numaker_rmc.c20 #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),
Dflash_ambiq.c18 #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)
Dsoc_flash_cc13xx_cc26xx.c17 #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)
Dsoc_flash_mcux.c51 #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),
Dsoc_flash_numaker.c20 #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),
Dflash_ite_it8xxx2.c8 #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),
Dsoc_flash_nrf.c38 #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()
Dflash_sam0.c8 #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/
Dshell_flash_test.c22 #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/
Dmain.c15 #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/
Dmain.c17 #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/
Dmain.c20 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro
21 #define FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE)