Home
last modified time | relevance | path

Searched refs:vpe (Results 1 – 15 of 15) sorted by relevance

/arch/mips/lantiq/
Dirq.c49 #define ltq_icu_w32(vpe, m, x, y) \ argument
50 ltq_w32((x), ltq_icu_membase[vpe] + m*LTQ_ICU_IM_SIZE + (y))
52 #define ltq_icu_r32(vpe, m, x) \ argument
53 ltq_r32(ltq_icu_membase[vpe] + m*LTQ_ICU_IM_SIZE + (x))
82 int vpe; in ltq_disable_irq() local
87 for_each_present_cpu(vpe) { in ltq_disable_irq()
88 ltq_icu_w32(vpe, im, in ltq_disable_irq()
89 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_disable_irq()
100 int vpe; in ltq_mask_and_ack_irq() local
105 for_each_present_cpu(vpe) { in ltq_mask_and_ack_irq()
[all …]
/arch/mips/kernel/
Dvpe-cmp.c27 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
63 vpe->ntcs = new; in ntcs_store()
74 ATTRIBUTE_GROUPS(vpe);
92 struct vpe *v = NULL; in vpe_module_init()
[all …]
Dvpe-mt.c26 int vpe_run(struct vpe *v) in vpe_run()
181 struct vpe *v; in vpe_alloc()
196 int vpe_start(void *vpe, unsigned long start) in vpe_start() argument
198 struct vpe *v = vpe; in vpe_start()
206 int vpe_stop(void *vpe) in vpe_stop() argument
208 struct vpe *v = vpe; in vpe_stop()
227 int vpe_free(void *vpe) in vpe_free() argument
229 struct vpe *v = vpe; in vpe_free()
264 struct vpe *vpe = get_vpe(aprp_cpu_index()); in store_kill() local
267 list_for_each_entry(notifier, &vpe->notify, list) in store_kill()
[all …]
Dvpe.c53 struct vpe *get_vpe(int minor) in get_vpe()
55 struct vpe *res, *v; in get_vpe()
92 struct vpe *alloc_vpe(int minor) in alloc_vpe()
94 struct vpe *v; in alloc_vpe()
96 v = kzalloc(sizeof(struct vpe), GFP_KERNEL); in alloc_vpe()
133 void release_vpe(struct vpe *v) in release_vpe()
550 static int find_vpe_symbols(struct vpe *v, Elf_Shdr *sechdrs, in find_vpe_symbols()
576 static int vpe_elfload(struct vpe *v) in vpe_elfload()
769 struct vpe *v; in vpe_open()
821 struct vpe *v; in vpe_release()
[all …]
DMakefile60 obj-$(CONFIG_MIPS_VPE_LOADER) += vpe.o
61 obj-$(CONFIG_MIPS_VPE_LOADER_CMP) += vpe-cmp.o
62 obj-$(CONFIG_MIPS_VPE_LOADER_MT) += vpe-mt.o
Drtlx.c68 void rtlx_starting(int vpe) in rtlx_starting() argument
81 void rtlx_stopping(int vpe) in rtlx_stopping() argument
Dcpu-probe.c2258 void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe) in cpu_set_vpe_id() argument
2261 WARN_ON(vpe > (MIPS_GLOBALNUMBER_VP >> MIPS_GLOBALNUMBER_VP_SHF)); in cpu_set_vpe_id()
2264 WARN_ON(vpe && !IS_ENABLED(CONFIG_MIPS_MT_SMP) && in cpu_set_vpe_id()
2268 cpuinfo->globalnumber |= vpe << MIPS_GLOBALNUMBER_VP_SHF; in cpu_set_vpe_id()
Dperf_event_mipsxx.c97 #define M_PERFCTL_VPEID(vpe) ((vpe) << MIPS_PERFCTRL_VPEID_S) argument
/arch/mips/include/asm/
Dvpe.h54 struct vpe { struct
88 struct vpe *pvpe; /* parent VPE */ argument
94 void (*start)(int vpe);
95 void (*stop)(int vpe);
116 struct vpe *get_vpe(int minor);
118 struct vpe *alloc_vpe(int minor);
120 void release_vpe(struct vpe *v);
125 int vpe_run(struct vpe *v);
Drtlx.h30 void rtlx_starting(int vpe);
31 void rtlx_stopping(int vpe);
Dsmp-cps.h28 extern void mips_cps_boot_vpes(struct core_boot_config *cfg, unsigned vpe);
Dcpu-info.h170 extern void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe);
/arch/mips/pmcs-msp71xx/
Dmsp_irq_cic.c78 int vpe; in unmask_cic_irq() local
92 vpe = get_current_vpe(); in unmask_cic_irq()
94 cic_msk_reg[vpe] |= (1 << (d->irq - MSP_CIC_INTBASE)); in unmask_cic_irq()
102 int vpe = get_current_vpe(); in mask_cic_irq() local
107 cic_msk_reg[vpe] &= ~(1 << (d->irq - MSP_CIC_INTBASE)); in mask_cic_irq()
/arch/mips/mti-malta/
Dmalta-amon.c76 int vpe_run(struct vpe *v) in vpe_run()
/arch/mips/oprofile/
Dop_model_mipsxx.c20 #define M_PERFCTL_VPEID(vpe) ((vpe) << MIPS_PERFCTRL_VPEID_S) argument