Lines Matching defs:hwbase
319 if (mbox->mbox.hwbase && !test_bit(CN10K_MBOX, &vf->hw.cap_flag))
320 iounmap((void __iomem *)mbox->mbox.hwbase);
329 void __iomem *hwbase;
342 hwbase = vf->reg_base + RVU_VF_MBOX_REGION + ((u64)BLKADDR_MBOX <<
348 hwbase = vf->reg_base + RVU_VF_MBOX_REGION;
354 hwbase = ioremap_wc(pci_resource_start(vf->pdev,
358 if (!hwbase) {
365 err = otx2_mbox_init(&mbox->mbox, hwbase, vf->pdev, vf->reg_base,
370 err = otx2_mbox_init(&mbox->mbox_up, hwbase, vf->pdev, vf->reg_base,
385 if (hwbase && !test_bit(CN10K_MBOX, &vf->hw.cap_flag))
386 iounmap(hwbase);