Home
last modified time | relevance | path

Searched refs:MSIX_TABLE_ENTRY_SIZE (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/usr.sbin/bhyve/
H A Dpci_passthru.c246 table_size = pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in cfginitmsi()
299 offset >= table_offset + table_count * MSIX_TABLE_ENTRY_SIZE) { in msix_table_read()
324 index = offset / MSIX_TABLE_ENTRY_SIZE; in msix_table_read()
328 entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in msix_table_read()
373 offset >= table_offset + table_count * MSIX_TABLE_ENTRY_SIZE) { in msix_table_write()
396 index = offset / MSIX_TABLE_ENTRY_SIZE; in msix_table_write()
400 entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in msix_table_write()
461 table_size += pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in init_msix_table()
964 table_size += pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in passthru_msix_addr()
H A Dpci_emul.c345 tab_index = offset / MSIX_TABLE_ENTRY_SIZE; in pci_emul_msix_twrite()
349 msix_entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in pci_emul_msix_twrite()
382 msix_entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in pci_emul_msix_tread()
389 tab_index = offset / MSIX_TABLE_ENTRY_SIZE; in pci_emul_msix_tread()
965 table_size = table_entries * MSIX_TABLE_ENTRY_SIZE; in pci_msix_table_init()
982 tab_size = msgnum * MSIX_TABLE_ENTRY_SIZE; in pci_emul_add_msixcap()
H A Dpci_emul.h117 #define MSIX_TABLE_ENTRY_SIZE 16 macro