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.
47 /* A 32-bit r/o bitmask of the features supported by the host */
50 /* A 32-bit r/w bitmask of features activated by the guest */
53 /* A 32-bit r/w PFN for the currently selected queue */
56 /* A 16-bit r/o queue size for the currently selected queue */
59 /* A 16-bit r/w queue selector */
62 /* A 16-bit r/w queue notifier */
65 /* An 8-bit device status register. */
68 /* An 8-bit r/o interrupt status register. Reading the value will return the
70 * a read-and-acknowledge. */
73 /* MSI-X registers: only enabled if MSI-X is enabled. */
74 /* A 16-bit vector for configuration changes. */
76 /* A 16-bit vector for selected queue notifications. */
79 /* The remaining space is defined by each driver as the per-driver
83 #define VIRTIO_PCI_CONFIG(dev) VIRTIO_PCI_CONFIG_OFF((dev)->msix_enabled)
85 /* Virtio ABI version, this must match exactly */
115 /* PCI configuration access */
119 /* PCI vendor data configuration */
122 /* This is the PCI capability header: */
124 __u8 cap_vndr; /* Generic PCI field: PCI_CAP_ID_VNDR */
125 __u8 cap_next; /* Generic PCI field: next ptr. */
126 __u8 cap_len; /* Generic PCI field: capability length */
135 /* This is the PCI vendor data capability header: */
137 __u8 cap_vndr; /* Generic PCI field: PCI_CAP_ID_VNDR */
138 __u8 cap_next; /* Generic PCI field: next ptr. */
139 __u8 cap_len; /* Generic PCI field: capability length */
141 __u16 vendor_id; /* Identifies the vendor-specific format. */
161 __le32 device_feature_select; /* read-write */
162 __le32 device_feature; /* read-only */
163 __le32 guest_feature_select; /* read-write */
164 __le32 guest_feature; /* read-write */
165 __le16 msix_config; /* read-write */
166 __le16 num_queues; /* read-only */
167 __u8 device_status; /* read-write */
168 __u8 config_generation; /* read-only */
171 __le16 queue_select; /* read-write */
172 __le16 queue_size; /* read-write, power of 2. */
173 __le16 queue_msix_vector; /* read-write */
174 __le16 queue_enable; /* read-write */
175 __le16 queue_notify_off; /* read-only */
176 __le32 queue_desc_lo; /* read-write */
177 __le32 queue_desc_hi; /* read-write */
178 __le32 queue_avail_lo; /* read-write */
179 __le32 queue_avail_hi; /* read-write */
180 __le32 queue_used_lo; /* read-write */
181 __le32 queue_used_hi; /* read-write */
191 __le16 queue_notify_data; /* read-write */
192 __le16 queue_reset; /* read-write */
194 __le16 admin_queue_index; /* read-only */
195 __le16 admin_queue_num; /* read-only */
273 * 1 - SR-IOV
274 * 2-65535 - reserved