Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c16 static const u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); variable
231 memcpy(hw_mbase + mbox->tx_start + msgs_offset, in otx2_mbox_msg_send_data()
232 mdev->mbase + mbox->tx_start + msgs_offset, in otx2_mbox_msg_send_data()
314 if ((mdev->msg_size + size) > mbox->tx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()
316 if ((mdev->rsp_size + size_rsp) > mbox->rx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()
323 msghdr = mdev->mbase + mbox->tx_start + msgs_offset + mdev->msg_size; in otx2_mbox_alloc_msg_rsp()
331 msghdr->next_msgoff = mdev->msg_size + msgs_offset; in otx2_mbox_alloc_msg_rsp()
342 unsigned long imsg = mbox->tx_start + msgs_offset; in otx2_mbox_get_rsp()
343 unsigned long irsp = mbox->rx_start + msgs_offset; in otx2_mbox_get_rsp()
375 unsigned long ireq = mbox->tx_start + msgs_offset; in otx2_mbox_check_rsp_msgs()
[all …]
/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()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.h679 u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_sync_mbox_bbuf() local
691 if (msg_size > mbox->rx_size - msgs_offset) in otx2_sync_mbox_bbuf()
692 msg_size = mbox->rx_size - msgs_offset; in otx2_sync_mbox_bbuf()
696 hw_mbase + mbox->rx_start, msg_size + msgs_offset); in otx2_sync_mbox_bbuf()