Lines Matching refs:regname
60 #define KREG_IDX(regname) (QIB_6120_##regname##_OFFS / sizeof(u64)) argument
115 #define CREG_IDX(regname) ((QIB_6120_##regname##_OFFS - \ argument
152 #define SYM_RMASK(regname, fldname) ((u64) \ argument
153 QIB_6120_##regname##_##fldname##_RMASK)
154 #define SYM_MASK(regname, fldname) ((u64) \ argument
155 QIB_6120_##regname##_##fldname##_RMASK << \
156 QIB_6120_##regname##_##fldname##_LSB)
157 #define SYM_LSB(regname, fldname) (QIB_6120_##regname##_##fldname##_LSB) argument
159 #define SYM_FIELD(value, regname, fldname) ((u64) \ argument
160 (((value) >> SYM_LSB(regname, fldname)) & \
161 SYM_RMASK(regname, fldname)))
485 #define SYM_MASK_BIT(regname, fldname, bit) ((u64) \ argument
486 ((1ULL << (SYM_LSB(regname, fldname) + (bit)))))