Home
last modified time | relevance | path

Searched refs:msgs_offset (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c16 static const u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN);
227 memcpy(hw_mbase + mbox->tx_start + msgs_offset, in otx2_mbox_msg_send()
228 mdev->mbase + mbox->tx_start + msgs_offset, in otx2_mbox_msg_send()
272 if ((mdev->msg_size + size) > mbox->tx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()
274 if ((mdev->rsp_size + size_rsp) > mbox->rx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()
281 msghdr = mdev->mbase + mbox->tx_start + msgs_offset + mdev->msg_size; in otx2_mbox_alloc_msg_rsp()
289 msghdr->next_msgoff = mdev->msg_size + msgs_offset; in otx2_mbox_alloc_msg_rsp()
300 unsigned long imsg = mbox->tx_start + msgs_offset; in otx2_mbox_get_rsp()
301 unsigned long irsp = mbox->rx_start + msgs_offset; in otx2_mbox_get_rsp()
333 unsigned long ireq = mbox->tx_start + msgs_offset; in otx2_mbox_check_rsp_msgs()
[all …]
/Linux-v6.1/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_mbox.c30 u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_cpt_sync_mbox_bbuf() local
42 if (msg_size > mbox->rx_size - msgs_offset) in otx2_cpt_sync_mbox_bbuf()
43 msg_size = mbox->rx_size - msgs_offset; in otx2_cpt_sync_mbox_bbuf()
47 hw_mbase + mbox->rx_start, msg_size + msgs_offset); in otx2_cpt_sync_mbox_bbuf()
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.h651 u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_sync_mbox_bbuf() local
663 if (msg_size > mbox->rx_size - msgs_offset) in otx2_sync_mbox_bbuf()
664 msg_size = mbox->rx_size - msgs_offset; in otx2_sync_mbox_bbuf()
668 hw_mbase + mbox->rx_start, msg_size + msgs_offset); in otx2_sync_mbox_bbuf()