Home
last modified time | relevance | path

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

/linux-6.12.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()
150 struct mbox_hdr *rsp_hdr; in otx2_cptvf_pfvf_mbox_handler()
161 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + pfvf_mbox->rx_start); in otx2_cptvf_pfvf_mbox_handler()
164 offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_cptvf_pfvf_mbox_handler()
Dotx2_cptpf_mbox.c381 struct mbox_hdr *req_hdr; in otx2_cptpf_vfpf_mbox_handler()
393 req_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_cptpf_vfpf_mbox_handler()
427 struct mbox_hdr *hdr; in otx2_cptpf_afpf_mbox_intr()
568 struct mbox_hdr *rsp_hdr; in otx2_cptpf_afpf_mbox_handler()
578 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + afpf_mbox->rx_start); in otx2_cptpf_afpf_mbox_handler()
644 struct mbox_hdr *rsp_hdr; in otx2_cptpf_afpf_mbox_up_handler()
655 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_cptpf_afpf_mbox_up_handler()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_vf.c87 struct mbox_hdr *rsp_hdr; in otx2vf_vfaf_mbox_handler()
97 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()
165 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_up_handler()
187 struct mbox_hdr *hdr; in otx2vf_vfaf_mbox_intr_handler()
207 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_intr_handler()
224 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_intr_handler()
Dotx2_pf.c300 struct mbox_hdr *hdr; in otx2_queue_vf_work()
359 struct mbox_hdr *mbox_hdr; in otx2_forward_vf_mbox_msgs() local
360 struct mbox_hdr *req_hdr; in otx2_forward_vf_mbox_msgs()
370 mbox_hdr = src_mbox->hwbase + in otx2_forward_vf_mbox_msgs()
375 ALIGN(sizeof(*mbox_hdr), MBOX_MSG_ALIGN); in otx2_forward_vf_mbox_msgs()
377 if (mbox_hdr->msg_size > dst_size || !mbox_hdr->msg_size) in otx2_forward_vf_mbox_msgs()
384 dst_mdev->msg_size = mbox_hdr->msg_size; in otx2_forward_vf_mbox_msgs()
404 req_hdr = (struct mbox_hdr *)(dst_mdev->mbase + in otx2_forward_vf_mbox_msgs()
413 mbox_hdr = src_mbox->hwbase + src_mbox->rx_start; in otx2_forward_vf_mbox_msgs()
414 req_hdr = (struct mbox_hdr *)(src_mdev->mbase + in otx2_forward_vf_mbox_msgs()
[all …]
Dotx2_common.h679 u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_sync_mbox_bbuf()
682 struct mbox_hdr *hdr; in otx2_sync_mbox_bbuf()
/linux-6.12.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()
220 struct mbox_hdr *tx_hdr, *rx_hdr; in otx2_mbox_msg_send_data()
Drvu.c2193 struct mbox_hdr *req_hdr; in __rvu_mbox_handler()
2283 struct mbox_hdr *rsp_hdr; in __rvu_mbox_up_handler()
2566 struct mbox_hdr *hdr; in rvu_queue_work()
Dmbox.h78 struct mbox_hdr { struct