Lines Matching defs:size
116 uint64_t size;
244 ib_info.size = ndw;
277 static void alloc_resource(struct amdgpu_jpeg_bo *jpeg_bo, unsigned size,
286 req.alloc_size = ALIGN(size, 4096);
297 jpeg_bo->size = req.alloc_size;
301 memset(jpeg_bo->ptr, 0, size);
310 r = amdgpu_bo_va_op(jpeg_bo->handle, 0, jpeg_bo->size, jpeg_bo->addr, 0,
535 int size, r;
539 size = 16 * 1024; /* 8K bitstream + 8K output */
541 alloc_resource(&dec_buf, size, AMDGPU_GEM_DOMAIN_VRAM);
552 send_cmd_target_direct(dec_buf.addr + (size / 2));
555 send_cmd_target(dec_buf.addr + (size / 2));
565 dec = dec_buf.ptr + (size / 2);