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) */
80 * PCI common config num_queues field
86 /* MSI-X support */
95 /* Vectors allocated, excluding per-vq vectors if any */
114 /* Constants for MSI-X */
122 /* Convert a generic virtio device to our structure */
132 /* the config->del_vqs() implementation */
134 /* the config->find_vqs() implementation */
141 * - force the affinity for per vq vector
142 * - OR over all affinities for shared MSI
143 * - ignore the affinity request if we're using INTX
155 return -ENODEV; in virtio_pci_legacy_probe()
184 /* Unlike modern drivers which support hardware virtio devices, legacy drivers
185 * assume software-based devices: e.g. they don't use proper memory barriers