Home
last modified time | relevance | path

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

/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()
33 struct mbox_hdr *hdr; in otx2_cpt_sync_mbox_bbuf()
142 struct mbox_hdr *rsp_hdr; in otx2_cptvf_pfvf_mbox_handler()
153 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + pfvf_mbox->rx_start); in otx2_cptvf_pfvf_mbox_handler()
156 offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_cptvf_pfvf_mbox_handler()
Dotx2_cptpf_mbox.c183 struct mbox_hdr *req_hdr; in otx2_cptpf_vfpf_mbox_handler()
195 req_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_cptpf_vfpf_mbox_handler()
339 struct mbox_hdr *rsp_hdr; in otx2_cptpf_afpf_mbox_handler()
349 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + afpf_mbox->rx_start); in otx2_cptpf_afpf_mbox_handler()
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_vf.c91 struct mbox_hdr *rsp_hdr; in otx2vf_vfaf_mbox_handler()
100 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_handler()
152 struct mbox_hdr *rsp_hdr; in otx2vf_vfaf_mbox_up_handler()
164 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_up_handler()
184 struct mbox_hdr *hdr; in otx2vf_vfaf_mbox_intr_handler()
199 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_intr_handler()
204 ALIGN(sizeof(struct mbox_hdr), sizeof(u64))); in otx2vf_vfaf_mbox_intr_handler()
212 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_intr_handler()
217 ALIGN(sizeof(struct mbox_hdr), sizeof(u64))); in otx2vf_vfaf_mbox_intr_handler()
Dotx2_pf.c299 struct mbox_hdr *hdr; in otx2_queue_work()
324 ALIGN(sizeof(struct mbox_hdr), in otx2_queue_work()
340 ALIGN(sizeof(struct mbox_hdr), in otx2_queue_work()
370 struct mbox_hdr *mbox_hdr; in otx2_forward_vf_mbox_msgs() local
371 struct mbox_hdr *req_hdr; in otx2_forward_vf_mbox_msgs()
381 mbox_hdr = src_mbox->hwbase + in otx2_forward_vf_mbox_msgs()
386 ALIGN(sizeof(*mbox_hdr), MBOX_MSG_ALIGN); in otx2_forward_vf_mbox_msgs()
388 if (mbox_hdr->msg_size > dst_size || !mbox_hdr->msg_size) in otx2_forward_vf_mbox_msgs()
395 dst_mdev->msg_size = mbox_hdr->msg_size; in otx2_forward_vf_mbox_msgs()
415 req_hdr = (struct mbox_hdr *)(dst_mdev->mbase + in otx2_forward_vf_mbox_msgs()
[all …]
Dotx2_common.h651 u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_sync_mbox_bbuf()
654 struct mbox_hdr *hdr; in otx2_sync_mbox_bbuf()
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c16 static const u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN);
21 struct mbox_hdr *tx_hdr, *rx_hdr; in __otx2_mbox_reset()
217 struct mbox_hdr *tx_hdr, *rx_hdr; in otx2_mbox_msg_send()
Drvu.c2114 struct mbox_hdr *req_hdr; in __rvu_mbox_handler()
2198 struct mbox_hdr *rsp_hdr; in __rvu_mbox_up_handler()
2448 struct mbox_hdr *hdr; in rvu_queue_work()
Dmbox.h75 struct mbox_hdr { struct