Lines Matching full:vpe
15 #include <asm/vpe.h>
27 struct vpe *vpe = get_vpe(aprp_cpu_index()); in store_kill() local
30 list_for_each_entry(notifier, &vpe->notify, list) in store_kill()
33 release_progmem(vpe->load_addr); in store_kill()
34 vpe->state = VPE_STATE_UNUSED; in store_kill()
43 struct vpe *vpe = get_vpe(aprp_cpu_index()); in ntcs_show() local
45 return sprintf(buf, "%d\n", vpe->ntcs); in ntcs_show()
51 struct vpe *vpe = get_vpe(aprp_cpu_index()); in ntcs_store() local
59 /* APRP can only reserve one TC in a VPE and no more. */ in ntcs_store()
63 vpe->ntcs = new; in ntcs_store()
74 ATTRIBUTE_GROUPS(vpe);
82 .name = "vpe",
92 struct vpe *v = NULL; in vpe_module_init()
97 pr_warn("VPE loader: not a MIPS MT capable processor\n"); in vpe_module_init()
102 pr_warn("No VPEs reserved for AP/SP, not initialize VPE loader\n" in vpe_module_init()
109 pr_warn("VPE loader: unable to register character device\n"); in vpe_module_init()
132 pr_warn("VPE: unable to allocate TC\n"); in vpe_module_init()
137 /* VPE */ in vpe_module_init()
140 pr_warn("VPE: unable to allocate VPE\n"); in vpe_module_init()
148 /* add the tc to the list of this vpe's tc's. */ in vpe_module_init()
152 t->pvpe = v; /* set the parent vpe */ in vpe_module_init()
170 struct vpe *v, *n; in vpe_module_exit()