Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Dcpu.c35 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()
/arch/sparc/mm/
Dsrmmu.c1563 unsigned long mod_typ, mod_rev, psr_typ, psr_vers; in get_srmmu_type() local
1572 psr_vers = (psr >> 24) & 0xf; in get_srmmu_type()
1606 if (psr_typ == 0 && psr_vers == 5) { in get_srmmu_type()
1612 if (psr_typ == 0 && psr_vers == 4) { in get_srmmu_type()
1636 ((psr_vers == 0) || in get_srmmu_type()
1637 ((psr_vers == 1) && (mod_typ == 0) && (mod_rev == 0)))) { in get_srmmu_type()
1643 if (psr_typ == 4 && psr_vers == 1 && (mod_typ || mod_rev)) { in get_srmmu_type()