Home
last modified time | relevance | path

Searched refs:mbox_hdr (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_vf.c84 struct mbox_hdr *rsp_hdr; in otx2vf_vfaf_mbox_handler()
93 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_handler()
145 struct mbox_hdr *rsp_hdr; in otx2vf_vfaf_mbox_up_handler()
157 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_up_handler()
177 struct mbox_hdr *hdr; in otx2vf_vfaf_mbox_intr_handler()
192 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_intr_handler()
197 ALIGN(sizeof(struct mbox_hdr), sizeof(u64))); in otx2vf_vfaf_mbox_intr_handler()
205 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_intr_handler()
210 ALIGN(sizeof(struct mbox_hdr), sizeof(u64))); in otx2vf_vfaf_mbox_intr_handler()
Dotx2_pf.c290 struct mbox_hdr *hdr; in otx2_queue_work()
315 ALIGN(sizeof(struct mbox_hdr), in otx2_queue_work()
331 ALIGN(sizeof(struct mbox_hdr), in otx2_queue_work()
361 struct mbox_hdr *mbox_hdr; in otx2_forward_vf_mbox_msgs() local
362 struct mbox_hdr *req_hdr; in otx2_forward_vf_mbox_msgs()
372 mbox_hdr = src_mbox->hwbase + in otx2_forward_vf_mbox_msgs()
377 ALIGN(sizeof(*mbox_hdr), MBOX_MSG_ALIGN); in otx2_forward_vf_mbox_msgs()
379 if (mbox_hdr->msg_size > dst_size || !mbox_hdr->msg_size) in otx2_forward_vf_mbox_msgs()
386 dst_mdev->msg_size = mbox_hdr->msg_size; in otx2_forward_vf_mbox_msgs()
406 req_hdr = (struct mbox_hdr *)(dst_mdev->mbase + in otx2_forward_vf_mbox_msgs()
[all …]
Dotx2_common.h382 u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_sync_mbox_bbuf()
385 struct mbox_hdr *hdr; in otx2_sync_mbox_bbuf()
/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c19 static const u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN);
25 struct mbox_hdr *tx_hdr, *rx_hdr; in __otx2_mbox_reset()
180 struct mbox_hdr *tx_hdr, *rx_hdr; in otx2_mbox_msg_send()
Dmbox.h77 struct mbox_hdr { struct
Drvu.c1666 struct mbox_hdr *req_hdr; in __rvu_mbox_handler()
1750 struct mbox_hdr *rsp_hdr; in __rvu_mbox_up_handler()
1936 struct mbox_hdr *hdr; in rvu_queue_work()