Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.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)
137 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / FLASH_ERASE_BLK_SZ,
138 .pages_size = DT_PROP(SOC_NV_FLASH_NODE, erase_block_size),
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_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)
Dflash_simulator.c40 #define SOC_NV_FLASH_NODE DT_INST_CHILD(0, flash_0) macro
42 #define SOC_NV_FLASH_NODE DT_INST_CHILD(0, flash_sim_0) macro
45 #define FLASH_SIMULATOR_BASE_OFFSET DT_REG_ADDR(SOC_NV_FLASH_NODE)
46 #define FLASH_SIMULATOR_ERASE_UNIT DT_PROP(SOC_NV_FLASH_NODE, erase_block_size)
47 #define FLASH_SIMULATOR_PROG_UNIT DT_PROP(SOC_NV_FLASH_NODE, write_block_size)
48 #define FLASH_SIMULATOR_FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE)
51 DT_PROP(DT_PARENT(SOC_NV_FLASH_NODE), erase_value)
160 #if DT_NODE_HAS_PROP(DT_PARENT(SOC_NV_FLASH_NODE), memory_region)
163 DT_PHANDLE(DT_PARENT(SOC_NV_FLASH_NODE), memory_region))
448 #if DT_NODE_HAS_PROP(DT_PARENT(SOC_NV_FLASH_NODE), memory_region)
Dsoc_flash_mcux.c47 #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) macro
129 #if DT_NODE_HAS_PROP(SOC_NV_FLASH_NODE, write_block_size)
130 .write_block_size = DT_PROP(SOC_NV_FLASH_NODE, write_block_size),
243 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) /
244 DT_PROP(SOC_NV_FLASH_NODE, erase_block_size),
245 .pages_size = DT_PROP(SOC_NV_FLASH_NODE, erase_block_size),
Dflash_sam.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)
355 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / FLASH_ERASE_BLK_SZ,
356 .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
129 addr += DT_REG_ADDR(SOC_NV_FLASH_NODE); in flash_nrf_read()
151 addr += DT_REG_ADDR(SOC_NV_FLASH_NODE); in flash_nrf_write()
204 addr += DT_REG_ADDR(SOC_NV_FLASH_NODE); in flash_nrf_erase()
/Zephyr-Core-3.4.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.4.0/tests/drivers/flash_simulator/src/
Dmain.c13 #define SOC_NV_FLASH_NODE DT_CHILD(DT_INST(0, zephyr_sim_flash), flash_0) macro
15 #define SOC_NV_FLASH_NODE DT_CHILD(DT_INST(0, zephyr_sim_flash), flash_sim_0) macro
17 #define FLASH_SIMULATOR_BASE_OFFSET DT_REG_ADDR(SOC_NV_FLASH_NODE)
18 #define FLASH_SIMULATOR_ERASE_UNIT DT_PROP(SOC_NV_FLASH_NODE, erase_block_size)
19 #define FLASH_SIMULATOR_PROG_UNIT DT_PROP(SOC_NV_FLASH_NODE, write_block_size)
20 #define FLASH_SIMULATOR_FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE)
23 DT_PROP(DT_PARENT(SOC_NV_FLASH_NODE), erase_value)
/Zephyr-Core-3.4.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)