lin
2025-04-14 e0c033f30287744d392a8d700693b1c0b78afc7c
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * SPDX-License-Identifier: GPL-2.0+
 *
 * Based on bitrev from the Linux kernel, by Akinobu Mita
 */
 
extern u8 const byte_rev_table[256];
 
static inline u8 bitrev8(u8 byte)
{
   return byte_rev_table[byte];
}