Lines Matching refs:gpu_va
42 uint64_t gpu_va; member
57 uint64_t gpu_va, size_t size, in __pandecode_fetch_gpu_mem() argument
61 mem = pandecode_find_mapped_gpu_mem_containing(gpu_va); in __pandecode_fetch_gpu_mem()
65 gpu_va, filename, line); in __pandecode_fetch_gpu_mem()
70 assert(size + (gpu_va - mem->gpu_va) <= mem->length); in __pandecode_fetch_gpu_mem()
72 return mem->addr + gpu_va - mem->gpu_va; in __pandecode_fetch_gpu_mem()
75 #define pandecode_fetch_gpu_mem(mem, gpu_va, size) \ argument
76 __pandecode_fetch_gpu_mem(mem, gpu_va, size, __LINE__, __FILE__)
81 #define PANDECODE_PTR(mem, gpu_va, type) \ argument
82 ((type*)(__pandecode_fetch_gpu_mem(mem, gpu_va, sizeof(type), \
86 #define PANDECODE_PTR_VAR(name, mem, gpu_va) \ argument
87 name = __pandecode_fetch_gpu_mem(mem, gpu_va, sizeof(*name), \