Lines Matching defs:buffer
38 * The GFX_AUX_TABLE_BASE_ADDR points to a buffer. The L3 Table Entry is
39 * located by indexing into this buffer as a uint64_t array using the L3-idx
49 * The L2 Table Entry is located by indexing into this buffer as a uint64_t
60 * Table Entry is located by indexing into this buffer as a uint64_t array
98 struct intel_buffer *buffer;
121 buf->buffer = ctx->buffer_alloc->alloc(ctx->driver_ctx, size);
122 if (!buf->buffer) {
127 assert(buf->buffer->map != NULL);
154 uint64_t gpu = tail->buffer->gpu + ctx->tail_offset;
173 *gpu = tail->buffer->gpu + ctx->tail_offset;
175 *map = (uint64_t*)((uint8_t*)tail->buffer->map + ctx->tail_offset);
245 ctx->buffer_alloc->free(ctx->driver_ctx, buf->buffer);
268 if (buf->buffer->gpu <= addr && buf->buffer->gpu_end > addr) {
280 uintptr_t map_offset = addr - buf->buffer->gpu;
281 return (uint64_t*)((uint8_t*)buf->buffer->map + map_offset);
558 driver_bos[i++] = buf->buffer->driver_bo;