Lines Matching defs:offset
82 if (addr >= bo->offset &&
83 addr < bo->offset + bo->size) {
98 *vaddr = bo->vaddr + addr - bo->offset;
106 clif_dump_packet(struct clif_dump *clif, uint32_t offset, const uint8_t *cl,
110 return v3d42_clif_dump_packet(clif, offset, cl, size, reloc_mode);
112 return v3d41_clif_dump_packet(clif, offset, cl, size, reloc_mode);
114 return v3d33_clif_dump_packet(clif, offset, cl, size, reloc_mode);
128 void *start_vaddr = bo->vaddr + start - bo->offset;
142 bo->name, start - bo->offset);
172 uint32_t offset = 0;
179 v3d_print_group(clif, gs_state, 0, vaddr + offset);
180 offset += v3d_group_get_length(gs_state);
182 offset += 20;
185 v3d_print_group(clif, state, 0, vaddr + offset);
186 offset += v3d_group_get_length(state);
190 v3d_print_group(clif, attr, 0, vaddr + offset);
191 offset += v3d_group_get_length(attr);
194 return offset;
266 uint32_t offset = start;
268 while (offset < end) {
269 if (clif_dump_if_blank(clif, bo, offset, end))
272 if (end - offset >= 4) {
273 out(clif, "0x%08x ", *(uint32_t *)(bo->vaddr + offset));
274 offset += 4;
276 out(clif, "0x%02x ", *(uint8_t *)(bo->vaddr + offset));
277 offset++;
311 uint32_t offset = 0;
327 offset,
334 offset = 0;
338 int reloc_offset = reloc->addr - bo->offset;
339 if (offset != reloc_offset)
340 clif_dump_binary(clif, bo, offset, reloc_offset);
341 offset = reloc_offset;
345 offset = clif_dump_cl(clif, reloc->addr, reloc->cl.end,
352 offset += clif_dump_gl_shader_state_record(clif,
355 offset,
359 offset = clif_dump_cl(clif, reloc->addr,
368 clif_dump_binary(clif, bo, offset, bo->size);
394 return ((struct clif_bo *)a)->offset - ((struct clif_bo *)b)->offset;
446 uint32_t offset, uint32_t size, void *vaddr)
459 clif->bo[clif->bo_count].offset = offset;