Home
last modified time | relevance | path

Searched refs:MEM_WINDOW_NODE (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/soc/intel/intel_adsp/common/
Dmem_window.c42 mem_win_init(DEVICE_DT_GET(MEM_WINDOW_NODE(0))); in mem_window_idle_exit()
43 mem_win_init(DEVICE_DT_GET(MEM_WINDOW_NODE(1))); in mem_window_idle_exit()
44 mem_win_init(DEVICE_DT_GET(MEM_WINDOW_NODE(2))); in mem_window_idle_exit()
45 mem_win_init(DEVICE_DT_GET(MEM_WINDOW_NODE(3))); in mem_window_idle_exit()
50 .base_addr = DT_REG_ADDR(MEM_WINDOW_NODE(n)), \
53 .read_only = DT_PROP(MEM_WINDOW_NODE(n), read_only), \
54 .mem_base = DT_REG_ADDR(DT_PHANDLE(MEM_WINDOW_NODE(n), memory)) + WIN_OFFSET(n), \
55 .initialize = DT_PROP(MEM_WINDOW_NODE(n), initialize), \
57 DEVICE_DT_DEFINE(MEM_WINDOW_NODE(n), mem_win_init, NULL, NULL, \
61 #if DT_NODE_HAS_STATUS_OKAY(MEM_WINDOW_NODE(0))
[all …]
/Zephyr-latest/soc/intel/intel_adsp/common/include/
Dmem_window.h13 #define MEM_WINDOW_NODE(n) DT_NODELABEL(mem_window##n) macro
14 #define WIN0_OFFSET DT_PROP(MEM_WINDOW_NODE(0), offset)
21 #define WIN_OFFSET(n) (DT_PROP_OR(MEM_WINDOW_NODE(n), offset, (WIN##n##_OFFSET)))