Searched refs:ftrp (Results 1 - 3 of 3) sorted by relevance

/linux-master/arch/arm64/include/asm/
H A Dcpufeature.h550 static inline u64 arm64_ftr_mask(const struct arm64_ftr_bits *ftrp) argument
552 return (u64)GENMASK(ftrp->shift + ftrp->width - 1, ftrp->shift);
576 static inline s64 arm64_ftr_value(const struct arm64_ftr_bits *ftrp, u64 val) argument
578 return (s64)cpuid_feature_extract_field_width(val, ftrp->shift, ftrp->width, ftrp->sign);
912 s64 arm64_ftr_safe_value(const struct arm64_ftr_bits *ftrp, s64 new, s64 cur);
/linux-master/arch/arm64/kernel/
H A Dcpufeature.c865 static u64 arm64_ftr_set_value(const struct arm64_ftr_bits *ftrp, s64 reg, argument
868 u64 mask = arm64_ftr_mask(ftrp);
871 reg |= (ftr_val << ftrp->shift) & mask;
875 s64 arm64_ftr_safe_value(const struct arm64_ftr_bits *ftrp, s64 new, argument
880 switch (ftrp->type) {
882 ret = ftrp->safe_val;
964 const struct arm64_ftr_bits *ftrp; local
970 for (ftrp = reg->ftr_bits; ftrp->width; ftrp
1169 const struct arm64_ftr_bits *ftrp; local
1201 const struct arm64_ftr_bits *ftrp; local
[all...]
/linux-master/arch/arm64/kvm/
H A Dsys_regs.c1412 static s64 kvm_arm64_ftr_safe_value(u32 id, const struct arm64_ftr_bits *ftrp, argument
1415 struct arm64_ftr_bits kvm_ftr = *ftrp;
1455 const struct arm64_ftr_bits *ftrp = NULL; local
1473 ftrp = ftr_reg->ftr_bits;
1475 for (; ftrp && ftrp->width; ftrp++) {
1479 ftr_mask = arm64_ftr_mask(ftrp);
1483 f_val = arm64_ftr_value(ftrp, val);
1484 f_lim = arm64_ftr_value(ftrp, limi
[all...]

Completed in 153 milliseconds