Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.c22 void *hw_mbase = mdev->hwbase; in __otx2_mbox_reset() local
24 tx_hdr = hw_mbase + mbox->tx_start; in __otx2_mbox_reset()
25 rx_hdr = hw_mbase + mbox->rx_start; in __otx2_mbox_reset()
221 void *hw_mbase = mdev->hwbase; in otx2_mbox_msg_send_data() local
224 tx_hdr = hw_mbase + mbox->tx_start; in otx2_mbox_msg_send_data()
225 rx_hdr = hw_mbase + mbox->rx_start; in otx2_mbox_msg_send_data()
230 if (mdev->mbase != hw_mbase) in otx2_mbox_msg_send_data()
231 memcpy(hw_mbase + mbox->tx_start + msgs_offset, in otx2_mbox_msg_send_data()
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_mbox.c31 void *hw_mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_cpt_sync_mbox_bbuf() local
36 if (mdev->mbase == hw_mbase) in otx2_cpt_sync_mbox_bbuf()
39 hdr = hw_mbase + mbox->rx_start; in otx2_cpt_sync_mbox_bbuf()
47 hw_mbase + mbox->rx_start, msg_size + msgs_offset); in otx2_cpt_sync_mbox_bbuf()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.h680 void *hw_mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_sync_mbox_bbuf() local
685 if (mdev->mbase == hw_mbase) in otx2_sync_mbox_bbuf()
688 hdr = hw_mbase + mbox->rx_start; in otx2_sync_mbox_bbuf()
696 hw_mbase + mbox->rx_start, msg_size + msgs_offset); in otx2_sync_mbox_bbuf()