Lines Matching +full:virtio +full:- +full:pci
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Virtio PCI driver - APIs for common functionality for all device versions
7 * This module allows virtio devices to be used over a virtual PCI device.
21 #include <linux/pci.h>
24 #include <linux/virtio.h>
41 /* MSI-X vector (or none) */
74 * PCI common config num_queues field
80 /* MSI-X support */
89 /* Vectors allocated, excluding per-vq vectors if any */
108 /* Constants for MSI-X */
116 /* Convert a generic virtio device to our structure */
126 /* the config->del_vqs() implementation */
128 /* the config->find_vqs() implementation */
136 * - force the affinity for per vq vector
137 * - OR over all affinities for shared MSI
138 * - ignore the affinity request if we're using INTX
150 return -ENODEV; in virtio_pci_legacy_probe()
168 /* Unlike modern drivers which support hardware virtio devices, legacy drivers
169 * assume software-based devices: e.g. they don't use proper memory barriers