Lines Matching defs:width
62 u8 width;
497 cpuid_feature_extract_signed_field_width(u64 features, int field, int width)
499 return (s64)(features << (64 - width - field)) >> (64 - width);
509 cpuid_feature_extract_unsigned_field_width(u64 features, int field, int width)
511 return (u64)(features << (64 - width - field)) >> (64 - width);
545 return (u64)GENMASK(ftrp->shift + ftrp->width - 1, ftrp->shift);
554 cpuid_feature_extract_field_width(u64 features, int field, int width, bool sign)
557 cpuid_feature_extract_signed_field_width(features, field, width) :
558 cpuid_feature_extract_unsigned_field_width(features, field, width);
569 return (s64)cpuid_feature_extract_field_width(val, ftrp->shift, ftrp->width, ftrp->sign);