Searched refs:swap_bits (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/lib/ |
H A D | bch.c | 120 if (!bch->swap_bits) in swap_bits() 138 u8 tmp = swap_bits(bch, *data++); in bch_encode_unaligned() 162 swap_bits(bch, src[3]); in load_ecc8() 167 ((u32)swap_bits(bch, pad[2]) << 8) | in load_ecc8() 168 swap_bits(bch, pad[3]); in load_ecc8() 184 *dst++ = swap_bits(bch, src[i]); in store_ecc8() 261 if (bch->swap_bits) in bch_encode() 262 w = (u32)swap_bits(bch, w) | in bch_encode() 1074 if (!bch->swap_bits) in bch_decode() 1286 bool swap_bits) in bch_init() argument [all …]
|
/openbmc/linux/include/linux/ |
H A D | bch.h | 55 bool swap_bits; member 59 bool swap_bits);
|
/openbmc/u-boot/tools/ |
H A D | sunxi-spl-image-builder.c | 35 static void swap_bits(uint8_t *buf, int len) in swap_bits() function 215 swap_bits(buffer, info->ecc_step_size + 4); in write_page() 217 swap_bits(buffer, info->ecc_step_size + 4); in write_page() 218 swap_bits(ecc, eccbytes); in write_page()
|
/openbmc/linux/drivers/media/usb/gspca/ |
H A D | nw80x.c | 1637 static int swap_bits(int v) in swap_bits() function 1662 val = swap_bits(val); in setgain()
|