linux/include/linux/swab.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_SWAB_H
#define _LINUX_SWAB_H

#include <uapi/linux/swab.h>

#define swab16
#define swab32
#define swab64
#define swab
#define swahw32
#define swahb32
#define swab16p
#define swab32p
#define swab64p
#define swahw32p
#define swahb32p
#define swab16s
#define swab32s
#define swab64s
#define swahw32s
#define swahb32s

static inline void swab16_array(u16 *buf, unsigned int words)
{}

static inline void swab32_array(u32 *buf, unsigned int words)
{}

static inline void swab64_array(u64 *buf, unsigned int words)
{}

#endif /* _LINUX_SWAB_H */