linux/include/linux/virtio_byteorder.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_VIRTIO_BYTEORDER_H
#define _LINUX_VIRTIO_BYTEORDER_H
#include <linux/types.h>
#include <uapi/linux/virtio_types.h>

static inline bool virtio_legacy_is_little_endian(void)
{}

static inline u16 __virtio16_to_cpu(bool little_endian, __virtio16 val)
{}

static inline __virtio16 __cpu_to_virtio16(bool little_endian, u16 val)
{}

static inline u32 __virtio32_to_cpu(bool little_endian, __virtio32 val)
{}

static inline __virtio32 __cpu_to_virtio32(bool little_endian, u32 val)
{}

static inline u64 __virtio64_to_cpu(bool little_endian, __virtio64 val)
{}

static inline __virtio64 __cpu_to_virtio64(bool little_endian, u64 val)
{}

#endif /* _LINUX_VIRTIO_BYTEORDER */