Home
last modified time | relevance | path

Searched refs:BITS_PER_BYTE (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/drivers/reset/
Dreset-socfpga.c35 int bank = id / (reg_width * BITS_PER_BYTE); in socfpga_reset_assert()
36 int offset = id % (reg_width * BITS_PER_BYTE); in socfpga_reset_assert()
47 int bank = id / (reg_width * BITS_PER_BYTE); in socfpga_reset_deassert()
48 int offset = id % (reg_width * BITS_PER_BYTE); in socfpga_reset_deassert()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h16 #ifndef BITS_PER_BYTE
17 #define BITS_PER_BYTE 8 macro
21 #define BITS_PER_LONG (BITS_PER_BYTE * sizeof(long))
/external/u-boot/include/linux/
Dbitops.h15 #define BITS_PER_BYTE 8 macro
16 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))
/external/mesa3d/src/amd/addrlib/core/
Daddrcommon.h196 #define BITS_PER_BYTE 8 macro
197 #define BITS_TO_BYTES(x) ( ((x) + (BITS_PER_BYTE-1)) / BITS_PER_BYTE )
198 #define BYTES_TO_BITS(x) ( (x) * BITS_PER_BYTE )
/external/perf_data_converter/src/quipper/kernel/
Dperf_internals.h70 #define BITS_PER_BYTE 8 macro
73 DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))
88 #undef BITS_PER_BYTE
/external/u-boot/arch/arm/include/asm/arch-sunxi/
Ddram_sunxi_dw.h215 #define NR_OF_BYTE_LANES (32 / BITS_PER_BYTE)
217 #define LINES_PER_BYTE_LANE (BITS_PER_BYTE + 3)
/external/f2fs-tools/include/
Df2fs_fs.h281 #define BITS_PER_BYTE 8 macro
1069 #define SIZE_OF_DENTRY_BITMAP ((NR_DENTRY_IN_BLOCK + BITS_PER_BYTE - 1) / \
1070 BITS_PER_BYTE)
1098 #define NR_INLINE_DENTRY(node) (MAX_INLINE_DATA(node) * BITS_PER_BYTE / \
1100 BITS_PER_BYTE + 1))
1102 BITS_PER_BYTE - 1) / BITS_PER_BYTE)
/external/f2fs-tools/lib/
Dlibf2fs.c348 #define BITMAP_FIRST_BYTE_MASK(start) (0xff << ((start) & (BITS_PER_BYTE - 1)))
357 tmp = addr[start / BITS_PER_BYTE] ^ invert; in _find_next_bit_le()
361 start = round_down(start, BITS_PER_BYTE); in _find_next_bit_le()
364 start += BITS_PER_BYTE; in _find_next_bit_le()
368 tmp = addr[start / BITS_PER_BYTE] ^ invert; in _find_next_bit_le()
/external/adhd/cras/src/tests/
Dalsa_jack_unittest.cc27 #define BITS_PER_BYTE (8) macro
28 #define BITS_PER_LONG (sizeof(long) * BITS_PER_BYTE)
/external/adhd/cras/src/server/
Dcras_alsa_jack.c151 #define BITS_PER_BYTE (8) macro
152 #define BITS_PER_LONG (sizeof(long) * BITS_PER_BYTE)
/external/f2fs-tools/fsck/
Dmount.c1031 int nid_bitmap_size = (nm_i->max_nid + BITS_PER_BYTE - 1) / BITS_PER_BYTE; in f2fs_init_nid_bitmap()
/external/u-boot/drivers/mtd/nand/
Dnand_base.c1109 bitflips += BITS_PER_BYTE - weight; in nand_check_erased_buf()
1123 bitflips += BITS_PER_BYTE - weight; in nand_check_erased_buf()