Home
last modified time | relevance | path

Searched hist:a5cfc1ec58a07074dacb6aa8c79eff864c966d12 (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/lib/
H A Dbitrev.c0dd9c7a924f9a7b15fdb15d9005fd5506965f49f Fri Apr 12 13:59:17 CDT 2013 Mike Dunn <mikedunn@newsguy.com> lib: import bitrev library from the linux kernel

This patch adds the bitrev library from the linux kernel. This is a simple
algorithm that uses an 8 bit look-up table to reverse the bits in data types of
8, 16, or 32 bit widths. The docg4 nand flash driver uses it.

[port from linux kernel v3.9 commit 7ee32a6d30d1c8a3b7a07a6269da8f0a08662927]
[originally added: v2.6.20 by commit a5cfc1ec58a07074dacb6aa8c79eff864c966d12]

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
H A DMakefile0dd9c7a924f9a7b15fdb15d9005fd5506965f49f Fri Apr 12 13:59:17 CDT 2013 Mike Dunn <mikedunn@newsguy.com> lib: import bitrev library from the linux kernel

This patch adds the bitrev library from the linux kernel. This is a simple
algorithm that uses an 8 bit look-up table to reverse the bits in data types of
8, 16, or 32 bit widths. The docg4 nand flash driver uses it.

[port from linux kernel v3.9 commit 7ee32a6d30d1c8a3b7a07a6269da8f0a08662927]
[originally added: v2.6.20 by commit a5cfc1ec58a07074dacb6aa8c79eff864c966d12]

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
/openbmc/u-boot/include/linux/
H A Dbitrev.h0dd9c7a924f9a7b15fdb15d9005fd5506965f49f Fri Apr 12 13:59:17 CDT 2013 Mike Dunn <mikedunn@newsguy.com> lib: import bitrev library from the linux kernel

This patch adds the bitrev library from the linux kernel. This is a simple
algorithm that uses an 8 bit look-up table to reverse the bits in data types of
8, 16, or 32 bit widths. The docg4 nand flash driver uses it.

[port from linux kernel v3.9 commit 7ee32a6d30d1c8a3b7a07a6269da8f0a08662927]
[originally added: v2.6.20 by commit a5cfc1ec58a07074dacb6aa8c79eff864c966d12]

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
/openbmc/linux/lib/
H A Dbitrev.ca5cfc1ec58a07074dacb6aa8c79eff864c966d12 Fri Dec 08 04:36:25 CST 2006 Akinobu Mita <akinobu.mita@gmail.com> [PATCH] bit reverse library

This patch provides two bit reverse functions and bit reverse table.

- reverse the order of bits in a u32 value

u8 bitrev8(u8 x);

- reverse the order of bits in a u32 value

u32 bitrev32(u32 x);

- byte reverse table

const u8 byte_rev_table[256];

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
H A DKconfiga5cfc1ec58a07074dacb6aa8c79eff864c966d12 Fri Dec 08 04:36:25 CST 2006 Akinobu Mita <akinobu.mita@gmail.com> [PATCH] bit reverse library

This patch provides two bit reverse functions and bit reverse table.

- reverse the order of bits in a u32 value

u8 bitrev8(u8 x);

- reverse the order of bits in a u32 value

u32 bitrev32(u32 x);

- byte reverse table

const u8 byte_rev_table[256];

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
H A DMakefilea5cfc1ec58a07074dacb6aa8c79eff864c966d12 Fri Dec 08 04:36:25 CST 2006 Akinobu Mita <akinobu.mita@gmail.com> [PATCH] bit reverse library

This patch provides two bit reverse functions and bit reverse table.

- reverse the order of bits in a u32 value

u8 bitrev8(u8 x);

- reverse the order of bits in a u32 value

u32 bitrev32(u32 x);

- byte reverse table

const u8 byte_rev_table[256];

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
/openbmc/linux/include/linux/
H A Dbitrev.ha5cfc1ec58a07074dacb6aa8c79eff864c966d12 Fri Dec 08 04:36:25 CST 2006 Akinobu Mita <akinobu.mita@gmail.com> [PATCH] bit reverse library

This patch provides two bit reverse functions and bit reverse table.

- reverse the order of bits in a u32 value

u8 bitrev8(u8 x);

- reverse the order of bits in a u32 value

u32 bitrev32(u32 x);

- byte reverse table

const u8 byte_rev_table[256];

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>