Home
last modified time | relevance | path

Searched refs:swap_bits (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/lib/
H A Dbch.c118 static u8 swap_bits(struct bch_control *bch, u8 in) in swap_bits() function
120 if (!bch->swap_bits) in swap_bits()
138 u8 tmp = swap_bits(bch, *data++); in bch_encode_unaligned()
159 dst[i] = ((u32)swap_bits(bch, src[0]) << 24) | in load_ecc8()
160 ((u32)swap_bits(bch, src[1]) << 16) | in load_ecc8()
161 ((u32)swap_bits(bch, src[2]) << 8) | in load_ecc8()
162 swap_bits(bch, src[3]); in load_ecc8()
165 dst[nwords] = ((u32)swap_bits(bch, pad[0]) << 24) | in load_ecc8()
166 ((u32)swap_bits(bch, pad[1]) << 16) | in load_ecc8()
167 ((u32)swap_bits(bch, pad[2]) << 8) | in load_ecc8()
[all …]
/openbmc/linux/include/linux/
H A Dbch.h55 bool swap_bits; member
59 bool swap_bits);
/openbmc/u-boot/tools/
H A Dsunxi-spl-image-builder.c35 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 Dnw80x.c1637 static int swap_bits(int v) in swap_bits() function
1662 val = swap_bits(val); in setgain()