Lines Matching refs:dom
39 struct rnndomain *dom[2]; variable
43 find_reg(struct rnndomain *dom, const char *name) in find_reg() argument
45 for (int i = 0; i < dom->subelemsnum; i++) in find_reg()
46 if (!strcmp(name, dom->subelems[i]->name)) in find_reg()
47 return dom->subelems[i]->offset; in find_reg()
53 reg(struct rnndomain *dom, const char *type, const char *name) in reg() argument
55 int val = find_reg(dom, name); in reg()
68 reg_name(struct rnndomain *dom, unsigned id) in reg_name() argument
70 if (rnndec_checkaddr(ctx, dom, id, 0)) { in reg_name()
71 struct rnndecaddrinfo *info = rnndec_decodeaddr(ctx, dom, id, 0); in reg_name()
140 int val = find_reg(dom[0], name); in afuc_gpu_reg()
142 val = find_reg(dom[1], name); in afuc_gpu_reg()
162 if (rnndec_checkaddr(ctx, dom[0], id, 0)) { in afuc_gpu_reg_name()
163 d = dom[0]; in afuc_gpu_reg_name()
164 } else if (rnndec_checkaddr(ctx, dom[1], id, 0)) { in afuc_gpu_reg_name()
165 d = dom[1]; in afuc_gpu_reg_name()
284 dom[0] = rnn_finddomain(db, name); in afuc_util_init()
285 dom[1] = rnn_finddomain(db, "AXXX"); in afuc_util_init()