1 // SPDX-License-Identifier: GPL-2.0
4 #include <linux/types.h>
6 void mem_bswap_32(void *src, int byte_size)
9 while (byte_size > 0) {
11 byte_size -= sizeof(u32);
16 void mem_bswap_64(void *src, int byte_size)
20 while (byte_size > 0) {
22 byte_size -= sizeof(u64);