Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/oprofile/cell/
Dspu_task_sync.c160 static struct cached_info *get_cached_info(struct spu *the_spu, int spu_num) in get_cached_info() argument
165 if (spu_num >= num_spu_nodes) { in get_cached_info()
168 __func__, __LINE__, spu_num); in get_cached_info()
172 if (!spu_info[spu_num] && the_spu) { in get_cached_info()
175 spu_info[spu_num] = container_of(ref, struct cached_info, cache_ref); in get_cached_info()
176 kref_get(&spu_info[spu_num]->cache_ref); in get_cached_info()
180 ret_info = spu_info[spu_num]; in get_cached_info()
555 void spu_sync_buffer(int spu_num, unsigned int *samples, in spu_sync_buffer() argument
563 unsigned long long spu_num_ll = spu_num; in spu_sync_buffer()
573 c_info = get_cached_info(NULL, spu_num); in spu_sync_buffer()
[all …]
Dspu_profiler.c140 int cpu, node, k, num_samples, spu_num; in profile_spus() local
170 spu_num = k + (node * SPUS_PER_NODE); in profile_spus()
171 spu_sync_buffer(spu_num, in profile_spus()
Dpr_util.h109 void spu_sync_buffer(int spu_num, unsigned int *samples,
/Linux-v4.19/arch/powerpc/oprofile/
Dop_model_cell.c1493 int spu_num; in cell_handle_interrupt_spu() local
1560 spu_num = spu_evnt_phys_spu_indx in cell_handle_interrupt_spu()
1568 spu_sync_buffer(spu_num, &sample, 1); in cell_handle_interrupt_spu()