Lines Matching refs:fldname
185 #define SYM_RMASK(regname, fldname) ((u64) \ argument
186 QIB_7220_##regname##_##fldname##_RMASK)
187 #define SYM_MASK(regname, fldname) ((u64) \ argument
188 QIB_7220_##regname##_##fldname##_RMASK << \
189 QIB_7220_##regname##_##fldname##_LSB)
190 #define SYM_LSB(regname, fldname) (QIB_7220_##regname##_##fldname##_LSB) argument
191 #define SYM_FIELD(value, regname, fldname) ((u64) \ argument
192 (((value) >> SYM_LSB(regname, fldname)) & \
193 SYM_RMASK(regname, fldname)))
194 #define ERR_MASK(fldname) SYM_MASK(ErrMask, fldname##Mask) argument
195 #define HWE_MASK(fldname) SYM_MASK(HwErrMask, fldname##Mask) argument
578 #define SYM_MASK_BIT(regname, fldname, bit) ((u64) \ argument
579 (1ULL << (SYM_LSB(regname, fldname) + (bit))))