Searched refs:HFI1_CAP_USER_SHIFT (Results 1 – 4 of 4) sorted by relevance
83 #define HFI1_CAP_USER_SHIFT 24 macro84 #define HFI1_CAP_MASK ((1UL << HFI1_CAP_USER_SHIFT) - 1)90 #define HFI1_CAP_MISC_SHIFT (HFI1_CAP_USER_SHIFT * 2)102 hfi1_cap_mask |= (HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \107 hfi1_cap_mask &= ~(HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT); \113 HFI1_CAP_USER_SHIFT)); \119 (HFI1_CAP_##cap << HFI1_CAP_USER_SHIFT)); \150 HFI1_CAP_USER_SHIFT)171 HFI1_CAP_USER_SHIFT))
119 write_mask = ((HFI1_CAP_WRITABLE_MASK << HFI1_CAP_USER_SHIFT) | in hfi1_caps_set()144 diff = (cap_mask & (HFI1_CAP_MUST_HAVE_KERN << HFI1_CAP_USER_SHIFT)) ^ in hfi1_caps_set()145 ((cap_mask & HFI1_CAP_MUST_HAVE_KERN) << HFI1_CAP_USER_SHIFT); in hfi1_caps_set()158 cap_mask |= ((cap_mask & HFI1_CAP_K2U) << HFI1_CAP_USER_SHIFT); in hfi1_caps_get()
1135 HFI1_CAP_MISC_MASK) << HFI1_CAP_USER_SHIFT) | in get_ctxt_info()
103 (((mask) >> HFI1_CAP_USER_SHIFT) & HFI1_CAP_##cap)