Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dcommon.h45 #define HFI1_CAP_KSET(cap) ({ hfi1_cap_mask |= HFI1_CAP_##cap; hfi1_cap_mask; })
48 hfi1_cap_mask &= ~HFI1_CAP_##cap; \
49 hfi1_cap_mask; \
53 hfi1_cap_mask |= (HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
54 hfi1_cap_mask; \
58 hfi1_cap_mask &= ~(HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
59 hfi1_cap_mask; \
63 hfi1_cap_mask |= (HFI1_CAP_##cap | (HFI1_CAP_##cap << \
65 hfi1_cap_mask; \
69 hfi1_cap_mask &= ~(HFI1_CAP_##cap | \
[all …]
Dhfi.h64 extern unsigned long hfi1_cap_mask;
68 #define HFI1_CAP_KGET(cap) (HFI1_CAP_KGET_MASK(hfi1_cap_mask, cap))
69 #define HFI1_CAP_UGET(cap) (HFI1_CAP_UGET_MASK(hfi1_cap_mask, cap))
72 #define HFI1_MISC_GET() ((hfi1_cap_mask >> HFI1_CAP_MISC_SHIFT) & \
Ddriver.c43 unsigned long hfi1_cap_mask = HFI1_CAP_MASK_DEFAULT; variable
50 module_param_cb(cap_mask, &cap_ops, &hfi1_cap_mask, S_IWUSR | S_IRUGO);
Dfile_ops.c966 uctxt->flags = hfi1_cap_mask; /* save current flag state */ in allocate_ctxt()