Searched refs:arm64_ftr_reg (Results 1 – 2 of 2) sorted by relevance
247 static struct arm64_ftr_reg arm64_ftr_regs[] = {298 return (int)(unsigned long)id - (int)((const struct arm64_ftr_reg *)regp)->sys_id; in search_cmp_ftr_reg()311 static struct arm64_ftr_reg *get_arm64_ftr_reg(u32 sys_id) in get_arm64_ftr_reg()352 return ((const struct arm64_ftr_reg *)a)->sys_id - in sort_cmp_ftr_regs()353 ((const struct arm64_ftr_reg *)b)->sys_id; in sort_cmp_ftr_regs()358 struct arm64_ftr_reg tmp = *(struct arm64_ftr_reg *)a; in swap_ftr_regs()359 *(struct arm64_ftr_reg *)a = *(struct arm64_ftr_reg *)b; in swap_ftr_regs()360 *(struct arm64_ftr_reg *)b = tmp; in swap_ftr_regs()382 struct arm64_ftr_reg *reg = get_arm64_ftr_reg(sys_reg); in init_cpu_ftr_reg()431 static void update_cpu_ftr_reg(struct arm64_ftr_reg *reg, u64 new) in update_cpu_ftr_reg()[all …]
67 struct arm64_ftr_reg { struct