Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/ahci/
H A Dahci_pci.c480 *table_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in ahci_pci_read_msix_bars()
483 *pba_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in ahci_pci_read_msix_bars()
/freebsd-14.2/usr.sbin/pciconf/
H A Dcap.c699 table_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in cap_msix()
700 table_offset = val & ~PCIM_MSIX_BIR_MASK; in cap_msix()
703 pba_bar = PCIR_BAR(val & PCIM_MSIX_BIR_MASK); in cap_msix()
704 pba_offset = val & ~PCIM_MSIX_BIR_MASK; in cap_msix()
/freebsd-14.2/usr.sbin/bhyve/
H A Dpci_passthru.c276 msixcap.pba_info & PCIM_MSIX_BIR_MASK; in cfginitmsi()
278 msixcap.pba_info & ~PCIM_MSIX_BIR_MASK; in cfginitmsi()
280 msixcap.table_info & PCIM_MSIX_BIR_MASK; in cfginitmsi()
282 msixcap.table_info & ~PCIM_MSIX_BIR_MASK; in cfginitmsi()
H A Dpci_emul.c1195 msixcap->table_info = barnum & PCIM_MSIX_BIR_MASK; in pci_populate_msixcap()
1196 msixcap->pba_info = msix_tab_size | (barnum & PCIM_MSIX_BIR_MASK); in pci_populate_msixcap()
/freebsd-14.2/sys/dev/pci/
H A Dpcireg.h970 #define PCIM_MSIX_BIR_MASK 0x7 macro
H A Dpci.c938 PCIM_MSIX_BIR_MASK); in pci_read_cap()
939 cfg->msix.msix_table_offset = val & ~PCIM_MSIX_BIR_MASK; in pci_read_cap()
942 PCIM_MSIX_BIR_MASK); in pci_read_cap()
943 cfg->msix.msix_pba_offset = val & ~PCIM_MSIX_BIR_MASK; in pci_read_cap()