Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dcommon.h87 #define HFI1_CAP_KSET(cap) ({ hfi1_cap_mask |= HFI1_CAP_##cap; hfi1_cap_mask; })
90 hfi1_cap_mask &= ~HFI1_CAP_##cap; \
91 hfi1_cap_mask; \
95 hfi1_cap_mask |= (HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
96 hfi1_cap_mask; \
100 hfi1_cap_mask &= ~(HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
101 hfi1_cap_mask; \
105 hfi1_cap_mask |= (HFI1_CAP_##cap | (HFI1_CAP_##cap << \
107 hfi1_cap_mask; \
111 hfi1_cap_mask &= ~(HFI1_CAP_##cap | \
[all …]
Dhfi.h105 extern unsigned long hfi1_cap_mask;
109 #define HFI1_CAP_KGET(cap) (HFI1_CAP_KGET_MASK(hfi1_cap_mask, cap))
110 #define HFI1_CAP_UGET(cap) (HFI1_CAP_UGET_MASK(hfi1_cap_mask, cap))
113 #define HFI1_MISC_GET() ((hfi1_cap_mask >> HFI1_CAP_MISC_SHIFT) & \
Ddriver.c90 unsigned long hfi1_cap_mask = HFI1_CAP_MASK_DEFAULT; variable
97 module_param_cb(cap_mask, &cap_ops, &hfi1_cap_mask, S_IWUSR | S_IRUGO);
Dfile_ops.c1007 uctxt->flags = hfi1_cap_mask; /* save current flag state */ in allocate_ctxt()