|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_MEM_ATTR_SW_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_MEM_ATTR_SW_H_
15#define DT_MEM_SW_MASK DT_MEM_SW_ATTR_MASK
16#define DT_MEM_SW_GET(x) ((x) & DT_MEM_SW_ATTR_MASK)
17#define DT_MEM_SW(x) ((x) << DT_MEM_SW_ATTR_SHIFT)
19#define ATTR_SW_ALLOC_CACHE BIT(0)
20#define ATTR_SW_ALLOC_NON_CACHE BIT(1)
21#define ATTR_SW_ALLOC_DMA BIT(2)
23#define DT_MEM_SW_ALLOC_CACHE DT_MEM_SW(ATTR_SW_ALLOC_CACHE)
24#define DT_MEM_SW_ALLOC_NON_CACHE DT_MEM_SW(ATTR_SW_ALLOC_NON_CACHE)
25#define DT_MEM_SW_ALLOC_DMA DT_MEM_SW(ATTR_SW_ALLOC_DMA)