Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dcommon.h34 #define HFI1_CAP_USER_SHIFT 24 macro
35 #define HFI1_CAP_MASK ((1UL << HFI1_CAP_USER_SHIFT) - 1)
41 #define HFI1_CAP_MISC_SHIFT (HFI1_CAP_USER_SHIFT * 2)
53 hfi1_cap_mask |= (HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
58 hfi1_cap_mask &= ~(HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \
64 HFI1_CAP_USER_SHIFT)); \
70 (HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT)); \
105 HFI1_CAP_USER_SHIFT)
127 HFI1_CAP_USER_SHIFT))
Ddriver.c74 write_mask = ((HFI1_CAP_WRITABLE_MASK << HFI1_CAP_USER_SHIFT) | in hfi1_caps_set()
99 diff = (cap_mask & (HFI1_CAP_MUST_HAVE_KERN << HFI1_CAP_USER_SHIFT)) ^ in hfi1_caps_set()
100 ((cap_mask & HFI1_CAP_MUST_HAVE_KERN) << HFI1_CAP_USER_SHIFT); in hfi1_caps_set()
113 cap_mask |= ((cap_mask & HFI1_CAP_K2U) << HFI1_CAP_USER_SHIFT); in hfi1_caps_get()
Dfile_ops.c1106 HFI1_CAP_MISC_MASK) << HFI1_CAP_USER_SHIFT) | in get_ctxt_info()
Dhfi.h67 (((mask) >> HFI1_CAP_USER_SHIFT) & HFI1_CAP_##cap)