Home
last modified time | relevance | path

Searched refs:cbe_spu_info (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/cell/spufs/
Dsched.c147 mutex_lock(&cbe_spu_info[node].list_mutex); in spu_update_sched_info()
149 mutex_unlock(&cbe_spu_info[node].list_mutex); in spu_update_sched_info()
191 mutex_lock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()
192 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { in do_notify_spus_active()
201 mutex_unlock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()
217 atomic_inc(&cbe_spu_info[spu->node].reserved_spus); in spu_bind_context()
253 BUG_ON(!mutex_is_locked(&cbe_spu_info[spu->node].list_mutex)); in sched_spu()
320 mutex_lock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
321 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { in aff_ref_location()
328 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
[all …]
Dinode.c309 aff_supp = !list_empty(&(list_entry(cbe_spu_info[0].spus.next, in spufs_assert_affinity()
354 if ((cbe_spu_info[node].n_spus - atomic_read( in spufs_assert_affinity()
355 &cbe_spu_info[node].reserved_spus)) >= count) in spufs_assert_affinity()
/Linux-v5.4/arch/powerpc/platforms/cell/
Dspu_base.c36 struct cbe_spu_info cbe_spu_info[MAX_NUMNODES]; variable
37 EXPORT_SYMBOL_GPL(cbe_spu_info);
595 mutex_lock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
596 list_add(&spu->cbe_list, &cbe_spu_info[spu->node].spus); in create_spu()
597 cbe_spu_info[spu->node].n_spus++; in create_spu()
598 mutex_unlock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
758 mutex_init(&cbe_spu_info[i].list_mutex); in init_spu_base()
759 INIT_LIST_HEAD(&cbe_spu_info[i].spus); in init_spu_base()
Dspu_manage.c369 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { in spu_lookup_reg()
416 list_for_each_entry(spu, &cbe_spu_info[cbe].spus, cbe_list) in devnode_spu()
430 list_for_each_entry(spu, &cbe_spu_info[cbe].spus, cbe_list) { in neighbour_spu()
451 last_spu = list_first_entry(&cbe_spu_info[cbe].spus, struct spu, in init_affinity_node()
454 for (added = 1; added < cbe_spu_info[cbe].n_spus; added++) { in init_affinity_node()
Dcpufreq_spudemand.c37 busy_spus = atomic_read(&cbe_spu_info[cpu_to_node(cpu)].busy_spus); in calc_freq()
/Linux-v5.4/arch/powerpc/include/asm/
Dspu.h179 struct cbe_spu_info { struct
188 extern struct cbe_spu_info cbe_spu_info[]; argument