Searched refs:psr_vers (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/arch/sparc/kernel/ |
D | cpu.c | 35 int psr_vers; member 55 { .psr_vers = ver, .name = _name } 58 { .psr_vers = ver, .name = _name, .pmu_name = _pmu_name } 263 static void __init set_cpu_and_fpu(int psr_impl, int psr_vers, int fpu_vers) in set_cpu_and_fpu() argument 286 while (cpu->psr_vers != -1) in set_cpu_and_fpu() 288 if (cpu->psr_vers == psr_vers) { in set_cpu_and_fpu() 309 psr_impl, psr_vers); in set_cpu_and_fpu() 442 int psr_impl, psr_vers, fpu_vers; in cpu_type_probe() local 446 psr_vers = ((get_psr() >> PSR_VERS_SHIFT) & PSR_VERS_SHIFTED_MASK); in cpu_type_probe() 458 set_cpu_and_fpu(psr_impl, psr_vers, fpu_vers); in cpu_type_probe()
|
/Linux-v6.6/arch/sparc/mm/ |
D | srmmu.c | 1547 unsigned long mod_typ, mod_rev, psr_typ, psr_vers; in get_srmmu_type() local 1556 psr_vers = (psr >> 24) & 0xf; in get_srmmu_type() 1590 if (psr_typ == 0 && psr_vers == 5) { in get_srmmu_type() 1596 if (psr_typ == 0 && psr_vers == 4) { in get_srmmu_type() 1620 ((psr_vers == 0) || in get_srmmu_type() 1621 ((psr_vers == 1) && (mod_typ == 0) && (mod_rev == 0)))) { in get_srmmu_type() 1627 if (psr_typ == 4 && psr_vers == 1 && (mod_typ || mod_rev)) { in get_srmmu_type()
|