Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/
H A Dpci_emul.c1212 pci_populate_msixcap(struct msixcap *msixcap, int msgnum, int barnum, in pci_populate_msixcap() argument
1218 bzero(msixcap, sizeof(struct msixcap)); in pci_populate_msixcap()
1219 msixcap->capid = PCIY_MSIX; in pci_populate_msixcap()
1226 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
1233 msixcap->table_info = barnum & PCIM_MSIX_BIR_MASK; in pci_populate_msixcap()
1234 msixcap->pba_info = msix_tab_size | (barnum & PCIM_MSIX_BIR_MASK); in pci_populate_msixcap()
1257 struct msixcap msixcap; in pci_emul_add_msixcap() local
[all...]
H A Dpci_emul.h180 struct msixcap { struct
187 static_assert(sizeof(struct msixcap) == 12, "compile-time assertion failed"); argument
H A Dpci_passthru.c289 struct msixcap msixcap; in cfginitcaps() local
328 msixcap_ptr = (char *)&msixcap; in cfginitcaps()
377 msixcap.pba_info & PCIM_MSIX_BIR_MASK; in cfginitcaps()
379 msixcap.pba_info & ~PCIM_MSIX_BIR_MASK; in cfginitcaps()
381 msixcap.table_info & PCIM_MSIX_BIR_MASK; in cfginitcaps()
383 msixcap.table_info & ~PCIM_MSIX_BIR_MASK; in cfginitcaps()
384 pi->pi_msix.table_count = MSIX_TABLE_COUNT(msixcap.msgctrl); in cfginitcaps()