Searched refs:msicap (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/usr.sbin/bhyve/
H A Dpci_emul.h166 struct msicap { struct
174 static_assert(sizeof(struct msicap) == 14, "compile-time assertion failed");
244 void pci_populate_msicap(struct msicap *cap, int msgs, int nextptr);
H A Dpci_passthru.c157 struct msicap msicap; local
160 pci_populate_msicap(&msicap, msgnum, nextptr);
168 capoff = 256 - roundup(sizeof(msicap), 4);
169 capdata = (u_char *)&msicap;
170 for (i = 0; i < sizeof(msicap); i++)
H A Dpci_emul.c776 pci_populate_msicap(struct msicap *msicap, int msgnum, int nextptr) argument
784 bzero(msicap, sizeof(struct msicap));
785 msicap->capid = PCIY_MSI;
786 msicap->nextptr = nextptr;
787 msicap->msgctrl = PCIM_MSICTRL_64BIT | (mmc << 1);
793 struct msicap msicap; local
795 pci_populate_msicap(&msicap, msgnu
[all...]

Completed in 313 milliseconds