OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ALIGN_POT
(Results
1 - 25
of
52
) sorted by relevancy
1
2
3
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
pan_scratch.c
84
util_next_power_of_two(
ALIGN_POT
(thread_size, 16));
pan_afbc.c
142
unsigned aligned_width =
ALIGN_POT
(width, AFBC_TILE_WIDTH);
143
unsigned aligned_height =
ALIGN_POT
(height, AFBC_TILE_HEIGHT);
154
return
ALIGN_POT
(header_bytes, AFBC_CACHE_ALIGN);
pan_tiler.c
182
* Hence we clamp up to
align_pot
(fb / (64 - 1)).
233
unsigned aligned_width =
ALIGN_POT
(width, tile_width);
234
unsigned aligned_height =
ALIGN_POT
(height, tile_height);
275
return
ALIGN_POT
(size, 0x200);
pan_texture.c
205
effective_width =
ALIGN_POT
(effective_width, tile_w) >> tile_shift;
206
effective_height =
ALIGN_POT
(effective_height, tile_h);
214
offset =
ALIGN_POT
(offset, 64);
229
stride =
ALIGN_POT
(stride, 64);
297
layout->array_stride =
ALIGN_POT
(offset, 64);
301
layout->data_size =
ALIGN_POT
(layout->array_stride * array_size, 4096);
/xsrc/external/mit/MesaLib/src/gallium/auxiliary/
u_tracepoints.c
45
ALIGN_POT
(sizeof(struct trace_surface), 8), /* keep size 64b aligned */
76
ALIGN_POT
(sizeof(struct trace_framebuffer), 8), /* keep size 64b aligned */
110
ALIGN_POT
(sizeof(struct trace_grid_info), 8), /* keep size 64b aligned */
/xsrc/external/mit/MesaLib/dist/src/util/
build_id.c
92
ALIGN_POT
(note->nhdr.n_namesz, 4) +
93
ALIGN_POT
(note->nhdr.n_descsz, 4);
macros.h
374
#define
ALIGN_POT
(x, pot_align) (((x) + (pot_align) - 1) & ~((pot_align) - 1))
slab.c
110
parent->element_size =
ALIGN_POT
(sizeof(struct slab_element_header) + item_size,
ralloc.c
639
size =
ALIGN_POT
(size, SUBALLOC_ALIGNMENT);
670
size =
ALIGN_POT
(size, SUBALLOC_ALIGNMENT);
/xsrc/external/mit/MesaLib.old/dist/src/util/
build_id.c
92
ALIGN_POT
(note->nhdr.n_namesz, 4) +
93
ALIGN_POT
(note->nhdr.n_descsz, 4);
macros.h
287
#define
ALIGN_POT
(x, pot_align) (((x) + (pot_align) - 1) & ~((pot_align) - 1))
slab.c
110
parent->element_size =
ALIGN_POT
(sizeof(struct slab_element_header) + item_size,
/xsrc/external/mit/MesaLib/dist/src/asahi/lib/
pool.c
89
unsigned offset =
ALIGN_POT
(pool->transient_offset, alignment);
94
ALIGN_POT
(MAX2(POOL_SLAB_SIZE, sz), 4096));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
pan_mempool.c
125
unsigned offset =
ALIGN_POT
(pool->transient_offset, alignment);
130
ALIGN_POT
(MAX2(pool->base.slab_size, sz), 4096));
pan_resource.c
278
scanout_templat.width0 =
ALIGN_POT
(template->width0, 16);
279
scanout_templat.height0 =
ALIGN_POT
(template->height0, 16);
298
unsigned pitch =
ALIGN_POT
(template->width0, 16) *
304
scanout_templat.width0 =
ALIGN_POT
(template->width0, 16);
305
scanout_templat.height0 =
ALIGN_POT
(template->height0, 16) + header_rows;
555
ALIGN_POT
(DIV_ROUND_UP(res->width0, 32 * 8), 64);
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
panvk_mempool.c
81
unsigned offset =
ALIGN_POT
(pool->transient_offset, alignment);
86
ALIGN_POT
(MAX2(pool->base.slab_size, sz),
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
fd6_resource.c
244
ALIGN_POT
(DIV_ROUND_UP(width, block_width), RBG_TILE_WIDTH_ALIGNMENT);
246
ALIGN_POT
(DIV_ROUND_UP(height, block_height), RGB_TILE_HEIGHT_ALIGNMENT);
248
ALIGN_POT
(meta_stride * meta_height, UBWC_PLANE_SIZE_ALIGNMENT);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/asahi/
agx_pipe.c
204
width =
ALIGN_POT
(width, 64);
205
height =
ALIGN_POT
(height, 64);
212
offset +=
ALIGN_POT
(nresource->slices[l].line_stride * height, 0x80);
216
nresource->array_stride =
ALIGN_POT
(offset, 64);
217
unsigned size =
ALIGN_POT
(nresource->array_stride * templ->array_size, 4096);
229
width0 =
ALIGN_POT
(width0, 64);
230
height0 =
ALIGN_POT
(height0, 64);
245
offset = nresource->slices[0].line_stride *
ALIGN_POT
(templ->height0, 64);
agx_blit.c
79
offset +=
ALIGN_POT
(binary.size, 128);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
nir_lower_scratch.c
152
var->data.location =
ALIGN_POT
(shader->scratch_size, var_align);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
nir_types.cpp
625
*size = type->length *
ALIGN_POT
(elem_size, elem_align);
637
*size =
ALIGN_POT
(*size, elem_align) + elem_size;
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_lower_scratch.c
213
var->data.location =
ALIGN_POT
(shader->scratch_size, var_align);
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
mir_promote_uniforms.c
281
ctx->info->push.count =
ALIGN_POT
(ctx->info->push.count, 4);
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
vk_alloc.h
199
size_t offset =
ALIGN_POT
(ma->size, align);
/xsrc/external/mit/MesaLib/dist/src/compiler/
nir_types.cpp
713
*size = type->length *
ALIGN_POT
(elem_size, elem_align);
724
*size =
ALIGN_POT
(*size, elem_align) + elem_size;
Completed in 22 milliseconds
1
2
3
Indexes created Sat Jul 25 00:23:55 UTC 2026