fldname 152 drivers/infiniband/hw/qib/qib_iba6120.c #define SYM_RMASK(regname, fldname) ((u64) \ fldname 153 drivers/infiniband/hw/qib/qib_iba6120.c QIB_6120_##regname##_##fldname##_RMASK) fldname 154 drivers/infiniband/hw/qib/qib_iba6120.c #define SYM_MASK(regname, fldname) ((u64) \ fldname 155 drivers/infiniband/hw/qib/qib_iba6120.c QIB_6120_##regname##_##fldname##_RMASK << \ fldname 156 drivers/infiniband/hw/qib/qib_iba6120.c QIB_6120_##regname##_##fldname##_LSB) fldname 157 drivers/infiniband/hw/qib/qib_iba6120.c #define SYM_LSB(regname, fldname) (QIB_6120_##regname##_##fldname##_LSB) fldname 159 drivers/infiniband/hw/qib/qib_iba6120.c #define SYM_FIELD(value, regname, fldname) ((u64) \ fldname 160 drivers/infiniband/hw/qib/qib_iba6120.c (((value) >> SYM_LSB(regname, fldname)) & \ fldname 161 drivers/infiniband/hw/qib/qib_iba6120.c SYM_RMASK(regname, fldname))) fldname 162 drivers/infiniband/hw/qib/qib_iba6120.c #define ERR_MASK(fldname) SYM_MASK(ErrMask, fldname##Mask) fldname 163 drivers/infiniband/hw/qib/qib_iba6120.c #define HWE_MASK(fldname) SYM_MASK(HwErrMask, fldname##Mask) fldname 485 drivers/infiniband/hw/qib/qib_iba6120.c #define SYM_MASK_BIT(regname, fldname, bit) ((u64) \ fldname 486 drivers/infiniband/hw/qib/qib_iba6120.c ((1ULL << (SYM_LSB(regname, fldname) + (bit))))) fldname 185 drivers/infiniband/hw/qib/qib_iba7220.c #define SYM_RMASK(regname, fldname) ((u64) \ fldname 186 drivers/infiniband/hw/qib/qib_iba7220.c QIB_7220_##regname##_##fldname##_RMASK) fldname 187 drivers/infiniband/hw/qib/qib_iba7220.c #define SYM_MASK(regname, fldname) ((u64) \ fldname 188 drivers/infiniband/hw/qib/qib_iba7220.c QIB_7220_##regname##_##fldname##_RMASK << \ fldname 189 drivers/infiniband/hw/qib/qib_iba7220.c QIB_7220_##regname##_##fldname##_LSB) fldname 190 drivers/infiniband/hw/qib/qib_iba7220.c #define SYM_LSB(regname, fldname) (QIB_7220_##regname##_##fldname##_LSB) fldname 191 drivers/infiniband/hw/qib/qib_iba7220.c #define SYM_FIELD(value, regname, fldname) ((u64) \ fldname 192 drivers/infiniband/hw/qib/qib_iba7220.c (((value) >> SYM_LSB(regname, fldname)) & \ fldname 193 drivers/infiniband/hw/qib/qib_iba7220.c SYM_RMASK(regname, fldname))) fldname 194 drivers/infiniband/hw/qib/qib_iba7220.c #define ERR_MASK(fldname) SYM_MASK(ErrMask, fldname##Mask) fldname 195 drivers/infiniband/hw/qib/qib_iba7220.c #define HWE_MASK(fldname) SYM_MASK(HwErrMask, fldname##Mask) fldname 578 drivers/infiniband/hw/qib/qib_iba7220.c #define SYM_MASK_BIT(regname, fldname, bit) ((u64) \ fldname 579 drivers/infiniband/hw/qib/qib_iba7220.c (1ULL << (SYM_LSB(regname, fldname) + (bit)))) fldname 174 drivers/infiniband/hw/qib/qib_iba7322.c #define SYM_RMASK(regname, fldname) ((u64) \ fldname 175 drivers/infiniband/hw/qib/qib_iba7322.c QIB_7322_##regname##_##fldname##_RMASK) fldname 177 drivers/infiniband/hw/qib/qib_iba7322.c #define SYM_MASK(regname, fldname) ((u64) \ fldname 178 drivers/infiniband/hw/qib/qib_iba7322.c QIB_7322_##regname##_##fldname##_RMASK << \ fldname 179 drivers/infiniband/hw/qib/qib_iba7322.c QIB_7322_##regname##_##fldname##_LSB) fldname 181 drivers/infiniband/hw/qib/qib_iba7322.c #define SYM_FIELD(value, regname, fldname) ((u64) \ fldname 182 drivers/infiniband/hw/qib/qib_iba7322.c (((value) >> SYM_LSB(regname, fldname)) & \ fldname 183 drivers/infiniband/hw/qib/qib_iba7322.c SYM_RMASK(regname, fldname))) fldname 186 drivers/infiniband/hw/qib/qib_iba7322.c #define SYM_FIELD_ACROSS(value, regname, fldname, nbits) \ fldname 187 drivers/infiniband/hw/qib/qib_iba7322.c (((value) >> SYM_LSB(regname, fldname)) & MASK_ACROSS(0, nbits)) fldname 189 drivers/infiniband/hw/qib/qib_iba7322.c #define HWE_MASK(fldname) SYM_MASK(HwErrMask, fldname##Mask) fldname 190 drivers/infiniband/hw/qib/qib_iba7322.c #define ERR_MASK(fldname) SYM_MASK(ErrMask, fldname##Mask) fldname 191 drivers/infiniband/hw/qib/qib_iba7322.c #define ERR_MASK_N(fldname) SYM_MASK(ErrMask_0, fldname##Mask) fldname 192 drivers/infiniband/hw/qib/qib_iba7322.c #define INT_MASK(fldname) SYM_MASK(IntMask, fldname##IntMask) fldname 193 drivers/infiniband/hw/qib/qib_iba7322.c #define INT_MASK_P(fldname, port) SYM_MASK(IntMask, fldname##IntMask##_##port) fldname 195 drivers/infiniband/hw/qib/qib_iba7322.c #define INT_MASK_PM(fldname, port) SYM_MASK(IntMask, fldname##Mask##_##port) fldname 198 drivers/infiniband/hw/qib/qib_iba7322.c #define SYM_LSB(regname, fldname) (QIB_7322_##regname##_##fldname##_LSB) fldname 1200 drivers/infiniband/hw/qib/qib_iba7322.c #define HWE_AUTO(fldname) { .mask = SYM_MASK(HwErrMask, fldname##Mask), \ fldname 1201 drivers/infiniband/hw/qib/qib_iba7322.c .msg = #fldname , .sz = sizeof(#fldname) } fldname 1202 drivers/infiniband/hw/qib/qib_iba7322.c #define HWE_AUTO_P(fldname, port) { .mask = SYM_MASK(HwErrMask, \ fldname 1203 drivers/infiniband/hw/qib/qib_iba7322.c fldname##Mask##_##port), .msg = #fldname , .sz = sizeof(#fldname) } fldname 1224 drivers/infiniband/hw/qib/qib_iba7322.c #define E_AUTO(fldname) { .mask = SYM_MASK(ErrMask, fldname##Mask), \ fldname 1225 drivers/infiniband/hw/qib/qib_iba7322.c .msg = #fldname, .sz = sizeof(#fldname) } fldname 1226 drivers/infiniband/hw/qib/qib_iba7322.c #define E_P_AUTO(fldname) { .mask = SYM_MASK(ErrMask_0, fldname##Mask), \ fldname 1227 drivers/infiniband/hw/qib/qib_iba7322.c .msg = #fldname, .sz = sizeof(#fldname) } fldname 1297 drivers/infiniband/hw/qib/qib_iba7322.c #define INTR_AUTO(fldname) { .mask = SYM_MASK(IntMask, fldname##Mask), \ fldname 1298 drivers/infiniband/hw/qib/qib_iba7322.c .msg = #fldname, .sz = sizeof(#fldname) } fldname 1300 drivers/infiniband/hw/qib/qib_iba7322.c #define INTR_AUTO_P(fldname) { .mask = MASK_ACROSS(\ fldname 1301 drivers/infiniband/hw/qib/qib_iba7322.c SYM_LSB(IntMask, fldname##Mask##_0), \ fldname 1302 drivers/infiniband/hw/qib/qib_iba7322.c SYM_LSB(IntMask, fldname##Mask##_1)), \ fldname 1303 drivers/infiniband/hw/qib/qib_iba7322.c .msg = #fldname "_P", .sz = sizeof(#fldname "_P") } fldname 1305 drivers/infiniband/hw/qib/qib_iba7322.c #define INTR_AUTO_PI(fldname) { .mask = MASK_ACROSS(\ fldname 1306 drivers/infiniband/hw/qib/qib_iba7322.c SYM_LSB(IntMask, fldname##Mask##_1), \ fldname 1307 drivers/infiniband/hw/qib/qib_iba7322.c SYM_LSB(IntMask, fldname##Mask##_0)), \ fldname 1308 drivers/infiniband/hw/qib/qib_iba7322.c .msg = #fldname "_P", .sz = sizeof(#fldname "_P") } fldname 1313 drivers/infiniband/hw/qib/qib_iba7322.c #define INTR_AUTO_C(fldname) { .mask = MASK_ACROSS(\ fldname 1314 drivers/infiniband/hw/qib/qib_iba7322.c SYM_LSB(IntMask, fldname##0IntMask), \ fldname 1315 drivers/infiniband/hw/qib/qib_iba7322.c SYM_LSB(IntMask, fldname##17IntMask)), \ fldname 1316 drivers/infiniband/hw/qib/qib_iba7322.c .msg = #fldname "_C", .sz = sizeof(#fldname "_C") } fldname 1318 drivers/infiniband/hw/qib/qib_iba7322.c #define TXSYMPTOM_AUTO_P(fldname) \ fldname 1319 drivers/infiniband/hw/qib/qib_iba7322.c { .mask = SYM_MASK(SendHdrErrSymptom_0, fldname), \ fldname 1320 drivers/infiniband/hw/qib/qib_iba7322.c .msg = #fldname, .sz = sizeof(#fldname) }