Home
last modified time | relevance | path

Searched refs:vtpci_flags (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/virtio/pci/
H A Dvirtio_pci.c155 cn->vtpci_flags |= VTPCI_FLAG_MODERN; in vtpci_init()
157 cn->vtpci_flags |= VTPCI_FLAG_NO_MSI; in vtpci_init()
159 cn->vtpci_flags |= VTPCI_FLAG_NO_MSIX; in vtpci_init()
439 if (vtpci_disable_msix != 0 || cn->vtpci_flags & VTPCI_FLAG_NO_MSIX) in vtpci_alloc_intr_msix_pervq()
451 cn->vtpci_flags |= VTPCI_FLAG_MSIX; in vtpci_alloc_intr_msix_pervq()
461 if (vtpci_disable_msix != 0 || cn->vtpci_flags & VTPCI_FLAG_NO_MSIX) in vtpci_alloc_intr_msix_shared()
468 cn->vtpci_flags |= VTPCI_FLAG_MSIX | VTPCI_FLAG_SHARED_MSIX; in vtpci_alloc_intr_msix_shared()
479 if (cn->vtpci_flags & VTPCI_FLAG_NO_MSI) in vtpci_alloc_intr_msi()
486 cn->vtpci_flags |= VTPCI_FLAG_MSI; in vtpci_alloc_intr_msi()
495 cn->vtpci_flags | in vtpci_alloc_intr_intx()
[all...]
H A Dvirtio_pci.h51 uint32_t vtpci_flags; member
91 return ((cn->vtpci_flags & VTPCI_FLAG_NO_MSIX) == 0); in vtpci_is_msix_available()
97 return ((cn->vtpci_flags & VTPCI_FLAG_MSIX) != 0); in vtpci_is_msix_enabled()
103 return ((cn->vtpci_flags & VTPCI_FLAG_MODERN) != 0); in vtpci_is_modern()