Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/addrlib/core/
Daddrcommon.h70 #define BITS_PER_BYTE 8 macro
71 #define BITS_TO_BYTES(x) ( ((x) + (BITS_PER_BYTE-1)) / BITS_PER_BYTE )
72 #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/ltp/testcases/kernel/syscalls/getcpu/
Dgetcpu01.c245 #define BITS_PER_BYTE 8 macro
249 for (index = 0; index < size * BITS_PER_BYTE; index++) in max_cpuid()
/external/f2fs-tools/include/
Df2fs_fs.h276 #define BITS_PER_BYTE 8 macro
1019 #define SIZE_OF_DENTRY_BITMAP ((NR_DENTRY_IN_BLOCK + BITS_PER_BYTE - 1) / \
1020 BITS_PER_BYTE)
1047 #define NR_INLINE_DENTRY(node) (MAX_INLINE_DATA(node) * BITS_PER_BYTE / \
1049 BITS_PER_BYTE + 1))
1051 BITS_PER_BYTE - 1) / BITS_PER_BYTE)
/external/f2fs-tools/lib/
Dlibf2fs.c347 #define BITMAP_FIRST_BYTE_MASK(start) (0xff << ((start) & (BITS_PER_BYTE - 1)))
356 tmp = addr[start / BITS_PER_BYTE] ^ invert; in _find_next_bit_le()
360 start = round_down(start, BITS_PER_BYTE); in _find_next_bit_le()
363 start += BITS_PER_BYTE; in _find_next_bit_le()
367 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.c145 #define BITS_PER_BYTE (8) macro
146 #define BITS_PER_LONG (sizeof(long) * BITS_PER_BYTE)
/external/mesa3d/src/amd/addrlib/r800/
Degbaddrlib.cpp3411 *pBitPosition = ((pixelIndex * numSamples) + sample) & (BITS_PER_BYTE-1); in ComputeFmaskAddrFromCoordMicroTiled()
3528 *pBitPosition = ((pixelIndex * numSamples) + sample) & (BITS_PER_BYTE-1); in ComputeFmaskAddrFromCoordMacroTiled()
/external/f2fs-tools/fsck/
Dmount.c903 int nid_bitmap_size = (nm_i->max_nid + BITS_PER_BYTE - 1) / BITS_PER_BYTE; in f2fs_init_nid_bitmap()