Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/edac/
Dibecc.h11 #define BITFIELD(val, h, l) (((val) & GENMASK(h, l)) >> l) macro
144 #define INTER_CHAN_DDR_TYPE(v) BITFIELD(v, 2, 0)
146 #define INTER_CHAN_ECHM(v) BITFIELD(v, 3, 3)
148 #define INTER_CHAN_CH_L_MAP(v) BITFIELD(v, 4, 4)
150 #define INTER_CHAN_CH_S_SIZE BITFIELD(v, 19, 12)
155 #define DIMM_L_MAP(v) BITFIELD(v, 0, 0)
160 #define DIMM_L_SIZE(v) (BITFIELD(v, 6, 0) << 29)
162 #define DIMM_L_WIDTH(v) BITFIELD(v, 8, 7)
164 #define DIMM_S_SIZE(v) (BITFIELD(v, 22, 16) << 29)
166 #define DIMM_S_WIDTH(v) BITFIELD(v, 25, 24)