/third_party/mesa3d/src/freedreno/decode/scripts/ |
D | analyze.lua | 77 for regbase=0,0xffff do 78 if regs.written(regbase) ~= 0 then 79 local regval = regs.val(regbase) 82 regtbl[regbase] = regval 85 local uniq_regvals = results[gpuname]["regvals"][regbase] 88 results[gpuname]["regvals"][regbase] = uniq_regvals; 147 for regbase,regvals in pairs(gpu["regvals"]) do 152 gpuname, rnn.regname(r, regbase), 153 regval, rnn.regval(r, regbase, regval))) 166 for regbase,regvals in pairs(gpu["regvals"]) do
|
/third_party/mesa3d/src/freedreno/decode/ |
D | rnnutil.c | 39 finddom(struct rnn *rnn, uint32_t regbase) in finddom() argument 41 if (rnndec_checkaddr(rnn->vc, rnn->dom[0], regbase, 0)) in finddom() 124 uint32_t regbase = rnndec_decodereg(rnn->vc_nocolor, rnn->dom[0], name); in rnn_regbase() local 125 if (!regbase) in rnn_regbase() 126 regbase = rnndec_decodereg(rnn->vc_nocolor, rnn->dom[1], name); in rnn_regbase() 127 return regbase; in rnn_regbase() 131 rnn_regname(struct rnn *rnn, uint32_t regbase, int color) in rnn_regname() argument 137 finddom(rnn, regbase), regbase, 0); in rnn_regname() 148 rnn_reginfo(struct rnn *rnn, uint32_t regbase) in rnn_reginfo() argument 150 return rnndec_decodeaddr(rnn->vc, finddom(rnn, regbase), regbase, 0); in rnn_reginfo()
|
D | cffdec.c | 292 reg_rewritten(uint32_t regbase) in reg_rewritten() argument 294 return !!(type0_reg_rewritten[regbase / 8] & (1 << (regbase % 8))); in reg_rewritten() 298 reg_written(uint32_t regbase) in reg_written() argument 300 return !!(type0_reg_written[regbase / 8] & (1 << (regbase % 8))); in reg_written() 317 reg_lastval(uint32_t regbase) in reg_lastval() argument 319 return lastvals[regbase]; in reg_lastval() 329 reg_val(uint32_t regbase) in reg_val() argument 331 return type0_reg_vals[regbase]; in reg_val() 335 reg_set(uint32_t regbase, uint32_t val) in reg_set() argument 337 assert(regbase < regcnt()); in reg_set() [all …]
|
D | cffdec.h | 84 uint32_t regbase(const char *name); 85 const char *regname(uint32_t regbase, int color); 86 bool reg_written(uint32_t regbase); 87 uint32_t reg_lastval(uint32_t regbase); 88 uint32_t reg_val(uint32_t regbase); 89 void reg_set(uint32_t regbase, uint32_t val); 92 void dump_register_val(uint32_t regbase, uint32_t dword, int level);
|
D | script.c | 76 rnn_val(struct rnn *rnn, uint32_t regbase) in rnn_val() argument 81 return reg_val(regbase); in rnn_val() 82 } else if (regbase < rnndec->sizedwords) { in rnn_val() 83 return rnndec->dwords[regbase]; in rnn_val() 502 uint32_t regbase = (uint32_t)lua_tonumber(L, 2); in l_rnn_regname() local 503 lua_pushstring(L, rnn_regname(rnn, regbase, 1)); in l_rnn_regname() 511 uint32_t regbase = (uint32_t)lua_tonumber(L, 2); in l_rnn_regval() local 513 struct rnndecaddrinfo *info = rnn_reginfo(rnn, regbase); in l_rnn_regval() 543 uint32_t regbase = (uint32_t)lua_tonumber(L, 1); in l_reg_written() local 544 lua_pushnumber(L, reg_written(regbase)); in l_reg_written() [all …]
|
D | rnnutil.h | 56 const char *rnn_regname(struct rnn *rnn, uint32_t regbase, int color); 57 struct rnndecaddrinfo *rnn_reginfo(struct rnn *rnn, uint32_t regbase);
|
D | crashdec.c | 61 unsigned reg = regbase(name); in regval64() 72 unsigned reg = regbase(name); in regval()
|
/third_party/mesa3d/src/freedreno/afuc/ |
D | disasm.c | 56 print_gpu_reg(uint32_t regbase) in print_gpu_reg() argument 58 if (regbase < 0x100) in print_gpu_reg() 61 char *name = afuc_gpu_reg_name(regbase); in print_gpu_reg()
|