Home
last modified time | relevance | path

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

/linux/drivers/soc/apple/
A Dmailbox.c104 u32 mbox_ctrl; in apple_mbox_send() local
108 mbox_ctrl = readl_relaxed(mbox->regs + mbox->hw->a2i_control); in apple_mbox_send()
110 while (mbox_ctrl & mbox->hw->control_full) { in apple_mbox_send()
113 mbox->regs + mbox->hw->a2i_control, mbox_ctrl, in apple_mbox_send()
114 !(mbox_ctrl & mbox->hw->control_full), 100, in apple_mbox_send()
150 mbox_ctrl = readl_relaxed(mbox->regs + mbox->hw->a2i_control); in apple_mbox_send()
187 u32 mbox_ctrl = readl_relaxed(mbox->regs + mbox->hw->i2a_control); in apple_mbox_poll_locked() local
189 while (!(mbox_ctrl & mbox->hw->control_empty)) { in apple_mbox_poll_locked()
197 mbox_ctrl = readl_relaxed(mbox->regs + mbox->hw->i2a_control); in apple_mbox_poll_locked()
/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_mbox.c704 u32 mbox_int, mbox_ctrl; in write_mbox_msg_attr() local
720 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()

Completed in 11 milliseconds