Home
last modified time | relevance | path

Searched refs:pi_msix (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_passthru.c305 pi->pi_msix.pba_bar = in cfginitmsi()
307 pi->pi_msix.pba_offset = in cfginitmsi()
309 pi->pi_msix.table_bar = in cfginitmsi()
311 pi->pi_msix.table_offset = in cfginitmsi()
314 pi->pi_msix.pba_size = PBA_SIZE(pi->pi_msix.table_count); in cfginitmsi()
398 entry = &pi->pi_msix.table[index]; in msix_table_read()
470 entry = &pi->pi_msix.table[index]; in msix_table_write()
481 if (pi->pi_msix.enabled) { in msix_table_write()
523 pi->pi_msix.mapped_addr = (uint8_t *)mmap(NULL, pi->pi_msix.mapped_size, in init_msix_table()
952 if (pi->pi_msix.enabled) { in passthru_cfgwrite_default()
[all …]
H A Dpci_emul.c404 if (offset >= pi->pi_msix.pba_offset + pi->pi_msix.pba_size) { in pci_valid_pba_offset()
495 if (pi->pi_msix.table != NULL) in pci_msix_table_bar()
496 return (pi->pi_msix.table_bar); in pci_msix_table_bar()
505 if (pi->pi_msix.table != NULL) in pci_msix_pba_bar()
506 return (pi->pi_msix.pba_bar); in pci_msix_pba_bar()
1186 pi->pi_msix.table_bar = barnum; in pci_emul_add_msixcap()
1187 pi->pi_msix.pba_bar = barnum; in pci_emul_add_msixcap()
1188 pi->pi_msix.table_offset = 0; in pci_emul_add_msixcap()
1189 pi->pi_msix.table_count = msgnum; in pci_emul_add_msixcap()
1863 if (pi->pi_msix.function_mask) in pci_generate_msix()
[all …]
H A Dpci_emul.h161 } pi_msix; member
H A Dpci_virtio_viona.c853 mte = pi->pi_msix.table[tab_index]; in pci_viona_ring_set_msix()
873 msix_on = pci_msix_enabled(pi) && (pi->pi_msix.function_mask == 0); in pci_viona_lintrupdate()