Home
last modified time | relevance | path

Searched refs:hfi1_cap_mask (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dcommon.h94 #define HFI1_CAP_KSET(cap) ({ hfi1_cap_mask |= HFI1_CAP_##cap; hfi1_cap_mask; })
97 hfi1_cap_mask &= ~HFI1_CAP_##cap; \
98 hfi1_cap_mask; \
102 hfi1_cap_mask |= (HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
103 hfi1_cap_mask; \
107 hfi1_cap_mask &= ~(HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
108 hfi1_cap_mask; \
112 hfi1_cap_mask |= (HFI1_CAP_##cap | (HFI1_CAP_##cap << \
114 hfi1_cap_mask; \
118 hfi1_cap_mask &= ~(HFI1_CAP_##cap | \
[all …]
Dhfi.h100 extern unsigned long hfi1_cap_mask;
104 #define HFI1_CAP_KGET(cap) (HFI1_CAP_KGET_MASK(hfi1_cap_mask, cap))
105 #define HFI1_CAP_UGET(cap) (HFI1_CAP_UGET_MASK(hfi1_cap_mask, cap))
108 #define HFI1_MISC_GET() ((hfi1_cap_mask >> HFI1_CAP_MISC_SHIFT) & \
Ddriver.c88 unsigned long hfi1_cap_mask = HFI1_CAP_MASK_DEFAULT; variable
95 module_param_cb(cap_mask, &cap_ops, &hfi1_cap_mask, S_IWUSR | S_IRUGO);
Dfile_ops.c996 uctxt->flags = hfi1_cap_mask; /* save current flag state */ in allocate_ctxt()