Lines Matching refs:spu_num
159 static struct cached_info *get_cached_info(struct spu *the_spu, int spu_num)
164 if (spu_num >= num_spu_nodes) {
167 __func__, __LINE__, spu_num);
171 if (!spu_info[spu_num] && the_spu) {
174 spu_info[spu_num] = container_of(ref, struct cached_info, cache_ref);
175 kref_get(&spu_info[spu_num]->cache_ref);
179 ret_info = spu_info[spu_num];
561 void spu_sync_buffer(int spu_num, unsigned int *samples,
569 unsigned long long spu_num_ll = spu_num;
579 c_info = get_cached_info(NULL, spu_num);
586 "for SPU #%d. Dropping samples.\n", spu_num);
606 if (grd_val && grd_val != spu_buff[spu_num].last_guard_val) {
607 spu_buff[spu_num].last_guard_val = grd_val;
617 if (spu_buff[spu_num].ctx_sw_seen)
619 spu_num);