Home
last modified time | relevance | path

Searched refs:MBOX_STS_ERROR (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/board/CZ.NIC/turris_mox/
H A Dmox_sp.c22 #define MBOX_STS_ERROR(s) ((s) & (3 << 30)) macro
68 else if (MBOX_STS_ERROR(status) == MBOX_STS_FAIL) in mbox_do_cmd()
70 else if (MBOX_STS_ERROR(status) != MBOX_STS_SUCCESS) in mbox_do_cmd()
/openbmc/linux/drivers/firmware/
H A Dturris-mox-rwtm.c31 #define MBOX_STS_ERROR(s) ((s) & (3 << 30)) macro
152 else if (MBOX_STS_ERROR(retval) == MBOX_STS_FAIL) in mox_get_status()
154 else if (MBOX_STS_ERROR(retval) == MBOX_STS_BADCMD) in mox_get_status()
156 else if (MBOX_STS_ERROR(retval) != MBOX_STS_SUCCESS) in mox_get_status()
407 if (MBOX_STS_ERROR(reply->retval) != MBOX_STS_SUCCESS) in do_sign_write()