Lines Matching refs:regname
65 #define KREG_IDX(regname) (QIB_7220_##regname##_OFFS / sizeof(u64)) argument
132 #define CREG_IDX(regname) ((QIB_7220_##regname##_OFFS - \ argument
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)))
578 #define SYM_MASK_BIT(regname, fldname, bit) ((u64) \ argument
579 (1ULL << (SYM_LSB(regname, fldname) + (bit))))