Lines Matching refs:spu
252 pfn = (ctx->spu->local_store_phys + offset) >> PAGE_SHIFT; in spufs_mem_mmap_fault()
349 spu_context_trace(spufs_ps_fault__wake, ctx, ctx->spu); in spufs_ps_fault()
352 area = ctx->spu->problem_phys + ps_offs; in spufs_ps_fault()
355 spu_context_trace(spufs_ps_fault__insert, ctx, ctx->spu); in spufs_ps_fault()
674 void spufs_ibox_callback(struct spu *spu) in spufs_ibox_callback() argument
676 struct spu_context *ctx = spu->ctx; in spufs_ibox_callback()
805 void spufs_wbox_callback(struct spu *spu) in spufs_wbox_callback() argument
807 struct spu_context *ctx = spu->ctx; in spufs_wbox_callback()
1458 void spufs_mfc_callback(struct spu *spu) in spufs_mfc_callback() argument
1460 struct spu_context *ctx = spu->ctx; in spufs_mfc_callback()
1861 num = ctx->spu->number; in spufs_id_get()
2187 if (ctx->spu && ctx->stats.util_state == state) { in spufs_acct_time()
2199 slb_flts += (ctx->spu->stats.slb_flt - in spufs_slb_flts()
2211 class2_intrs += (ctx->spu->stats.class2_intr - in spufs_class2_intrs()
2436 void spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, in spu_switch_log_notify() argument
2448 p->spu_id = spu ? spu->number : -1; in spu_switch_log_notify()
2465 if (ctx->spu) { in spufs_show_ctx()
2466 struct spu *spu = ctx->spu; in spufs_show_ctx() local
2467 struct spu_priv2 __iomem *priv2 = spu->priv2; in spufs_show_ctx()
2469 spin_lock_irq(&spu->register_lock); in spufs_show_ctx()
2471 spin_unlock_irq(&spu->register_lock); in spufs_show_ctx()
2485 ctx->spu ? ctx->spu->number : -1, in spufs_show_ctx()