Home
last modified time | relevance | path

Searched refs:spu_info (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/arch/powerpc/oprofile/cell/
Dspu_task_sync.c140 static struct cached_info *spu_info[MAX_NUMNODES * 8]; variable
168 if (!spu_info[spu_num] && the_spu) { in get_cached_info()
171 spu_info[spu_num] = container_of(ref, struct cached_info, cache_ref); in get_cached_info()
172 kref_get(&spu_info[spu_num]->cache_ref); in get_cached_info()
176 ret_info = spu_info[spu_num]; in get_cached_info()
229 spu_info[spu->number] = info; in prepare_cached_spu_info()
274 if (spu_info[index]) { in release_cached_info()
275 kref_put(&spu_info[index]->cache_ref, in release_cached_info()
277 spu_info[index] = NULL; in release_cached_info()
/Linux-v5.10/arch/powerpc/xmon/
Dxmon.c4054 struct spu_info { struct
4064 static struct spu_info spu_info[XMON_NUM_SPUS]; argument
4076 spu_info[spu->number].spu = spu; in xmon_register_spus()
4077 spu_info[spu->number].stopped_ok = 0; in xmon_register_spus()
4078 spu_info[spu->number].dump_addr = (unsigned long) in xmon_register_spus()
4079 spu_info[spu->number].spu->local_store; in xmon_register_spus()
4090 if (!spu_info[i].spu) in stop_spus()
4097 spu = spu_info[i].spu; in stop_spus()
4099 spu_info[i].saved_spu_runcntl_RW = in stop_spus()
4103 spu_info[i].saved_mfc_sr1_RW = tmp; in stop_spus()
[all …]