Searched refs:field_mask (Results 1 – 3 of 3) sorted by relevance
117 static __always_inline u64 field_mask(u64 field) in field_mask() function124 if (__builtin_constant_p(v) && (v & ~field_mask(field))) \126 return to((v & field_mask(field)) * field_multiplier(field)); \
216 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift,
356 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift, in vgic_sanitise_field() argument359 u64 field = (reg & field_mask) >> field_shift; in vgic_sanitise_field()362 return (reg & ~field_mask) | field; in vgic_sanitise_field()