Home
last modified time | relevance | path

Searched refs:field_mask (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/include/linux/
Dbitfield.h117 static __always_inline u64 field_mask(u64 field) in field_mask() function
124 if (__builtin_constant_p(v) && (v & ~field_mask(field))) \
126 return to((v & field_mask(field)) * field_multiplier(field)); \
/linux-4.19.296/virt/kvm/arm/vgic/
Dvgic-mmio.h216 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift,
Dvgic-mmio-v3.c356 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift, in vgic_sanitise_field() argument
359 u64 field = (reg & field_mask) >> field_shift; in vgic_sanitise_field()
362 return (reg & ~field_mask) | field; in vgic_sanitise_field()