Lines Matching refs:npc
176 static int spu_run_init(struct spu_context *ctx, u32 *npc) in spu_run_init() argument
222 ctx->ops->npc_write(ctx, *npc); in spu_run_init()
244 static int spu_run_fini(struct spu_context *ctx, u32 *npc, in spu_run_fini() argument
252 *npc = ctx->ops->npc_read(ctx); in spu_run_fini()
274 unsigned int *npc) in spu_handle_restartsys() argument
286 *npc -= 8; in spu_handle_restartsys()
312 u32 ls_pointer, npc; in spu_process_callback() local
318 npc = ctx->ops->npc_read(ctx) & ~3; in spu_process_callback()
320 ls_pointer = in_be32(ls + npc); in spu_process_callback()
328 npc += 4; in spu_process_callback()
335 ret = spu_handle_restartsys(ctx, &spu_ret, &npc); in spu_process_callback()
348 ctx->ops->npc_write(ctx, npc); in spu_process_callback()
353 long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event) in spufs_run_spu() argument
372 ret = spu_run_init(ctx, npc); in spufs_run_spu()
422 ret = spu_run_fini(ctx, npc, &status); in spufs_run_spu()