Lines Matching defs:width
66 u8 width;
511 cpuid_feature_extract_signed_field_width(u64 features, int field, int width)
513 return (s64)(features << (64 - width - field)) >> (64 - width);
523 cpuid_feature_extract_unsigned_field_width(u64 features, int field, int width)
525 return (u64)(features << (64 - width - field)) >> (64 - width);
559 return (u64)GENMASK(ftrp->shift + ftrp->width - 1, ftrp->shift);
568 cpuid_feature_extract_field_width(u64 features, int field, int width, bool sign)
570 if (WARN_ON_ONCE(!width))
571 width = 4;
573 cpuid_feature_extract_signed_field_width(features, field, width) :
574 cpuid_feature_extract_unsigned_field_width(features, field, width);
585 return (s64)cpuid_feature_extract_field_width(val, ftrp->shift, ftrp->width, ftrp->sign);