| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| H A D | pan_scratch.c | 84 util_next_power_of_two(ALIGN_POT(thread_size, 16));
|
| H A D | 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);
|
| H A D | pan_tiler.c | 233 unsigned aligned_width = ALIGN_POT(width, tile_width); 234 unsigned aligned_height = ALIGN_POT(height, tile_height); 275 return ALIGN_POT(size, 0x200);
|
| H A D | 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/ |
| H A D | 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.old/dist/src/util/ |
| H A D | build_id.c | 92 ALIGN_POT(note->nhdr.n_namesz, 4) + 93 ALIGN_POT(note->nhdr.n_descsz, 4);
|
| H A D | macros.h | 287 #define ALIGN_POT(x, pot_align) (((x) + (pot_align) - 1) & ~((pot_align) - 1)) macro
|
| H A D | slab.c | 110 parent->element_size = ALIGN_POT(sizeof(struct slab_element_header) + item_size,
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | build_id.c | 92 ALIGN_POT(note->nhdr.n_namesz, 4) + 93 ALIGN_POT(note->nhdr.n_descsz, 4);
|
| H A D | macros.h | 374 #define ALIGN_POT(x, pot_align) (((x) + (pot_align) - 1) & ~((pot_align) - 1)) macro
|
| H A D | slab.c | 110 parent->element_size = ALIGN_POT(sizeof(struct slab_element_header) + item_size,
|
| /xsrc/external/mit/MesaLib/dist/src/asahi/lib/ |
| H A D | 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/ |
| H A D | pan_mempool.c | 125 unsigned offset = ALIGN_POT(pool->transient_offset, alignment); 130 ALIGN_POT(MAX2(pool->base.slab_size, sz), 4096));
|
| H A D | 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/ |
| H A D | 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/ |
| H A D | 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/ |
| H A D | 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);
|
| H A D | agx_blit.c | 79 offset += ALIGN_POT(binary.size, 128);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_lower_scratch.c | 152 var->data.location = ALIGN_POT(shader->scratch_size, var_align);
|
| H A D | nir_deref.c | 145 return ALIGN_POT(elem_size, elem_align); 158 offset = ALIGN_POT(offset, elem_align);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/ |
| H A D | 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/ |
| H A D | nir_lower_scratch.c | 213 var->data.location = ALIGN_POT(shader->scratch_size, var_align);
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/ |
| H A D | mir_promote_uniforms.c | 281 ctx->info->push.count = ALIGN_POT(ctx->info->push.count, 4);
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/util/ |
| H A D | vk_alloc.h | 199 size_t offset = ALIGN_POT(ma->size, align);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/ |
| H A D | nir_types.cpp | 713 *size = type->length * ALIGN_POT(elem_size, elem_align); 724 *size = ALIGN_POT(*size, elem_align) + elem_size;
|