Lines Matching refs:SYM_MASK

154 #define SYM_MASK(regname, fldname) ((u64)               \  macro
162 #define ERR_MASK(fldname) SYM_MASK(ErrMask, fldname##Mask)
163 #define HWE_MASK(fldname) SYM_MASK(HwErrMask, fldname##Mask)
1274 val |= SYM_MASK(SerdesCfg0, ResetPLL) | in qib_6120_bringup_serdes()
1275 SYM_MASK(SerdesCfg0, RxDetEnX) | in qib_6120_bringup_serdes()
1276 (SYM_MASK(SerdesCfg0, L1PwrDnA) | in qib_6120_bringup_serdes()
1277 SYM_MASK(SerdesCfg0, L1PwrDnB) | in qib_6120_bringup_serdes()
1278 SYM_MASK(SerdesCfg0, L1PwrDnC) | in qib_6120_bringup_serdes()
1279 SYM_MASK(SerdesCfg0, L1PwrDnD)); in qib_6120_bringup_serdes()
1289 val &= ~(SYM_MASK(SerdesCfg0, RxDetEnX) | in qib_6120_bringup_serdes()
1290 SYM_MASK(SerdesCfg0, ResetPLL) | in qib_6120_bringup_serdes()
1291 (SYM_MASK(SerdesCfg0, L1PwrDnA) | in qib_6120_bringup_serdes()
1292 SYM_MASK(SerdesCfg0, L1PwrDnB) | in qib_6120_bringup_serdes()
1293 SYM_MASK(SerdesCfg0, L1PwrDnC) | in qib_6120_bringup_serdes()
1294 SYM_MASK(SerdesCfg0, L1PwrDnD))); in qib_6120_bringup_serdes()
1295 val |= (SYM_MASK(SerdesCfg0, ResetA) | in qib_6120_bringup_serdes()
1296 SYM_MASK(SerdesCfg0, ResetB) | in qib_6120_bringup_serdes()
1297 SYM_MASK(SerdesCfg0, ResetC) | in qib_6120_bringup_serdes()
1298 SYM_MASK(SerdesCfg0, ResetD)) | in qib_6120_bringup_serdes()
1299 SYM_MASK(SerdesCfg0, TxIdeEnX); in qib_6120_bringup_serdes()
1306 val &= ~((SYM_MASK(SerdesCfg0, ResetA) | in qib_6120_bringup_serdes()
1307 SYM_MASK(SerdesCfg0, ResetB) | in qib_6120_bringup_serdes()
1308 SYM_MASK(SerdesCfg0, ResetC) | in qib_6120_bringup_serdes()
1309 SYM_MASK(SerdesCfg0, ResetD)) | in qib_6120_bringup_serdes()
1310 SYM_MASK(SerdesCfg0, TxIdeEnX)); in qib_6120_bringup_serdes()
1322 val &= ~SYM_MASK(XGXSCfg, polarity_inv); in qib_6120_bringup_serdes()
1384 diagc | SYM_MASK(HwDiagCtrl, CounterWrEnable)); in qib_6120_quiet_serdes()
1406 val |= SYM_MASK(SerdesCfg0, TxIdeEnX); in qib_6120_quiet_serdes()
1461 extctl = dd->cspec->extctrl & ~(SYM_MASK(EXTCtrl, LEDPriPortGreenOn) | in qib_6120_setup_setextled()
1462 SYM_MASK(EXTCtrl, LEDPriPortYellowOn)); in qib_6120_setup_setextled()
1465 extctl |= SYM_MASK(EXTCtrl, LEDPriPortYellowOn); in qib_6120_setup_setextled()
1467 extctl |= SYM_MASK(EXTCtrl, LEDPriPortGreenOn); in qib_6120_setup_setextled()
1501 dd->sendctrl |= SYM_MASK(SendCtrl, PIOIntBufAvail); in qib_wantpiobuf_6120_intr()
1503 dd->sendctrl &= ~SYM_MASK(SendCtrl, PIOIntBufAvail); in qib_wantpiobuf_6120_intr()
2204 dd->sendctrl &= ~SYM_MASK(SendCtrl, PIOEnable); in sendctrl_6120_mod()
2206 dd->sendctrl |= SYM_MASK(SendCtrl, PIOEnable); in sendctrl_6120_mod()
2208 dd->sendctrl &= ~SYM_MASK(SendCtrl, PIOBufAvailUpd); in sendctrl_6120_mod()
2210 dd->sendctrl |= SYM_MASK(SendCtrl, PIOBufAvailUpd); in sendctrl_6120_mod()
2222 ~(SYM_MASK(SendCtrl, PIOEnable) | in sendctrl_6120_mod()
2223 SYM_MASK(SendCtrl, PIOBufAvailUpd)); in sendctrl_6120_mod()
2226 SYM_MASK(SendCtrl, Disarm) | i); in sendctrl_6120_mod()
2234 tmp_dd_sendctrl |= SYM_MASK(SendCtrl, Abort); in sendctrl_6120_mod()
2236 tmp_dd_sendctrl |= SYM_MASK(SendCtrl, Disarm) | in sendctrl_6120_mod()
2240 tmp_dd_sendctrl &= ~SYM_MASK(SendCtrl, PIOBufAvailUpd); in sendctrl_6120_mod()
2722 SYM_MASK(IBCCtrl, LinkDownDefaultState)) ? in qib_6120_get_ib_cfg()
2765 ~SYM_MASK(IBCCtrl, OverrunThreshold); in qib_6120_set_ib_cfg()
2778 ~SYM_MASK(IBCCtrl, PhyerrThreshold); in qib_6120_set_ib_cfg()
2797 ~SYM_MASK(IBCCtrl, LinkDownDefaultState); in qib_6120_set_ib_cfg()
2800 SYM_MASK(IBCCtrl, LinkDownDefaultState); in qib_6120_set_ib_cfg()
2814 dd->cspec->ibcctrl &= ~SYM_MASK(IBCCtrl, MaxPktLen); in qib_6120_set_ib_cfg()
2889 ppd->dd->cspec->ibcctrl |= SYM_MASK(IBCCtrl, Loopback); in qib_6120_set_loopback()
2893 ppd->dd->cspec->ibcctrl &= ~SYM_MASK(IBCCtrl, Loopback); in qib_6120_set_loopback()