Lines Matching defs:base
428 init_msix_table(struct vmctx *ctx, struct passthru_softc *sc, uint64_t base)
497 error = vm_map_pptdev_mmio(ctx, b, s, f, start, len, base);
501 base += len;
507 base += table_size;
514 error = vm_map_pptdev_mmio(ctx, b, s, f, start, len, base);
529 uint64_t base, size;
546 base = bar.pbi_base & PCIM_BAR_IO_BASE;
556 base = bar.pbi_base & PCIM_BAR_MEM_BASE;
561 if (((base | size) & PAGE_MASK) != 0) {
563 "base %#lx or size %#lx not page aligned\n",
565 sc->psc_sel.pc_func, i, base, size);
573 sc->psc_bar[i].addr = base;
576 error = pci_emul_alloc_pbar(pi, i, base, bartype, size);
582 error = init_msix_table(ctx, sc, base);
589 pi->pi_bar[i].addr, pi->pi_bar[i].size, base);