Lines Matching +full:write +full:- +full:data
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
11 * enum virtio_pcidev_ops - virtual PCI device operations
14 * the @data field should be filled in by the device (in little endian).
15 * @VIRTIO_PCIDEV_OP_CFG_WRITE: write config space, size is 1, 2, 4 or 8;
16 * the @data field contains the data to write (in little endian).
18 * the @data field should be filled in by the device (in little endian).
19 * @VIRTIO_PCIDEV_OP_MMIO_WRITE: write BAR mem/pio, size can be variable;
20 * the @data field contains the data to write (in little endian).
22 * the @data field only has one byte (unlike @VIRTIO_PCIDEV_OP_MMIO_WRITE)
23 * @VIRTIO_PCIDEV_OP_INT: legacy INTx# pin interrupt, the addr field is 1-4 for
25 * @VIRTIO_PCIDEV_OP_MSI: MSI(-X) interrupt, this message basically transports
26 * the 16- or 32-bit write that would otherwise be done into memory,
27 * analogous to the write messages (@VIRTIO_PCIDEV_OP_MMIO_WRITE) above
44 * struct virtio_pcidev_msg - virtio PCI device operation
46 * @bar: the bar (only with BAR read/write messages)
48 * @size: the size of the read/write (in bytes)
49 * @addr: the address to read/write
50 * @data: the data, normally @size long, but just one byte for
54 * @data values will often be in little endian (see the ops above.)
62 __u8 data[]; member