Searched refs:mbox_ctrl (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/soc/apple/ |
| H A D | mailbox.c | 107 u32 mbox_ctrl; in apple_mbox_send() local 111 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() local 192 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()
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_mbox.c | 704 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()
|
| /linux/drivers/net/ethernet/huawei/hinic3/ |
| H A D | hinic3_mbox.c | 594 u32 mbox_int, mbox_ctrl, tx_size; in write_mbox_msg_attr() local 610 mbox_ctrl = MBOX_CTRL_SET(1, TX_STATUS) | in write_mbox_msg_attr() 616 mbox_ctrl); in write_mbox_msg_attr()
|