Searched refs:psr_vers (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/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-6.1.9/arch/sparc/mm/ |
D | srmmu.c | 1546 unsigned long mod_typ, mod_rev, psr_typ, psr_vers; in get_srmmu_type() local 1555 psr_vers = (psr >> 24) & 0xf; in get_srmmu_type() 1589 if (psr_typ == 0 && psr_vers == 5) { in get_srmmu_type() 1595 if (psr_typ == 0 && psr_vers == 4) { in get_srmmu_type() 1619 ((psr_vers == 0) || in get_srmmu_type() 1620 ((psr_vers == 1) && (mod_typ == 0) && (mod_rev == 0)))) { in get_srmmu_type() 1626 if (psr_typ == 4 && psr_vers == 1 && (mod_typ || mod_rev)) { in get_srmmu_type()
|