Home
last modified time | relevance | path

Searched refs:align_to (Results 1 – 2 of 2) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/x86/
Dmpx-mini-test.c1167 unsigned long align_down(unsigned long alignme, unsigned long align_to) in align_down() argument
1169 return alignme & ~(align_to-1); in align_down()
1172 unsigned long align_up(unsigned long alignme, unsigned long align_to) in align_up() argument
1174 return (alignme + align_to - 1) & ~(align_to-1); in align_up()
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c93 align_nblocksx(enum pipe_format format, unsigned width, unsigned align_to) in align_nblocksx() argument
95 return align(util_format_get_nblocksx(format, width), align_to); in align_nblocksx()
99 align_nblocksy(enum pipe_format format, unsigned width, unsigned align_to) in align_nblocksy() argument
101 return align(util_format_get_nblocksy(format, width), align_to); in align_nblocksy()