Lines Matching refs:fldname
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))
189 #define HWE_MASK(fldname) SYM_MASK(HwErrMask, fldname##Mask) argument
190 #define ERR_MASK(fldname) SYM_MASK(ErrMask, fldname##Mask) argument
191 #define ERR_MASK_N(fldname) SYM_MASK(ErrMask_0, fldname##Mask) argument
192 #define INT_MASK(fldname) SYM_MASK(IntMask, fldname##IntMask) argument
193 #define INT_MASK_P(fldname, port) SYM_MASK(IntMask, fldname##IntMask##_##port) argument
195 #define INT_MASK_PM(fldname, port) SYM_MASK(IntMask, fldname##Mask##_##port) argument
198 #define SYM_LSB(regname, fldname) (QIB_7322_##regname##_##fldname##_LSB) argument
1200 #define HWE_AUTO(fldname) { .mask = SYM_MASK(HwErrMask, fldname##Mask), \ argument
1201 .msg = #fldname , .sz = sizeof(#fldname) }
1202 #define HWE_AUTO_P(fldname, port) { .mask = SYM_MASK(HwErrMask, \ argument
1203 fldname##Mask##_##port), .msg = #fldname , .sz = sizeof(#fldname) }
1224 #define E_AUTO(fldname) { .mask = SYM_MASK(ErrMask, fldname##Mask), \ argument
1225 .msg = #fldname, .sz = sizeof(#fldname) }
1226 #define E_P_AUTO(fldname) { .mask = SYM_MASK(ErrMask_0, fldname##Mask), \ argument
1227 .msg = #fldname, .sz = sizeof(#fldname) }
1297 #define INTR_AUTO(fldname) { .mask = SYM_MASK(IntMask, fldname##Mask), \ argument
1298 .msg = #fldname, .sz = sizeof(#fldname) }
1300 #define INTR_AUTO_P(fldname) { .mask = MASK_ACROSS(\ argument
1301 SYM_LSB(IntMask, fldname##Mask##_0), \
1302 SYM_LSB(IntMask, fldname##Mask##_1)), \
1303 .msg = #fldname "_P", .sz = sizeof(#fldname "_P") }
1305 #define INTR_AUTO_PI(fldname) { .mask = MASK_ACROSS(\ argument
1306 SYM_LSB(IntMask, fldname##Mask##_1), \
1307 SYM_LSB(IntMask, fldname##Mask##_0)), \
1308 .msg = #fldname "_P", .sz = sizeof(#fldname "_P") }
1313 #define INTR_AUTO_C(fldname) { .mask = MASK_ACROSS(\ argument
1314 SYM_LSB(IntMask, fldname##0IntMask), \
1315 SYM_LSB(IntMask, fldname##17IntMask)), \
1316 .msg = #fldname "_C", .sz = sizeof(#fldname "_C") }
1318 #define TXSYMPTOM_AUTO_P(fldname) \ argument
1319 { .mask = SYM_MASK(SendHdrErrSymptom_0, fldname), \
1320 .msg = #fldname, .sz = sizeof(#fldname) }