Lines Matching +full:write +full:- +full:to +full:- +full:read
4 * This module allows virtio devices to be used over a virtual PCI device.
12 * This header is BSD licensed so anyone can use the definitions to implement
24 * may be used to endorse or promote products derived from this software
27 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
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)
87 /* How many bits to shift physical queue address written to QUEUE_PFN.
88 * 12 is historical, and due to x86 page size. */
91 /* The alignment to use between consumer and producer parts of vring.
99 /* Vector value used to disable MSI for queue */
125 __u8 bar; /* Where to find it. */
127 __u8 padding[2]; /* Pad to full dword. */
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 */
176 __le16 queue_notify_data; /* read-write */
177 __le16 queue_reset; /* read-write */
179 __le16 admin_queue_index; /* read-only */
180 __le16 admin_queue_num; /* read-only */
246 * 1 - SR-IOV
247 * 2-65535 - reserved
263 __u8 offset; /* Starting offset of the register(s) to write. */
269 __u8 offset; /* Starting offset of the register(s) to read. */