Home
last modified time | relevance | path

Searched refs:HFI1_CAP_KGET_MASK (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c44 if (!HFI1_CAP_KGET_MASK(uctxt->flags, MULTI_PKT_EGR)) in hfi1_netdev_setup_ctxt()
46 if (HFI1_CAP_KGET_MASK(uctxt->flags, NODROP_EGR_FULL)) in hfi1_netdev_setup_ctxt()
48 if (HFI1_CAP_KGET_MASK(uctxt->flags, NODROP_RHQ_FULL)) in hfi1_netdev_setup_ctxt()
50 if (HFI1_CAP_KGET_MASK(uctxt->flags, DMA_RTAIL)) in hfi1_netdev_setup_ctxt()
H A Dinit.c718 rcvmask |= HFI1_CAP_KGET_MASK(rcd->flags, DMA_RTAIL) ? in enable_chip()
720 if (!HFI1_CAP_KGET_MASK(rcd->flags, MULTI_PKT_EGR)) in enable_chip()
722 if (HFI1_CAP_KGET_MASK(rcd->flags, NODROP_RHQ_FULL)) in enable_chip()
724 if (HFI1_CAP_KGET_MASK(rcd->flags, NODROP_EGR_FULL)) in enable_chip()
1777 if (HFI1_CAP_KGET_MASK(rcd->flags, DMA_RTAIL) || in hfi1_create_rcvhdrq()
1835 if (!HFI1_CAP_KGET_MASK(rcd->flags, MULTI_PKT_EGR)) in hfi1_setup_eagerbufs()
1874 !HFI1_CAP_KGET_MASK(rcd->flags, MULTI_PKT_EGR)) { in hfi1_setup_eagerbufs()
H A Dhfi.h65 #define HFI1_CAP_KGET_MASK(mask, cap) ((mask) & HFI1_CAP_##cap) macro
68 #define HFI1_CAP_KGET(cap) (HFI1_CAP_KGET_MASK(hfi1_cap_mask, cap))
1487 return !!HFI1_CAP_KGET_MASK(rcd->flags, DMA_RTAIL); in get_dma_rtail_setting()
H A Dfile_ops.c1139 HFI1_CAP_KGET_MASK(uctxt->flags, K2U); in get_ctxt_info()
H A Dchip.c14780 if (HFI1_CAP_KGET_MASK(rcd->flags, ALLOW_PERM_JKEY)) in hfi1_set_ctxt_jkey()