Lines Matching +full:virtio +full:- +full:pci

2  * Virtio PCI driver
4 * This module allows virtio devices to be used over a virtual PCI device.
46 /* A 32-bit r/o bitmask of the features supported by the host */
49 /* A 32-bit r/w bitmask of features activated by the guest */
52 /* A 32-bit r/w PFN for the currently selected queue */
55 /* A 16-bit r/o queue size for the currently selected queue */
58 /* A 16-bit r/w queue selector */
61 /* A 16-bit r/w queue notifier */
64 /* An 8-bit device status register. */
67 /* An 8-bit r/o interrupt status register. Reading the value will return the
69 * a read-and-acknowledge. */
72 /* MSI-X registers: only enabled if MSI-X is enabled. */
73 /* A 16-bit vector for configuration changes. */
75 /* A 16-bit vector for selected queue notifications. */
78 /* The remaining space is defined by each driver as the per-driver
82 #define VIRTIO_PCI_CONFIG(dev) VIRTIO_PCI_CONFIG_OFF((dev)->msix_enabled)
84 /* Virtio ABI version, this must match exactly */
114 /* PCI configuration access */
119 /* This is the PCI capability header: */
121 __u8 cap_vndr; /* Generic PCI field: PCI_CAP_ID_VNDR */
122 __u8 cap_next; /* Generic PCI field: next ptr. */
123 __u8 cap_len; /* Generic PCI field: capability length */
146 __le32 device_feature_select; /* read-write */
147 __le32 device_feature; /* read-only */
148 __le32 guest_feature_select; /* read-write */
149 __le32 guest_feature; /* read-write */
150 __le16 msix_config; /* read-write */
151 __le16 num_queues; /* read-only */
152 __u8 device_status; /* read-write */
153 __u8 config_generation; /* read-only */
156 __le16 queue_select; /* read-write */
157 __le16 queue_size; /* read-write, power of 2. */
158 __le16 queue_msix_vector; /* read-write */
159 __le16 queue_enable; /* read-write */
160 __le16 queue_notify_off; /* read-only */
161 __le32 queue_desc_lo; /* read-write */
162 __le32 queue_desc_hi; /* read-write */
163 __le32 queue_avail_lo; /* read-write */
164 __le32 queue_avail_hi; /* read-write */
165 __le32 queue_used_lo; /* read-write */
166 __le32 queue_used_hi; /* read-write */