Home
last modified time | relevance | path

Searched refs:spu_num (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/arch/powerpc/oprofile/cell/
Dspu_task_sync.c156 static struct cached_info *get_cached_info(struct spu *the_spu, int spu_num) in get_cached_info() argument
161 if (spu_num >= num_spu_nodes) { in get_cached_info()
164 __func__, __LINE__, spu_num); in get_cached_info()
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()
551 void spu_sync_buffer(int spu_num, unsigned int *samples, in spu_sync_buffer() argument
559 unsigned long long spu_num_ll = spu_num; in spu_sync_buffer()
569 c_info = get_cached_info(NULL, spu_num); in spu_sync_buffer()
[all …]
Dspu_profiler.c136 int cpu, node, k, num_samples, spu_num; in profile_spus() local
166 spu_num = k + (node * SPUS_PER_NODE); in profile_spus()
167 spu_sync_buffer(spu_num, in profile_spus()
Dpr_util.h105 void spu_sync_buffer(int spu_num, unsigned int *samples,
/Linux-v5.10/arch/powerpc/oprofile/
Dop_model_cell.c1489 int spu_num; in cell_handle_interrupt_spu() local
1556 spu_num = spu_evnt_phys_spu_indx in cell_handle_interrupt_spu()
1564 spu_sync_buffer(spu_num, &sample, 1); in cell_handle_interrupt_spu()