Searched refs:BITS_PER_LONG (Results 1 – 14 of 14) sorted by relevance
| /dragonfly/sys/dev/drm/include/linux/ |
| HD | bitops.h | 36 #define BIT_MASK(n) (~0UL >> (BITS_PER_LONG - (n))) 37 #define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG) 38 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) 100 for (bit = 0; size >= BITS_PER_LONG; in find_first_bit() 101 size -= BITS_PER_LONG, bit += BITS_PER_LONG, addr++) { in find_first_bit() 122 for (bit = 0; size >= BITS_PER_LONG; in find_first_zero_bit() 123 size -= BITS_PER_LONG, bit += BITS_PER_LONG, addr++) { in find_first_zero_bit() 146 pos = size / BITS_PER_LONG; in find_last_bit() 147 offs = size % BITS_PER_LONG; in find_last_bit() 148 bit = BITS_PER_LONG * pos; in find_last_bit() [all …]
|
| HD | bitmap.h | 39 if (nbits <= BITS_PER_LONG) { in bitmap_or() 42 int chunks = DIV_ROUND_UP(nbits, BITS_PER_LONG); in bitmap_or()
|
| HD | hash.h | 50 #if BITS_PER_LONG == 64 /* amd64 */
|
| /dragonfly/sys/dev/drm/include/asm/bitops/ |
| HD | non-atomic.h | 32 *(addr + (nr / BITS_PER_LONG)) |= (1LU << (nr % BITS_PER_LONG)); in __set_bit() 37 *(addr + (nr / BITS_PER_LONG)) &= ~(1LU << (nr % BITS_PER_LONG)); in __clear_bit()
|
| /dragonfly/sys/dev/drm/amd/include/linux/ |
| HD | chash.h | 32 #if BITS_PER_LONG == 32 34 #elif BITS_PER_LONG == 64 60 (((1 << (bits)) + BITS_PER_LONG - 1) / BITS_PER_LONG) 268 1UL << ((s) & (BITS_PER_LONG - 1)), \ 277 (iter).mask = 1UL << ((s) & (BITS_PER_LONG - 1)), \ 287 (iter).mask >> (BITS_PER_LONG - 1); \
|
| /dragonfly/tools/tools/bus_autoconf/ |
| HD | bus_autoconf_format_example.txt | 45 #if BITS_PER_LONG == 32 || BITS_PER_LONG == 64 50 #if BITS_PER_LONG == 64
|
| /dragonfly/sys/dev/drm/include/asm/ |
| HD | bitsperlong.h | 30 #define BITS_PER_LONG 64 macro
|
| /dragonfly/sys/contrib/dev/acpica/source/include/platform/ |
| HD | aclinux.h | 246 #define ACPI_MACHINE_WIDTH BITS_PER_LONG
|
| /dragonfly/sys/dev/raid/hptmv/ |
| HD | osbsd.h | 244 #define BITS_PER_LONG 64 macro
|
| /dragonfly/sys/dev/drm/ |
| HD | drm_gem.c | 117 #if BITS_PER_LONG == 64
|
| HD | drm_bufs.c | 86 #if (BITS_PER_LONG == 64) in drm_map_handle() 88 #elif (BITS_PER_LONG == 32) in drm_map_handle()
|
| /dragonfly/sys/dev/drm/i915/ |
| HD | intel_fbdev.c | 356 unsigned int count = min(fb_helper->connector_count, BITS_PER_LONG); in intel_fb_initial_config()
|
| HD | i915_drv.h | 1663 #define I915_WEDGED (BITS_PER_LONG - 1) 2951 GENMASK((e) != GEN_FOREVER ? (e) - 1 : BITS_PER_LONG - 1, \
|
| /dragonfly/sys/dev/drm/amd/amdgpu/ |
| HD | amdgpu.h | 1039 unsigned long used[DIV_ROUND_UP(AMDGPU_MAX_WB, BITS_PER_LONG)];
|