Lines Matching defs:spu
36 #include <asm/spu.h>
281 pfn = (ctx->spu->local_store_phys + offset) >> PAGE_SHIFT;
416 spu_context_trace(spufs_ps_fault__wake, ctx, ctx->spu);
419 area = ctx->spu->problem_phys + ps_offs;
422 spu_context_trace(spufs_ps_fault__insert, ctx, ctx->spu);
762 void spufs_ibox_callback(struct spu *spu)
764 struct spu_context *ctx = spu->ctx;
912 void spufs_wbox_callback(struct spu *spu)
914 struct spu_context *ctx = spu->ctx;
1577 void spufs_mfc_callback(struct spu *spu)
1579 struct spu_context *ctx = spu->ctx;
1586 pr_debug("%s %s\n", __func__, spu->name);
1999 num = ctx->spu->number;
2321 * thread as the spu context moves through various well defined
2324 * is not tightly coupled with the execution of the spu context. We
2326 * of the spu context.
2328 if (ctx->spu && ctx->stats.util_state == state) {
2341 slb_flts += (ctx->spu->stats.slb_flt -
2353 class2_intrs += (ctx->spu->stats.class2_intr -
2580 void spu_switch_log_notify(struct spu *spu, struct spu_context *ctx,
2592 p->spu_id = spu ? spu->number : -1;
2609 if (ctx->spu) {
2610 struct spu *spu = ctx->spu;
2611 struct spu_priv2 __iomem *priv2 = spu->priv2;
2613 spin_lock_irq(&spu->register_lock);
2615 spin_unlock_irq(&spu->register_lock);
2622 seq_printf(s, "%c flgs(%lx) sflgs(%lx) pri(%d) ts(%d) spu(%02d)"
2629 ctx->spu ? ctx->spu->number : -1,