Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c23 void *hw_mbase = mbox->hwbase + (devid * MBOX_SIZE); in __otx2_mbox_reset() local
27 tx_hdr = hw_mbase + mbox->tx_start; in __otx2_mbox_reset()
28 rx_hdr = hw_mbase + mbox->rx_start; in __otx2_mbox_reset()
178 void *hw_mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_mbox_msg_send() local
182 tx_hdr = hw_mbase + mbox->tx_start; in otx2_mbox_msg_send()
183 rx_hdr = hw_mbase + mbox->rx_start; in otx2_mbox_msg_send()
188 if (mdev->mbase != hw_mbase) in otx2_mbox_msg_send()
189 memcpy(hw_mbase + mbox->tx_start + msgs_offset, in otx2_mbox_msg_send()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.h383 void *hw_mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_sync_mbox_bbuf() local
388 if (mdev->mbase == hw_mbase) in otx2_sync_mbox_bbuf()
391 hdr = hw_mbase + mbox->rx_start; in otx2_sync_mbox_bbuf()
399 hw_mbase + mbox->rx_start, msg_size + msgs_offset); in otx2_sync_mbox_bbuf()