Lines Matching refs:status
40 /* ensure that the exception status has hit memory before a
86 u32 status;
120 /* clear purge status */
138 while (((status = ctx->ops->status_read(ctx)) & status_loading) ==
149 if (!(status & SPU_STATUS_RUNNING)) {
158 if (!(status & SPU_STATUS_ISOLATED_STATE)) {
244 u32 *status)
250 *status = ctx->ops->status_read(ctx);
255 spu_switch_log_notify(NULL, ctx, SWITCH_LOG_EXIT, *status);
356 u32 status;
378 ret = spufs_wait(ctx->stop_wq, spu_stopped(ctx, &status));
391 if (!(status & SPU_STATUS_STOPPED_BY_STOP)) {
399 if ((status & SPU_STATUS_STOPPED_BY_STOP) &&
400 (status >> SPU_STOP_STATUS_SHIFT == 0x2104)) {
404 status &= ~SPU_STATUS_STOPPED_BY_STOP;
416 } while (!ret && !(status & (SPU_STATUS_STOPPED_BY_STOP |
421 ret = spu_run_fini(ctx, npc, &status);
424 if ((status & SPU_STATUS_STOPPED_BY_STOP) &&
425 (((status >> SPU_STOP_STATUS_SHIFT) & 0x3f00) == 0x2100))
430 ((status & SPU_STATUS_STOPPED_BY_HALT) ||
431 (status & SPU_STATUS_SINGLE_STEP) ||
432 ((status & SPU_STATUS_STOPPED_BY_STOP) &&
433 (status >> SPU_STOP_STATUS_SHIFT != 0x2104)))))
434 ret = status;
440 if (unlikely(status & SPU_STATUS_SINGLE_STEP))
443 else if (unlikely((status & SPU_STATUS_STOPPED_BY_STOP)
444 && (status >> SPU_STOP_STATUS_SHIFT) == 0x3fff)) {