Searched refs:vtpci_common (Results 1 - 4 of 4) sorted by relevance
/freebsd-13-stable/sys/dev/virtio/pci/ |
H A D | virtio_pci.h | 46 struct vtpci_common { struct 85 vtpci_child_device(struct vtpci_common *cn) 91 vtpci_is_msix_available(struct vtpci_common *cn) 97 vtpci_is_msix_enabled(struct vtpci_common *cn) 103 vtpci_is_modern(struct vtpci_common *cn) 109 vtpci_virtqueue_count(struct vtpci_common *cn) 114 void vtpci_init(struct vtpci_common *cn, device_t dev, bool modern); 115 int vtpci_add_child(struct vtpci_common *cn); 116 int vtpci_delete_child(struct vtpci_common *cn); 117 void vtpci_child_detached(struct vtpci_common *c [all...] |
H A D | virtio_pci.c | 57 static void vtpci_describe_features(struct vtpci_common *, const char *, 59 static int vtpci_alloc_msix(struct vtpci_common *, int); 60 static int vtpci_alloc_msi(struct vtpci_common *); 61 static int vtpci_alloc_intr_msix_pervq(struct vtpci_common *); 62 static int vtpci_alloc_intr_msix_shared(struct vtpci_common *); 63 static int vtpci_alloc_intr_msi(struct vtpci_common *); 64 static int vtpci_alloc_intr_intx(struct vtpci_common *); 65 static int vtpci_alloc_interrupt(struct vtpci_common *, int, int, 67 static void vtpci_free_interrupt(struct vtpci_common *, 70 static void vtpci_free_interrupts(struct vtpci_common *); [all...] |
H A D | virtio_pci_legacy.c | 61 struct vtpci_common vtpci_common; member in struct:vtpci_legacy_softc 115 VIRTIO_PCI_CONFIG_OFF(vtpci_is_msix_enabled(&(_sc)->vtpci_common)) 231 vtpci_init(&sc->vtpci_common, dev, false); 239 if (vtpci_is_msix_available(&sc->vtpci_common) && 251 error = vtpci_add_child(&sc->vtpci_common); 274 error = vtpci_delete_child(&sc->vtpci_common); 321 vtpci_child_detached(&sc->vtpci_common); 332 struct vtpci_common *cn; 335 cn = &sc->vtpci_common; [all...] |
H A D | virtio_pci_modern.c | 75 struct vtpci_common vtpci_common; member in struct:vtpci_modern_softc 292 vtpci_init(&sc->vtpci_common, dev, true); 312 error = vtpci_add_child(&sc->vtpci_common); 335 error = vtpci_delete_child(&sc->vtpci_common); 381 vtpci_child_detached(&sc->vtpci_common); 392 struct vtpci_common *cn; 395 cn = &sc->vtpci_common; 416 struct vtpci_common *cn; 419 cn = &sc->vtpci_common; [all...] |
Completed in 166 milliseconds