Searched refs:field_mask (Results 1 – 5 of 5) 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)); \
339 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift, in vgic_sanitise_field() argument342 u64 field = (reg & field_mask) >> field_shift; in vgic_sanitise_field()345 return (reg & ~field_mask) | field; in vgic_sanitise_field()
216 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift,
1792 u32 cx231xx_set_field(u32 field_mask, u32 data) in cx231xx_set_field() argument1796 for (temp = field_mask; (temp & 1) == 0; temp >>= 1) in cx231xx_set_field()
786 u32 cx231xx_set_field(u32 field_mask, u32 data);