Lines Matching +full:virtio +full:- +full:pci
4 * Virtio PCI driver - APIs for common functionality for all device versions
6 * This module allows virtio devices to be used over a virtual PCI device.
18 * See the COPYING file in the top-level directory.
24 #include <linux/pci.h>
27 #include <linux/virtio.h>
41 /* MSI-X vector (or none) */
50 /* In legacy mode, these two point to within ->legacy. */
55 /* The IO mapping for the PCI config space (non-legacy mode) */
57 /* Device-specific data (non-legacy mode) */
59 /* Base of vq notifications (non-legacy mode). */
62 /* So we can sanity-check accesses. */
66 /* Capability for when we need to map notifications per-vq. */
69 /* Multiply queue_notify_off by this value. (non-legacy mode). */
75 /* the IO mapping for the PCI config space */
82 /* array of all queues for house-keeping */
85 /* MSI-X support */
94 /* Vectors allocated, excluding per-vq vectors if any */
112 /* Constants for MSI-X */
120 /* Convert a generic virtio device to our structure */
130 /* the config->del_vqs() implementation */
132 /* the config->find_vqs() implementation */
140 * - force the affinity for per vq vector
141 * - OR over all affinities for shared MSI
142 * - ignore the affinity request if we're using INTX
154 return -ENODEV; in virtio_pci_legacy_probe()