Searched refs:pi_bar (Results 1 – 3 of 3) sorted by relevance
523 if (pdi->pi_bar[i].type == PCIBAR_IO && in pci_emul_io_handler()524 (uint64_t)port >= pdi->pi_bar[i].addr && in pci_emul_io_handler()526 pdi->pi_bar[i].addr + pdi->pi_bar[i].size) { in pci_emul_io_handler()527 offset = port - pdi->pi_bar[i].addr; in pci_emul_io_handler()550 assert(pdi->pi_bar[bidx].type == PCIBAR_MEM32 || in pci_emul_mem_handler()551 pdi->pi_bar[bidx].type == PCIBAR_MEM64); in pci_emul_mem_handler()552 assert(addr >= pdi->pi_bar[bidx].addr && in pci_emul_mem_handler()553 addr + size <= pdi->pi_bar[bidx].addr + pdi->pi_bar[bidx].size); in pci_emul_mem_handler()555 offset = addr - pdi->pi_bar[bidx].addr; in pci_emul_mem_handler()614 switch (pi->pi_bar[idx].type) { in modify_bar_registration()[all …]
600 pi->pi_bar[i].lobits = lobits; in cfginitbar()1023 assert(pi->pi_bar[baridx].type == PCIBAR_IO); in passthru_write()1044 assert(pi->pi_bar[baridx].type == PCIBAR_IO); in passthru_read()1083 remaining = pi->pi_bar[baridx].size - table_offset - table_size; in passthru_msix_addr()1121 const uint64_t addr = pi->pi_bar[idx].addr; in passthru_addr_rom()1122 const uint64_t size = pi->pi_bar[idx].size; in passthru_addr_rom()1145 switch (pi->pi_bar[baridx].type) { in passthru_addr()1161 pi->pi_bar[baridx].type); in passthru_addr()
167 struct pcibar pi_bar[PCI_BARMAX_WITH_ROM + 1]; member