Searched refs:fldname (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/infiniband/hw/qib/ |
D | qib_iba7322.c | 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)) [all …]
|
D | qib_iba6120.c | 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))) 162 #define ERR_MASK(fldname) SYM_MASK(ErrMask, fldname##Mask) argument [all …]
|
D | qib_iba7220.c | 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))) 194 #define ERR_MASK(fldname) SYM_MASK(ErrMask, fldname##Mask) argument [all …]
|