Lines Matching refs:status
42 u32 status;
62 /* if timed out, don't read status */
69 status = readl(RWTM_CMD_RETSTATUS);
73 if (MBOX_STS_CMD(status) != cmd)
74 return -MBOX_STS_MARVELL_ERROR(status);
75 else if (MBOX_STS_ERROR(status) == MBOX_STS_FAIL)
76 return -(int)MBOX_STS_VALUE(status);
77 else if (MBOX_STS_ERROR(status) == MBOX_STS_BADCMD)
79 else if (MBOX_STS_ERROR(status) != MBOX_STS_SUCCESS)
82 return MBOX_STS_VALUE(status);