Home
last modified time | relevance | path

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

/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.c176 struct mbox_hdr *req_hdr; in otx2_cptpf_vfpf_mbox_handler()
188 req_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_cptpf_vfpf_mbox_handler()
328 struct mbox_hdr *rsp_hdr; in otx2_cptpf_afpf_mbox_handler()
338 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + afpf_mbox->rx_start); in otx2_cptpf_afpf_mbox_handler()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_vf.c89 struct mbox_hdr *rsp_hdr; in otx2vf_vfaf_mbox_handler()
98 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_handler()
150 struct mbox_hdr *rsp_hdr; in otx2vf_vfaf_mbox_up_handler()
162 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_up_handler()
182 struct mbox_hdr *hdr; in otx2vf_vfaf_mbox_intr_handler()
197 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_intr_handler()
202 ALIGN(sizeof(struct mbox_hdr), sizeof(u64))); in otx2vf_vfaf_mbox_intr_handler()
210 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_intr_handler()
215 ALIGN(sizeof(struct mbox_hdr), sizeof(u64))); in otx2vf_vfaf_mbox_intr_handler()
Dotx2_pf.c291 struct mbox_hdr *hdr; in otx2_queue_work()
316 ALIGN(sizeof(struct mbox_hdr), in otx2_queue_work()
332 ALIGN(sizeof(struct mbox_hdr), in otx2_queue_work()
362 struct mbox_hdr *mbox_hdr; in otx2_forward_vf_mbox_msgs() local
363 struct mbox_hdr *req_hdr; in otx2_forward_vf_mbox_msgs()
373 mbox_hdr = src_mbox->hwbase + in otx2_forward_vf_mbox_msgs()
378 ALIGN(sizeof(*mbox_hdr), MBOX_MSG_ALIGN); in otx2_forward_vf_mbox_msgs()
380 if (mbox_hdr->msg_size > dst_size || !mbox_hdr->msg_size) in otx2_forward_vf_mbox_msgs()
387 dst_mdev->msg_size = mbox_hdr->msg_size; in otx2_forward_vf_mbox_msgs()
407 req_hdr = (struct mbox_hdr *)(dst_mdev->mbase + in otx2_forward_vf_mbox_msgs()
[all …]
Dotx2_common.h523 u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_sync_mbox_bbuf()
526 struct mbox_hdr *hdr; in otx2_sync_mbox_bbuf()
/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()
Drvu.c2036 struct mbox_hdr *req_hdr; in __rvu_mbox_handler()
2120 struct mbox_hdr *rsp_hdr; in __rvu_mbox_up_handler()
2402 struct mbox_hdr *hdr; in rvu_queue_work()
Dmbox.h75 struct mbox_hdr { struct