Lines Matching refs:SYM_MASK
187 #define SYM_MASK(regname, fldname) ((u64) \ macro
194 #define ERR_MASK(fldname) SYM_MASK(ErrMask, fldname##Mask)
195 #define HWE_MASK(fldname) SYM_MASK(HwErrMask, fldname##Mask)
786 set_sendctrl |= SYM_MASK(SendCtrl, SDmaEnable); in qib_7220_sdma_sendctrl()
788 clr_sendctrl |= SYM_MASK(SendCtrl, SDmaEnable); in qib_7220_sdma_sendctrl()
791 set_sendctrl |= SYM_MASK(SendCtrl, SDmaIntEnable); in qib_7220_sdma_sendctrl()
793 clr_sendctrl |= SYM_MASK(SendCtrl, SDmaIntEnable); in qib_7220_sdma_sendctrl()
796 set_sendctrl |= SYM_MASK(SendCtrl, SDmaHalt); in qib_7220_sdma_sendctrl()
798 clr_sendctrl |= SYM_MASK(SendCtrl, SDmaHalt); in qib_7220_sdma_sendctrl()
1668 diagc | SYM_MASK(HwDiagCtrl, CounterWrEnable)); in qib_7220_quiet_serdes()
1753 extctl = dd->cspec->extctrl & ~(SYM_MASK(EXTCtrl, LEDPriPortGreenOn) | in qib_setup_7220_setextled()
1754 SYM_MASK(EXTCtrl, LEDPriPortYellowOn)); in qib_setup_7220_setextled()
1756 extctl |= SYM_MASK(EXTCtrl, LEDPriPortGreenOn); in qib_setup_7220_setextled()
1766 extctl |= SYM_MASK(EXTCtrl, LEDPriPortYellowOn); in qib_setup_7220_setextled()
1834 if (!(dd->sendctrl & SYM_MASK(SendCtrl, SendBufAvailUpd))) in qib_wantpiobuf_7220_intr()
1842 ~SYM_MASK(SendCtrl, SendBufAvailUpd)); in qib_wantpiobuf_7220_intr()
1844 dd->sendctrl |= SYM_MASK(SendCtrl, SendIntBufAvail); in qib_wantpiobuf_7220_intr()
1846 dd->sendctrl &= ~SYM_MASK(SendCtrl, SendIntBufAvail); in qib_wantpiobuf_7220_intr()
2380 SYM_MASK(IBCCtrl, LinkDownDefaultState)) ? in qib_7220_get_ib_cfg()
2505 ~SYM_MASK(IBCCtrl, OverrunThreshold); in qib_7220_set_ib_cfg()
2518 ~SYM_MASK(IBCCtrl, PhyerrThreshold); in qib_7220_set_ib_cfg()
2537 ~SYM_MASK(IBCCtrl, LinkDownDefaultState); in qib_7220_set_ib_cfg()
2540 SYM_MASK(IBCCtrl, LinkDownDefaultState); in qib_7220_set_ib_cfg()
2554 ppd->cpspec->ibcctrl &= ~SYM_MASK(IBCCtrl, MaxPktLen); in qib_7220_set_ib_cfg()
2676 ppd->cpspec->ibcctrl |= SYM_MASK(IBCCtrl, Loopback); in qib_7220_set_loopback()
2681 ppd->cpspec->ibcctrl &= ~SYM_MASK(IBCCtrl, Loopback); in qib_7220_set_loopback()
2827 dd->sendctrl &= ~SYM_MASK(SendCtrl, SPioEnable); in sendctrl_7220_mod()
2829 dd->sendctrl |= SYM_MASK(SendCtrl, SPioEnable); in sendctrl_7220_mod()
2831 dd->sendctrl |= SYM_MASK(SendCtrl, in sendctrl_7220_mod()
2835 dd->sendctrl &= ~SYM_MASK(SendCtrl, SendBufAvailUpd); in sendctrl_7220_mod()
2837 dd->sendctrl |= SYM_MASK(SendCtrl, SendBufAvailUpd); in sendctrl_7220_mod()
2849 ~(SYM_MASK(SendCtrl, SPioEnable) | in sendctrl_7220_mod()
2850 SYM_MASK(SendCtrl, SendBufAvailUpd)); in sendctrl_7220_mod()
2854 SYM_MASK(SendCtrl, Disarm) | i); in sendctrl_7220_mod()
2862 tmp_dd_sendctrl |= SYM_MASK(SendCtrl, Abort); in sendctrl_7220_mod()
2864 tmp_dd_sendctrl |= SYM_MASK(SendCtrl, Disarm) | in sendctrl_7220_mod()
2868 (dd->sendctrl & SYM_MASK(SendCtrl, SendBufAvailUpd))) in sendctrl_7220_mod()
2869 tmp_dd_sendctrl &= ~SYM_MASK(SendCtrl, SendBufAvailUpd); in sendctrl_7220_mod()
3851 #define SENDCTRL_SHADOWED (SYM_MASK(SendCtrl, SendIntBufAvail) | \
3852 SYM_MASK(SendCtrl, SPioEnable) | \
3853 SYM_MASK(SendCtrl, SSpecialTriggerEn) | \
3854 SYM_MASK(SendCtrl, SendBufAvailUpd) | \
3855 SYM_MASK(SendCtrl, AvailUpdThld) | \
3856 SYM_MASK(SendCtrl, SDmaEnable) | \
3857 SYM_MASK(SendCtrl, SDmaIntEnable) | \
3858 SYM_MASK(SendCtrl, SDmaHalt) | \
3859 SYM_MASK(SendCtrl, SDmaSingleDescriptor))
4314 return (hwstatus & SYM_MASK(SendDmaStatus, ScoreBoardDrainInProg)) || in qib_sdma_7220_busy()
4315 (hwstatus & SYM_MASK(SendDmaStatus, AbortInProg)) || in qib_sdma_7220_busy()
4316 (hwstatus & SYM_MASK(SendDmaStatus, InternalSDmaEnable)) || in qib_sdma_7220_busy()
4317 !(hwstatus & SYM_MASK(SendDmaStatus, ScbEmpty)); in qib_sdma_7220_busy()
4381 dd->sendctrl &= ~SYM_MASK(SendCtrl, AvailUpdThld); in qib_7220_txchk_change()
4395 dd->sendctrl &= ~SYM_MASK(SendCtrl, AvailUpdThld); in qib_7220_txchk_change()