Home
last modified time | relevance | path

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

/freebsd-14.2/usr.sbin/bhyve/
H A Dpci_passthru.c287 table_size = pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in cfginitmsi()
340 offset >= table_offset + table_count * MSIX_TABLE_ENTRY_SIZE) { in msix_table_read()
365 index = offset / MSIX_TABLE_ENTRY_SIZE; in msix_table_read()
369 entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in msix_table_read()
414 offset >= table_offset + table_count * MSIX_TABLE_ENTRY_SIZE) { in msix_table_write()
437 index = offset / MSIX_TABLE_ENTRY_SIZE; in msix_table_write()
441 entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in msix_table_write()
502 table_size += pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in init_msix_table()
1210 table_size += pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in passthru_msix_addr()
H A Dpci_emul.c420 tab_index = offset / MSIX_TABLE_ENTRY_SIZE; in pci_emul_msix_twrite()
424 msix_entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in pci_emul_msix_twrite()
457 msix_entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in pci_emul_msix_tread()
464 tab_index = offset / MSIX_TABLE_ENTRY_SIZE; in pci_emul_msix_tread()
1207 table_size = table_entries * MSIX_TABLE_ENTRY_SIZE; in pci_msix_table_init()
1224 tab_size = msgnum * MSIX_TABLE_ENTRY_SIZE; in pci_emul_add_msixcap()
H A Dpci_emul.h114 #define MSIX_TABLE_ENTRY_SIZE 16 macro