Lines Matching refs:regbase
70 static uint32_t rnn_val(struct rnn *rnn, uint32_t regbase) in rnn_val() argument
75 return reg_val(regbase); in rnn_val()
76 } else if (regbase < rnndec->sizedwords) { in rnn_val()
77 return rnndec->dwords[regbase]; in rnn_val()
479 uint32_t regbase = (uint32_t)lua_tonumber(L, 2); in l_rnn_regname() local
480 lua_pushstring(L, rnn_regname(rnn, regbase, 1)); in l_rnn_regname()
487 uint32_t regbase = (uint32_t)lua_tonumber(L, 2); in l_rnn_regval() local
489 struct rnndecaddrinfo *info = rnn_reginfo(rnn, regbase); in l_rnn_regval()
520 uint32_t regbase = (uint32_t)lua_tonumber(L, 1); in l_reg_written() local
521 lua_pushnumber(L, reg_written(regbase)); in l_reg_written()
527 uint32_t regbase = (uint32_t)lua_tonumber(L, 1); in l_reg_lastval() local
528 lua_pushnumber(L, reg_lastval(regbase)); in l_reg_lastval()
534 uint32_t regbase = (uint32_t)lua_tonumber(L, 1); in l_reg_val() local
535 lua_pushnumber(L, reg_val(regbase)); in l_reg_val()