Home
last modified time | relevance | path

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

/linux-4.1.27/arch/sparc/kernel/
Dcpu.c34 int psr_vers; member
54 { .psr_vers = ver, .name = _name }
57 { .psr_vers = ver, .name = _name, .pmu_name = _pmu_name }
262 static void __init set_cpu_and_fpu(int psr_impl, int psr_vers, int fpu_vers) in set_cpu_and_fpu() argument
285 while (cpu->psr_vers != -1) in set_cpu_and_fpu()
287 if (cpu->psr_vers == psr_vers) { in set_cpu_and_fpu()
308 psr_impl, psr_vers); in set_cpu_and_fpu()
441 int psr_impl, psr_vers, fpu_vers; in cpu_type_probe() local
445 psr_vers = ((get_psr() >> PSR_VERS_SHIFT) & PSR_VERS_SHIFTED_MASK); in cpu_type_probe()
457 set_cpu_and_fpu(psr_impl, psr_vers, fpu_vers); in cpu_type_probe()
/linux-4.1.27/arch/sparc/mm/
Dsrmmu.c1531 unsigned long mod_typ, mod_rev, psr_typ, psr_vers; in get_srmmu_type() local
1540 psr_vers = (psr >> 24) & 0xf; in get_srmmu_type()
1574 if (psr_typ == 0 && psr_vers == 5) { in get_srmmu_type()
1580 if (psr_typ == 0 && psr_vers == 4) { in get_srmmu_type()
1604 ((psr_vers == 0) || in get_srmmu_type()
1605 ((psr_vers == 1) && (mod_typ == 0) && (mod_rev == 0)))) { in get_srmmu_type()
1611 if (psr_typ == 4 && psr_vers == 1 && (mod_typ || mod_rev)) { in get_srmmu_type()