Home
last modified time | relevance | path

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

/freebsd/usr.sbin/pciconf/
H A Dcap.c699 table_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in cap_ea()
700 table_offset = val & ~PCIM_MSIX_BIR_MASK; in cap_ea()
703 pba_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in cap_ea()
704 pba_offset = val & ~PCIM_MSIX_BIR_MASK; in cap_ea()
/freebsd/sys/dev/ahci/
H A Dahci_pci.c483 *table_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in ahci_pci_read_msix_bars()
486 *pba_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in ahci_pci_read_msix_bars()
/freebsd/usr.sbin/bhyve/
H A Dpci_passthru.c330 msixcap.pba_info & PCIM_MSIX_BIR_MASK; in cfginitmsi()
332 msixcap.pba_info & ~PCIM_MSIX_BIR_MASK; in cfginitmsi()
334 msixcap.table_info & PCIM_MSIX_BIR_MASK; in cfginitmsi()
336 msixcap.table_info & ~PCIM_MSIX_BIR_MASK; in cfginitmsi()
H A Dpci_emul.c1223 msixcap->table_info = barnum & PCIM_MSIX_BIR_MASK; in pci_populate_msixcap()
1224 msixcap->pba_info = msix_tab_size | (barnum & PCIM_MSIX_BIR_MASK); in pci_populate_msixcap()
/freebsd/sys/dev/pci/
H A Dpcireg.h973 #define PCIM_MSIX_BIR_MASK 0x7 macro
H A Dpci.c960 PCIM_MSIX_BIR_MASK); in pci_read_cap()
961 cfg->msix.msix_table_offset = val & ~PCIM_MSIX_BIR_MASK; in pci_read_cap()
964 PCIM_MSIX_BIR_MASK); in pci_read_cap()
965 cfg->msix.msix_pba_offset = val & ~PCIM_MSIX_BIR_MASK; in pci_read_cap()