Home
last modified time | relevance | path

Searched refs:ffs (Results 1 - 25 of 192) sorted by relevance

12345678

/third_party/mesa3d/src/intel/isl/
H A Disl_gfx9.c52 .w = 1 << (12 - (ffs(bpb) - 4) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
63 .w = 1 << (6 - ((ffs(bpb) - 4) / 2) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
64 .h = 1 << (6 - ((ffs(bpb) - 3) / 2) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
77 align_sa->w >>= (ffs(info->samples) - 0) / 2; in gfx9_calc_std_image_alignment_sa()
78 align_sa->h >>= (ffs(info->samples) - 1) / 2; in gfx9_calc_std_image_alignment_sa()
89 .w = 1 << (4 - ((ffs(bpb) - 2) / 3) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
90 .h = 1 << (4 - ((ffs(bpb) - 4) / 3) + (2 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
91 .d = 1 << (4 - ((ffs(bpb) - 3) / 3) + (2 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dffs.c25 int result = ffs(0); in ffs_0100()
36 int result = ffs(1); in ffs_0200()
47 int result = ffs(2); in ffs_0300()
58 int result = ffs(3); in ffs_0400()
69 int result = ffs(128); in ffs_0500()
/third_party/mesa3d/src/util/
H A Dbitscan.h55 #define ffs __builtin_ffs macro
58 int ffs(int i) in ffs() function
68 int ffs(int i);
100 const int i = ffs(*mask) - 1; in u_bit_scan()
107 ((b) = ffs(__dword) - 1, __dword); \
190 *start = ffs(*mask) - 1; in u_bit_scan_consecutive_range()
191 *count = ffs(~(*mask >> *start)) - 1; in u_bit_scan_consecutive_range()
213 * Essentially ffs() in the reverse direction.
H A Dbitscan.c35 ffs(int i) in ffs() function
70 bit = ffs((unsigned) (val & 0xffffffff)); in ffsll()
74 bit = ffs((unsigned) (val >> 32)); in ffsll()
H A Dbitset.h306 return ffs(x[i]) + BITSET_WORDBITS * i;
353 bit = ffs(*tmp) - 1;
396 *start = word * BITSET_WORDBITS + ffs(tmp) - 1;
421 *end = MIN2(word * BITSET_WORDBITS + ffs(~tmp) - 1, size);
/third_party/ntfs-3g/libntfs-3g/
H A Dbootsect.c203 vol->sector_size_bits = ffs(vol->sector_size) - 1; in ntfs_boot_sector_parse()
237 vol->nr_clusters = sectors >> (ffs(sectors_per_cluster) - 1); in ntfs_boot_sector_parse()
258 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in ntfs_boot_sector_parse()
283 vol->mft_record_size_bits = ffs(vol->mft_record_size) - 1; in ntfs_boot_sector_parse()
293 vol->indx_record_size_bits = ffs(vol->indx_record_size) - 1; in ntfs_boot_sector_parse()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_rast_tri_tmp.h154 int i = ffs(partial_mask) - 1; in do_block_16()
177 int i = ffs(inmask) - 1; in do_block_16()
217 int i = ffs(plane_mask) - 1; in lp_rast_triangle()
311 int i = ffs(partial_mask) - 1; in lp_rast_triangle()
332 int i = ffs(inmask) - 1; in lp_rast_triangle()
406 int i = ffs(partial_mask) - 1; in TRI_16()
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_util.cpp323 pos = ffs(~data[i]) - 1; in findFreeRange()
332 pos = ffs(~b) - 1; in findFreeRange()
344 pos = ffs(~b) - 1; in findFreeRange()
386 int pos = ffs(bits) - 1; in print()
/third_party/backends/backend/
H A Dplustek-usbhw.c346 u_short ffs, step, min_ffs; in usb_WaitPos() local
363 ffs = regs[0x48] * 256 + regs[0x49]; in usb_WaitPos()
365 (u_long)mch * (u_long)ffs * hw->wMotorDpi); in usb_WaitPos()
377 maxf = (ffs - min_ffs)/4; in usb_WaitPos()
384 DBG( _DBG_INFO2, ">>>> FFS = %u\n", ffs ); in usb_WaitPos()
410 if( ffs ) { in usb_WaitPos()
411 if((u_short)fac < ffs ) { in usb_WaitPos()
412 ffs -= fac; in usb_WaitPos()
413 if( ffs < min_ffs ) in usb_WaitPos()
414 ffs in usb_WaitPos()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_context.h598 assert(ffs(dirty) <= ARRAY_SIZE(ctx->gen_dirty_map));
600 ctx->gen_dirty |= ctx->gen_dirty_map[ffs(dirty) - 1];
625 assert(ffs(dirty) <= ARRAY_SIZE(map));
627 ctx->gen_dirty |= ctx->gen_dirty_shader_map[shader][ffs(dirty) - 1];
630 fd_context_dirty(ctx, map[ffs(dirty) - 1]);
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_wrmasks.c110 unsigned first_component = ffs(wrmask) - 1; in split_wrmask()
111 unsigned length = ffs(~(wrmask >> first_component)) - 1; in split_wrmask()
/third_party/musl/src/misc/
H A Dffs.c4 int ffs(int i) in ffs() function
/third_party/python/Lib/test/test_importlib/
H A Dtest_main.py9 import pyfakefs.fake_filesystem_unittest as ffs namespace
11 from .stubs import fake_filesystem_unittest as ffs namespace
216 class InaccessibleSysPath(fixtures.OnSysPath, ffs.TestCase):
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_tiling.c129 uint32_t utile_w_shift = ffs(utile_w) - 1; in vc4_t_image_helper()
130 uint32_t utile_h_shift = ffs(utile_h) - 1; in vc4_t_image_helper()
/third_party/skia/experimental/sktext/src/
H A DPaint.h45 MultipleFontChain(std::vector<const char*> ffs, SkScalar size, SkFontStyle fontStyle) in MultipleFontChain() argument
48 for (auto& ff : ffs) { in MultipleFontChain()
/third_party/musl/libc-test/src/api/
H A Dstrings.c8 {int(*p)(int) = ffs;} in f()
/third_party/musl/porting/liteos_m/kernel/include/
H A Dstrings.h24 int ffs (int);
/third_party/musl/porting/liteos_m/user/include/
H A Dstrings.h24 int ffs (int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dstrings.h24 int ffs (int);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dstrings.h22 int ffs (int);
/third_party/musl/porting/uniproton/kernel/include/
H A Dstrings.h24 int ffs (int);
/third_party/ntfs-3g/include/ntfs-3g/
H A Dcompat.h64 extern int ffs(int i);
/third_party/libinput/include/
H A Dconfig.h60 #define ffs __builtin_ffs macro
/third_party/musl/include/
H A Dstrings.h25 int ffs (int);
/third_party/ltp/testcases/kernel/controllers/memcg/
H A Dmemcontrol_common.h21 const ssize_t page_adjusted_err = ffs(page_size >> 13) + err; in values_close()

Completed in 11 milliseconds

12345678