Searched refs:msixcap (Results 1 – 3 of 3) sorted by relevance
1212 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...]
180 struct msixcap { struct187 static_assert(sizeof(struct msixcap) == 12, "compile-time assertion failed"); argument
289 struct msixcap msixcap; in cfginitcaps() local328 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()