Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mailbox/
Dapple-mailbox.c112 u32 mbox_ctrl = in apple_mbox_hw_can_send() local
115 return !(mbox_ctrl & apple_mbox->hw->control_full); in apple_mbox_hw_can_send()
120 u32 mbox_ctrl = in apple_mbox_hw_send_empty() local
123 return mbox_ctrl & apple_mbox->hw->control_empty; in apple_mbox_hw_send_empty()
143 u32 mbox_ctrl = in apple_mbox_hw_can_recv() local
146 return !(mbox_ctrl & apple_mbox->hw->control_empty); in apple_mbox_hw_can_recv()
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
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()