Lines Matching defs:mailbox
25 uintptr_t *mailbox = (void *)PLAT_MARVELL_MAILBOX_BASE;
27 memset(mailbox, 0, PLAT_MARVELL_MAILBOX_SIZE);
33 uintptr_t *mailbox = (void *)PLAT_MARVELL_MAILBOX_BASE;
57 * Check if the mailbox magic number is stored at index MBOX_IDX_MAGIC
60 * In such case the mailbox should remain intact, since it stores the
62 * Othervise the mailbox should be cleaned from a garbage data.
64 if (mailbox[MBOX_IDX_MAGIC] != MVEBU_MAILBOX_MAGIC_NUM ||
65 mailbox[MBOX_IDX_SUSPEND_MAGIC] != MVEBU_MAILBOX_SUSPEND_STATE) {
70 (void (*)(void))mailbox[MBOX_IDX_ROM_EXIT_ADDR];
79 * in the mailbox.