Lines Matching +full:max +full:- +full:cur
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
14 unsigned int cur, next, i; in percpu_print() local
17 seq_printf(m, "C-SKY CPU model : %s\n", CSKYCPU_DEF_NAME); in percpu_print()
19 /* read processor id, max is 100 */ in percpu_print()
20 cur = mfcr("cr13"); in percpu_print()
22 seq_printf(m, "product info[%d] : 0x%08x\n", i, cur); in percpu_print()
27 if (cur == next) in percpu_print()
30 cur = next; in percpu_print()
32 /* cpid index is 31-28, reset */ in percpu_print()
54 seq_printf(m, "arch-version : %s\n", CSKY_ARCH_VERSION); in c_show()