Home
last modified time | relevance | path

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

/linux-2.6.39/arch/mips/kernel/
Dsmp-mt.c56 static unsigned int __init smvp_vpe_init(unsigned int tc, unsigned int mvpconf0, in smvp_vpe_init() argument
59 if (tc > ((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT)) in smvp_vpe_init()
87 static void __init smvp_tc_init(unsigned int tc, unsigned int mvpconf0) in smvp_tc_init() argument
96 if (tc >= (((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT)+1)) in smvp_tc_init()
97 write_tc_c0_tcbind(read_tc_c0_tcbind() | ((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT)); in smvp_tc_init()
232 unsigned int mvpconf0, ntc, tc, ncpu = 0; in vsmp_smp_setup() local
250 mvpconf0 = read_c0_mvpconf0(); in vsmp_smp_setup()
251 ntc = (mvpconf0 & MVPCONF0_PTC) >> MVPCONF0_PTC_SHIFT; in vsmp_smp_setup()
253 nvpe = ((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT) + 1; in vsmp_smp_setup()
261 smvp_tc_init(tc, mvpconf0); in vsmp_smp_setup()
[all …]
Dmips-mt.c54 unsigned long mvpconf0; in mips_mt_regdump() local
71 printk(" MVPConf0 : %08lx\n", (mvpconf0 = read_c0_mvpconf0())); in mips_mt_regdump()
72 nvpe = ((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT) + 1; in mips_mt_regdump()
73 ntc = ((mvpconf0 & MVPCONF0_PTC) >> MVPCONF0_PTC_SHIFT) + 1; in mips_mt_regdump()
Dsmp-cmp.c181 unsigned int nvpe, mvpconf0 = read_c0_mvpconf0(); in cmp_smp_setup() local
183 nvpe = ((mvpconf0 & MVPCONF0_PTC) >> MVPCONF0_PTC_SHIFT) + 1; in cmp_smp_setup()
Dsmtc.c197 unsigned long mvpconf0; in smtc_configure_tlb() local
206 mvpconf0 = read_c0_mvpconf0(); in smtc_configure_tlb()
208 if ((vpes = ((mvpconf0 & MVPCONF0_PVPE) in smtc_configure_tlb()
211 if ((mvpconf0 & MVPCONF0_TLBS) && !nostlb) { in smtc_configure_tlb()
218 if ((tlbsiz = ((mvpconf0 & MVPCONF0_PTLBE) in smtc_configure_tlb()
1222 int mvpconf0; in smtc_idle_loop_hook() local
1224 mvpconf0 = read_c0_mvpconf0(); in smtc_idle_loop_hook()
1225 hook_ntcs = ((mvpconf0 & MVPCONF0_PTC) >> MVPCONF0_PTC_SHIFT) + 1; in smtc_idle_loop_hook()