Lines Matching refs:regp
443 static int search_cmp_ftr_reg(const void *id, const void *regp) in search_cmp_ftr_reg() argument
445 return (int)(unsigned long)id - (int)((const struct __ftr_reg_entry *)regp)->sys_id; in search_cmp_ftr_reg()
661 struct arm64_ftr_reg *regp = get_arm64_ftr_reg(sys_id); in check_update_ftr_reg() local
663 BUG_ON(!regp); in check_update_ftr_reg()
664 update_cpu_ftr_reg(regp, val); in check_update_ftr_reg()
665 if ((boot & regp->strict_mask) == (val & regp->strict_mask)) in check_update_ftr_reg()
668 regp->name, boot, cpu, val); in check_update_ftr_reg()
813 struct arm64_ftr_reg *regp = get_arm64_ftr_reg(id); in read_sanitised_ftr_reg() local
816 BUG_ON(!regp); in read_sanitised_ftr_reg()
817 return regp->sys_val; in read_sanitised_ftr_reg()
2256 struct arm64_ftr_reg *regp; in emulate_sys_reg() local
2264 regp = get_arm64_ftr_reg(id); in emulate_sys_reg()
2265 if (regp) in emulate_sys_reg()
2266 *valp = arm64_ftr_reg_user_value(regp); in emulate_sys_reg()