/* The bit 0 of the @virtio_i2c_out_hdr.@flags, used to group the requests */ #define VIRTIO_I2C_FLAGS_FAIL_NEXT _BITUL(0)
/* The bit 1 of the @virtio_i2c_out_hdr.@flags, used to mark a buffer as read */ #define VIRTIO_I2C_FLAGS_M_RD _BITUL(1)
/** * struct virtio_i2c_out_hdr - the virtio I2C message OUT header * @addr: the controlled device address * @padding: used to pad to full dword * @flags: used for feature extensibility
*/ struct virtio_i2c_out_hdr {
__le16 addr;
__le16 padding;
__le32 flags;
};
/** * struct virtio_i2c_in_hdr - the virtio I2C message IN header * @status: the processing result from the backend
*/ struct virtio_i2c_in_hdr {
__u8 status;
};
/* The final status written by the device */ #define VIRTIO_I2C_MSG_OK 0 #define VIRTIO_I2C_MSG_ERR 1
#endif/* _UAPI_LINUX_VIRTIO_I2C_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.