Searched refs:is_power_of_2 (Results 1 - 25 of 34) sorted by relevance

12

/netbsd-current/sys/external/bsd/common/include/linux/
H A Dlog2.h41 is_power_of_2(unsigned long x) function
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_ring.h137 GEM_BUG_ON(!is_power_of_2(size));
H A Dintel_ring.c144 GEM_BUG_ON(!is_power_of_2(size));
H A Dintel_workarounds.c98 GEM_BUG_ON(!is_power_of_2(grow));
399 if (!is_power_of_2(RUNTIME_INFO(i915)->sseu.subslice_7eu[i]))
820 if (INTEL_GEN(i915) >= 10 && is_power_of_2(sseu->slice_mask)) {
/netbsd-current/external/gpl2/dtc/dist/
H A Ddtc.c28 static int is_power_of_2(int x) function
210 if (!is_power_of_2(alignsize))
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_gem_fence_reg.c148 GEM_BUG_ON(!is_power_of_2(vma->fence_size));
155 GEM_BUG_ON(!is_power_of_2(stride));
186 GEM_BUG_ON(!is_power_of_2(vma->fence_size));
187 GEM_BUG_ON(!is_power_of_2(stride / 128));
H A Di915_gem_gtt.c231 GEM_BUG_ON(alignment && !is_power_of_2(alignment));
H A Di915_buddy.c114 if (!is_power_of_2(chunk_size))
H A Di915_vma.c229 GEM_BUG_ON(!is_power_of_2(vma->fence_alignment));
595 GEM_BUG_ON(alignment && !is_power_of_2(alignment));
710 GEM_BUG_ON(!is_power_of_2(alignment));
H A Dintel_device_info.c1007 if (enabled_mask == 0 || !is_power_of_2(enabled_mask + 1))
H A Di915_gem.c229 GEM_BUG_ON(!is_power_of_2(mr->min_page_size));
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dia64-linux-nat.c575 is_power_of_2 (int val) function
597 if (len <= 0 || !is_power_of_2 (len))
651 if (len <= 0 || !is_power_of_2 (len))
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dia64-linux-nat.c575 is_power_of_2 (int val) function
596 if (len <= 0 || !is_power_of_2 (len))
651 if (len <= 0 || !is_power_of_2 (len))
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_tiling.c150 if (!is_power_of_2(stride))
/netbsd-current/sys/external/bsd/drm2/dist/drm/
H A Ddrm_blend.c277 WARN_ON(!is_power_of_2(rotation & DRM_MODE_ROTATE_MASK));
H A Ddrm_mm.c625 remainder_mask = is_power_of_2(alignment) ? alignment - 1 : 0;
850 scan->remainder_mask = is_power_of_2(alignment) ? alignment - 1 : 0;
H A Ddrm_property.c81 if (legacy_type && !is_power_of_2(legacy_type))
H A Ddrm_atomic_uapi.c571 if (!is_power_of_2(val & DRM_MODE_ROTATE_MASK)) {
/netbsd-current/external/bsd/flex/dist/src/
H A Dflexdef.h124 #define is_power_of_2(n) ((n) > 0 && ((n) & ((n) - 1)) == 0) macro
H A Ddfa.c467 if (numecs <= csize && is_power_of_2(numecs)) {
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/selftests/
H A Di915_syncmap.c528 if (!is_power_of_2(leaf->bitmap)) {
H A Di915_buddy.c70 if (!is_power_of_2(block_size)) {
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
H A Dkfd_chardev.c189 if (!is_power_of_2(args->ring_size) && (args->ring_size != 0)) {
392 if (!is_power_of_2(args->ring_size) && (args->ring_size != 0)) {
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/
H A Dhuge_pages.c1361 GEM_BUG_ON(!is_power_of_2(min_page_size));
1362 GEM_BUG_ON(!is_power_of_2(max_page_size));
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_gem.c240 if (is_power_of_2(nvbo->valid_domains))

Completed in 485 milliseconds

12