Lines Matching refs:mbox_hdr
300 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()
420 ALIGN(sizeof(*mbox_hdr), MBOX_MSG_ALIGN); in otx2_forward_vf_mbox_msgs()
422 if (mbox_hdr->msg_size > dst_size) in otx2_forward_vf_mbox_msgs()
427 dst_mdev->msg_size = mbox_hdr->msg_size; in otx2_forward_vf_mbox_msgs()
428 dst_mdev->num_msgs = mbox_hdr->num_msgs; in otx2_forward_vf_mbox_msgs()
436 req_hdr = (struct mbox_hdr *)(src_mbox->dev[0].mbase + in otx2_forward_vf_mbox_msgs()
464 offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_pfvf_mbox_handler()
502 offset = mbox->rx_start + ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_pfvf_mbox_up_handler()
802 struct mbox_hdr *rsp_hdr; in otx2_pfaf_mbox_handler()
813 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_pfaf_mbox_handler()
932 struct mbox_hdr *rsp_hdr; in otx2_pfaf_mbox_up_handler()
936 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_pfaf_mbox_up_handler()
967 struct mbox_hdr *hdr; in otx2_pfaf_mbox_intr_handler()
984 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_pfaf_mbox_intr_handler()
1000 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_pfaf_mbox_intr_handler()