Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/cell/spufs/
Dsched.c160 mutex_lock(&cbe_spu_info[node].list_mutex); in spu_update_sched_info()
162 mutex_unlock(&cbe_spu_info[node].list_mutex); in spu_update_sched_info()
204 mutex_lock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()
205 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { in do_notify_spus_active()
214 mutex_unlock(&cbe_spu_info[node].list_mutex); in do_notify_spus_active()
230 atomic_inc(&cbe_spu_info[spu->node].reserved_spus); in spu_bind_context()
266 BUG_ON(!mutex_is_locked(&cbe_spu_info[spu->node].list_mutex)); in sched_spu()
333 mutex_lock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
334 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { in aff_ref_location()
341 mutex_unlock(&cbe_spu_info[node].list_mutex); in aff_ref_location()
[all …]
Dinode.c327 aff_supp = !list_empty(&(list_entry(cbe_spu_info[0].spus.next, in spufs_assert_affinity()
372 if ((cbe_spu_info[node].n_spus - atomic_read( in spufs_assert_affinity()
373 &cbe_spu_info[node].reserved_spus)) >= count) in spufs_assert_affinity()
/Linux-v4.19/arch/powerpc/platforms/cell/
Dspu_base.c49 struct cbe_spu_info cbe_spu_info[MAX_NUMNODES]; variable
50 EXPORT_SYMBOL_GPL(cbe_spu_info);
608 mutex_lock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
609 list_add(&spu->cbe_list, &cbe_spu_info[spu->node].spus); in create_spu()
610 cbe_spu_info[spu->node].n_spus++; in create_spu()
611 mutex_unlock(&cbe_spu_info[spu->node].list_mutex); in create_spu()
771 mutex_init(&cbe_spu_info[i].list_mutex); in init_spu_base()
772 INIT_LIST_HEAD(&cbe_spu_info[i].spus); in init_spu_base()
Dspu_manage.c394 list_for_each_entry(spu, &cbe_spu_info[node].spus, cbe_list) { in spu_lookup_reg()
441 list_for_each_entry(spu, &cbe_spu_info[cbe].spus, cbe_list) in devnode_spu()
455 list_for_each_entry(spu, &cbe_spu_info[cbe].spus, cbe_list) { in neighbour_spu()
477 last_spu = list_first_entry(&cbe_spu_info[cbe].spus, struct spu, in init_affinity_node()
480 for (added = 1; added < cbe_spu_info[cbe].n_spus; added++) { in init_affinity_node()
Dcpufreq_spudemand.c50 busy_spus = atomic_read(&cbe_spu_info[cpu_to_node(cpu)].busy_spus); in calc_freq()
/Linux-v4.19/arch/powerpc/include/asm/
Dspu.h192 struct cbe_spu_info { struct
201 extern struct cbe_spu_info cbe_spu_info[]; argument