Home
last modified time | relevance | path

Searched refs:BITS_PER_LONG (Results 1 – 14 of 14) sorted by relevance

/dragonfly/sys/dev/drm/include/linux/
HDbitops.h36 #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 …]
HDbitmap.h39 if (nbits <= BITS_PER_LONG) { in bitmap_or()
42 int chunks = DIV_ROUND_UP(nbits, BITS_PER_LONG); in bitmap_or()
HDhash.h50 #if BITS_PER_LONG == 64 /* amd64 */
/dragonfly/sys/dev/drm/include/asm/bitops/
HDnon-atomic.h32 *(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/
HDchash.h32 #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/
HDbus_autoconf_format_example.txt45 #if BITS_PER_LONG == 32 || BITS_PER_LONG == 64
50 #if BITS_PER_LONG == 64
/dragonfly/sys/dev/drm/include/asm/
HDbitsperlong.h30 #define BITS_PER_LONG 64 macro
/dragonfly/sys/contrib/dev/acpica/source/include/platform/
HDaclinux.h246 #define ACPI_MACHINE_WIDTH BITS_PER_LONG
/dragonfly/sys/dev/raid/hptmv/
HDosbsd.h244 #define BITS_PER_LONG 64 macro
/dragonfly/sys/dev/drm/
HDdrm_gem.c117 #if BITS_PER_LONG == 64
HDdrm_bufs.c86 #if (BITS_PER_LONG == 64) in drm_map_handle()
88 #elif (BITS_PER_LONG == 32) in drm_map_handle()
/dragonfly/sys/dev/drm/i915/
HDintel_fbdev.c356 unsigned int count = min(fb_helper->connector_count, BITS_PER_LONG); in intel_fb_initial_config()
HDi915_drv.h1663 #define I915_WEDGED (BITS_PER_LONG - 1)
2951 GENMASK((e) != GEN_FOREVER ? (e) - 1 : BITS_PER_LONG - 1, \
/dragonfly/sys/dev/drm/amd/amdgpu/
HDamdgpu.h1039 unsigned long used[DIV_ROUND_UP(AMDGPU_MAX_WB, BITS_PER_LONG)];