Lines Matching refs:regname
167 #define KREG_IDX(regname) (QIB_7322_##regname##_OFFS / sizeof(u64)) argument
169 #define KREG_IBPORT_IDX(regname) ((QIB_7322_##regname##_0_OFFS / sizeof(u64))) argument
174 #define SYM_RMASK(regname, fldname) ((u64) \ argument
175 QIB_7322_##regname##_##fldname##_RMASK)
177 #define SYM_MASK(regname, fldname) ((u64) \ argument
178 QIB_7322_##regname##_##fldname##_RMASK << \
179 QIB_7322_##regname##_##fldname##_LSB)
181 #define SYM_FIELD(value, regname, fldname) ((u64) \ argument
182 (((value) >> SYM_LSB(regname, fldname)) & \
183 SYM_RMASK(regname, fldname)))
186 #define SYM_FIELD_ACROSS(value, regname, fldname, nbits) \ argument
187 (((value) >> SYM_LSB(regname, fldname)) & MASK_ACROSS(0, nbits))
198 #define SYM_LSB(regname, fldname) (QIB_7322_##regname##_##fldname##_LSB) argument
377 #define CREG_IDX(regname) \ argument
378 ((QIB_7322_##regname##_0_OFFS - QIB_7322_LBIntCnt_OFFS) / sizeof(u64))
425 #define CREG_DEVIDX(regname) ((QIB_7322_##regname##_OFFS - \ argument