Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Dcommon.h76 #define HFI1_CAP_USER_SHIFT 24 macro
77 #define HFI1_CAP_MASK ((1UL << HFI1_CAP_USER_SHIFT) - 1)
83 #define HFI1_CAP_MISC_SHIFT (HFI1_CAP_USER_SHIFT * 2)
95 hfi1_cap_mask |= (HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
100 hfi1_cap_mask &= ~(HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
106 HFI1_CAP_USER_SHIFT)); \
112 (HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT)); \
147 HFI1_CAP_USER_SHIFT)
169 HFI1_CAP_USER_SHIFT))
Ddriver.c121 write_mask = ((HFI1_CAP_WRITABLE_MASK << HFI1_CAP_USER_SHIFT) | in hfi1_caps_set()
146 diff = (cap_mask & (HFI1_CAP_MUST_HAVE_KERN << HFI1_CAP_USER_SHIFT)) ^ in hfi1_caps_set()
147 ((cap_mask & HFI1_CAP_MUST_HAVE_KERN) << HFI1_CAP_USER_SHIFT); in hfi1_caps_set()
160 cap_mask |= ((cap_mask & HFI1_CAP_K2U) << HFI1_CAP_USER_SHIFT); in hfi1_caps_get()
Dfile_ops.c1147 HFI1_CAP_MISC_MASK) << HFI1_CAP_USER_SHIFT) | in get_ctxt_info()
Dhfi.h108 (((mask) >> HFI1_CAP_USER_SHIFT) & HFI1_CAP_##cap)