Lines Matching refs:gpuaddr

165 highlight_gpuaddr(uint64_t gpuaddr)  in highlight_gpuaddr()  argument
185 bool triggered = (start <= gpuaddr) && (gpuaddr <= end); in highlight_gpuaddr()
223 uint64_t addr = gpuaddr(&dwords[i]); in dump_hex()
255 printf("%016"PRIx64":%s", gpuaddr(dwords), levels[level]); in dump_float()
257 printf("%08x:%s", (uint32_t)gpuaddr(dwords), levels[level]); in dump_float()
275 static void parse_dword_addr(uint32_t dword, uint32_t *gpuaddr, in parse_dword_addr() argument
279 *gpuaddr = dword & ~mask; in parse_dword_addr()
358 dump_gpuaddr_size(uint64_t gpuaddr, int level, int sizedwords, int quietlvl) in dump_gpuaddr_size() argument
365 buf = hostptr(gpuaddr); in dump_gpuaddr_size()
372 dump_gpuaddr(uint64_t gpuaddr, int level) in dump_gpuaddr() argument
374 dump_gpuaddr_size(gpuaddr, level, 64, 3); in dump_gpuaddr()
414 disasm_gpuaddr(const char *name, uint64_t gpuaddr, int level) in disasm_gpuaddr() argument
418 gpuaddr &= 0xfffffffffffffff0; in disasm_gpuaddr()
423 buf = hostptr(gpuaddr); in disasm_gpuaddr()
425 uint32_t sizedwords = hostlen(gpuaddr) / 4; in disasm_gpuaddr()
494 uint64_t gpuaddr = gpuaddr_lo | (((uint64_t)dword) << 32); in reg_dump_tex_samp_hi() local
495 void *buf = hostptr(gpuaddr); in reg_dump_tex_samp_hi()
510 uint64_t gpuaddr = gpuaddr_lo | (((uint64_t)dword) << 32); in reg_dump_tex_const_hi() local
511 void *buf = hostptr(gpuaddr); in reg_dump_tex_const_hi()
821 uint64_t gpuaddr = 0; in dump_register_val() local
832 gpuaddr = (((uint64_t)dword) << 32) | reg_val(regbase-1); in dump_register_val()
834 gpuaddr = (((uint64_t)reg_val(regbase+1)) << 32) | dword; in dump_register_val()
838 if (gpuaddr && hostptr(gpuaddr)) { in dump_register_val()
840 gpubaseaddr(gpuaddr), in dump_register_val()
841 gpuaddr - gpubaseaddr(gpuaddr), in dump_register_val()
842 hostlen(gpubaseaddr(gpuaddr))); in dump_register_val()
1648 uint32_t gpuaddr, flags, mip_gpuaddr, mip_flags; in dump_a2xx_tex_const() local
1671 parse_dword_addr(dwords[1], &gpuaddr, &flags, 0xfff); in dump_a2xx_tex_const()
1702 levels[level+1], gpuaddr, flags, w, h, p, in dump_a2xx_tex_const()
1714 uint32_t gpuaddr, flags; in dump_a2xx_shader_const() local
1715 parse_dword_addr(dwords[i++], &gpuaddr, &flags, 0xf); in dump_a2xx_shader_const()
1716 void *addr = hostptr(gpuaddr); in dump_a2xx_shader_const()
1722 gpuaddr, size, fmt); in dump_a2xx_shader_const()
2155 highlight_gpuaddr(gpuaddr(&dwords[is_64b() ? 3 : 2])); in cp_indirect()
2181 uint64_t gpuaddr = dwords[0] | (((uint64_t)dwords[1]) << 32); in cp_mem_write() local
2182 printf("%sgpuaddr:%016"PRIx64"\n", levels[level], gpuaddr); in cp_mem_write()
2188 uint32_t gpuaddr = dwords[0]; in cp_mem_write() local
2189 printf("%sgpuaddr:%08x\n", levels[level], gpuaddr); in cp_mem_write()
2215 uint64_t gpuaddr = dwords[1] | (((uint64_t)dwords[2]) << 32); in cp_reg_mem() local
2216 printf("%sgpuaddr:%016"PRIx64"\n", levels[level], gpuaddr); in cp_reg_mem()
2217 void *ptr = hostptr(gpuaddr); in cp_reg_mem()