Lines Matching full:spu
7 #include <asm/spu.h>
15 void spufs_stop_callback(struct spu *spu, int irq) in spufs_stop_callback() argument
17 struct spu_context *ctx = spu->ctx; in spufs_stop_callback()
30 ctx->csa.class_0_pending = spu->class_0_pending; in spufs_stop_callback()
31 ctx->csa.class_0_dar = spu->class_0_dar; in spufs_stop_callback()
34 ctx->csa.class_1_dsisr = spu->class_1_dsisr; in spufs_stop_callback()
35 ctx->csa.class_1_dar = spu->class_1_dar; in spufs_stop_callback()
61 * If the spu hasn't finished stopping, we need to in spu_stopped()
104 mfc_cntl = &ctx->spu->priv2->mfc_control_RW; in spu_setup_isolated()
125 sr1 = spu_mfc_sr1_get(ctx->spu); in spu_setup_isolated()
127 spu_mfc_sr1_set(ctx->spu, sr1); in spu_setup_isolated()
151 /* If isolated LOAD has failed: run SPU, we will get a stop-and in spu_setup_isolated()
161 pr_debug("%s: SPU fell out of isolated mode?\n", __func__); in spu_setup_isolated()
170 spu_mfc_sr1_set(ctx->spu, sr1); in spu_setup_isolated()
266 * SPU syscall restarting is tricky because we violate the basic
269 * while the syscall was called from the SPU.
283 * sys_spu_run, then restart the SPU syscall in spu_handle_restartsys()
293 * to the SPU. in spu_handle_restartsys()
325 /* do actual syscall without pinning the spu */ in spu_process_callback()
343 * spu */ in spu_process_callback()