Searched refs:HFI1_CAP_USER_SHIFT (Results 1 – 4 of 4) sorted by relevance
34 #define HFI1_CAP_USER_SHIFT 24 macro35 #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))
74 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()
1106 HFI1_CAP_MISC_MASK) << HFI1_CAP_USER_SHIFT) | in get_ctxt_info()
67 (((mask) >> HFI1_CAP_USER_SHIFT) & HFI1_CAP_##cap)