Home
last modified time | relevance | path

Searched refs:PCIM_MSIX_BIR_MASK (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/usr.sbin/bhyve/
H A Dpci_passthru.c239 msixcap.pba_info & PCIM_MSIX_BIR_MASK; in cfginitmsi()
241 msixcap.pba_info & ~PCIM_MSIX_BIR_MASK; in cfginitmsi()
243 msixcap.table_info & PCIM_MSIX_BIR_MASK; in cfginitmsi()
245 msixcap.table_info & ~PCIM_MSIX_BIR_MASK; in cfginitmsi()
H A Dpci_emul.c818 msixcap->table_info = barnum & PCIM_MSIX_BIR_MASK; in pci_populate_msixcap()
819 msixcap->pba_info = msix_tab_size | (barnum & PCIM_MSIX_BIR_MASK); in pci_populate_msixcap()
/freebsd-12.1/usr.sbin/pciconf/
H A Dcap.c554 table_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in cap_msix()
555 table_offset = val & ~PCIM_MSIX_BIR_MASK; in cap_msix()
558 pba_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in cap_msix()
559 pba_offset = val & ~PCIM_MSIX_BIR_MASK; in cap_msix()
/freebsd-12.1/sys/dev/ahci/
H A Dahci_pci.c449 *table_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in ahci_pci_read_msix_bars()
452 *pba_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in ahci_pci_read_msix_bars()
/freebsd-12.1/sys/dev/pci/
H A Dpcireg.h944 #define PCIM_MSIX_BIR_MASK 0x7 macro
H A Dpci.c904 PCIM_MSIX_BIR_MASK); in pci_read_cap()
905 cfg->msix.msix_table_offset = val & ~PCIM_MSIX_BIR_MASK; in pci_read_cap()
908 PCIM_MSIX_BIR_MASK); in pci_read_cap()
909 cfg->msix.msix_pba_offset = val & ~PCIM_MSIX_BIR_MASK; in pci_read_cap()