Searched refs:mbox_ctrl (Results 1 – 2 of 2) sorted by relevance
107 u32 mbox_ctrl; in apple_mbox_send() local111 mbox_ctrl = readl_relaxed(mbox->regs + mbox->hw->a2i_control); in apple_mbox_send()113 while (mbox_ctrl & mbox->hw->control_full) { in apple_mbox_send()116 mbox->regs + mbox->hw->a2i_control, mbox_ctrl, in apple_mbox_send()117 !(mbox_ctrl & mbox->hw->control_full), 100, in apple_mbox_send()153 mbox_ctrl = readl_relaxed(mbox->regs + mbox->hw->a2i_control); in apple_mbox_send()190 u32 mbox_ctrl = readl_relaxed(mbox->regs + mbox->hw->i2a_control); in apple_mbox_poll_locked() local192 while (!(mbox_ctrl & mbox->hw->control_empty)) { in apple_mbox_poll_locked()200 mbox_ctrl = readl_relaxed(mbox->regs + mbox->hw->i2a_control); in apple_mbox_poll_locked()
704 u32 mbox_int, mbox_ctrl; in write_mbox_msg_attr() local720 mbox_ctrl = HINIC_MBOX_CTRL_SET(TX_NOT_DONE, TX_STATUS); in write_mbox_msg_attr()723 mbox_ctrl |= HINIC_MBOX_CTRL_SET(NOT_TRIGGER, TRIGGER_AEQE); in write_mbox_msg_attr()725 mbox_ctrl |= HINIC_MBOX_CTRL_SET(TRIGGER, TRIGGER_AEQE); in write_mbox_msg_attr()728 HINIC_FUNC_CSR_MAILBOX_CONTROL_OFF, mbox_ctrl); in write_mbox_msg_attr()