Lines Matching refs:mbox_pfvf
408 otx2_forward_msg_pfvf(dst_mdev, &pf->mbox_pfvf[0].mbox, in otx2_forward_vf_mbox_msgs()
418 dst_mbox = &pf->mbox_pfvf[0]; in otx2_forward_vf_mbox_msgs()
439 otx2_forward_msg_pfvf(&pf->mbox_pfvf->mbox_up.dev[vf], in otx2_forward_vf_mbox_msgs()
441 pf->mbox_pfvf[vf].bbuf_base, in otx2_forward_vf_mbox_msgs()
459 vf_idx = vf_mbox - pf->mbox_pfvf; in otx2_pfvf_mbox_handler()
461 mbox = &pf->mbox_pfvf[0].mbox; in otx2_pfvf_mbox_handler()
498 vf_idx = vf_mbox - pf->mbox_pfvf; in otx2_pfvf_mbox_up_handler()
499 mbox = &pf->mbox_pfvf[0].mbox_up; in otx2_pfvf_mbox_up_handler()
546 mbox = pf->mbox_pfvf; in otx2_pfvf_mbox_intr_handler()
578 pf->mbox_pfvf = devm_kcalloc(&pf->pdev->dev, numvfs, in otx2_pfvf_mbox_init()
580 if (!pf->mbox_pfvf) in otx2_pfvf_mbox_init()
605 mbox = &pf->mbox_pfvf[0]; in otx2_pfvf_mbox_init()
635 struct mbox *mbox = &pf->mbox_pfvf[0]; in otx2_pfvf_mbox_destroy()
3156 if (!otx2_mbox_wait_for_zero(&pf->mbox_pfvf[0].mbox_up, vf_idx)) { in otx2_vf_link_event_task()
3162 msghdr = otx2_mbox_alloc_msg_rsp(&pf->mbox_pfvf[0].mbox_up, vf_idx, in otx2_vf_link_event_task()
3175 otx2_mbox_wait_for_zero(&pf->mbox_pfvf[0].mbox_up, vf_idx); in otx2_vf_link_event_task()
3177 otx2_sync_mbox_up_msg(&pf->mbox_pfvf[0], vf_idx); in otx2_vf_link_event_task()