Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/kernel/
H A Dsmp-mt.c46 static unsigned int __init smvp_vpe_init(unsigned int tc, unsigned int mvpconf0, in smvp_vpe_init() argument
50 (tc > ((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT))) in smvp_vpe_init()
81 static void __init smvp_tc_init(unsigned int tc, unsigned int mvpconf0) in smvp_tc_init() argument
90 if (tc >= (((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT)+1)) in smvp_tc_init()
91 write_tc_c0_tcbind(read_tc_c0_tcbind() | ((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT)); in smvp_tc_init()
186 unsigned int mvpconf0, ntc, tc, ncpu = 0; in vsmp_smp_setup() local
204 mvpconf0 = read_c0_mvpconf0(); in vsmp_smp_setup()
205 ntc = (mvpconf0 & MVPCONF0_PTC) >> MVPCONF0_PTC_SHIFT; in vsmp_smp_setup()
207 nvpe = ((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT) + 1; in vsmp_smp_setup()
215 smvp_tc_init(tc, mvpconf0); in vsmp_smp_setup()
[all …]
H A Dmips-mt.c54 unsigned long mvpconf0; in mips_mt_regdump() local
68 printk(" MVPConf0 : %08lx\n", (mvpconf0 = read_c0_mvpconf0())); in mips_mt_regdump()
69 nvpe = ((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT) + 1; in mips_mt_regdump()
70 ntc = ((mvpconf0 & MVPCONF0_PTC) >> MVPCONF0_PTC_SHIFT) + 1; in mips_mt_regdump()