Home
last modified time | relevance | path

Searched refs:ftrp (Results 1 – 2 of 2) sorted by relevance

/linux/arch/arm64/include/asm/
A Dcpufeature.h566 static inline u64 arm64_ftr_mask(const struct arm64_ftr_bits *ftrp) in arm64_ftr_mask() argument
568 return (u64)GENMASK(ftrp->shift + ftrp->width - 1, ftrp->shift); in arm64_ftr_mask()
590 static inline s64 arm64_ftr_value(const struct arm64_ftr_bits *ftrp, u64 val) in arm64_ftr_value() argument
592 return (s64)cpuid_feature_extract_field_width(val, ftrp->shift, ftrp->width, ftrp->sign); in arm64_ftr_value()
/linux/arch/arm64/kernel/
A Dcpufeature.c726 switch (ftrp->type) { in arm64_ftr_safe_value()
728 ret = ftrp->safe_val; in arm64_ftr_safe_value()
816 for (ftrp = reg->ftr_bits; ftrp->width; ftrp++) { in init_cpu_ftr_reg()
843 ftrp->shift + ftrp->width - 1, in init_cpu_ftr_reg()
849 ftrp->shift + ftrp->width - 1, in init_cpu_ftr_reg()
850 ftrp->shift); in init_cpu_ftr_reg()
856 if (!ftrp->strict) in init_cpu_ftr_reg()
858 if (ftrp->visible) in init_cpu_ftr_reg()
971 for (ftrp = reg->ftr_bits; ftrp->width; ftrp++) { in update_cpu_ftr_reg()
1007 for (ftrp = regp->ftr_bits; ftrp->width; ftrp++) { in relax_cpu_ftr_reg()
[all …]

Completed in 10 milliseconds