Home
last modified time | relevance | path

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

/freebsd/sys/dev/virtio/pci/
H A Dvirtio_pci.h44 struct vtpci_common { struct
83 vtpci_child_device(struct vtpci_common *cn) in vtpci_child_device() argument
89 vtpci_is_msix_available(struct vtpci_common *cn) in vtpci_is_msix_available()
95 vtpci_is_msix_enabled(struct vtpci_common *cn) in vtpci_is_msix_enabled()
101 vtpci_is_modern(struct vtpci_common *cn) in vtpci_is_modern()
107 vtpci_virtqueue_count(struct vtpci_common *cn) in vtpci_virtqueue_count()
112 void vtpci_init(struct vtpci_common *cn, device_t dev, bool modern);
113 int vtpci_add_child(struct vtpci_common *cn);
114 int vtpci_delete_child(struct vtpci_common *cn);
115 void vtpci_child_detached(struct vtpci_common *cn);
[all …]
H A Dvirtio_pci.c54 static void vtpci_describe_features(struct vtpci_common *, const char *,
56 static int vtpci_alloc_msix(struct vtpci_common *, int);
57 static int vtpci_alloc_msi(struct vtpci_common *);
58 static int vtpci_alloc_intr_msix_pervq(struct vtpci_common *);
59 static int vtpci_alloc_intr_msix_shared(struct vtpci_common *);
60 static int vtpci_alloc_intr_msi(struct vtpci_common *);
61 static int vtpci_alloc_intr_intx(struct vtpci_common *);
62 static int vtpci_alloc_interrupt(struct vtpci_common *, int, int,
64 static void vtpci_free_interrupt(struct vtpci_common *,
67 static void vtpci_free_interrupts(struct vtpci_common *);
[all …]