Lines Matching defs:regno
305 validargs(int cpuver, int regno)
307 if (regno < 0 || regno > 1)
318 versionmatch(int cpuver, int regno, const struct nametable *n)
320 if (!validargs(cpuver, regno) || (n->ver & MAPCPUVER(cpuver)) == 0)
334 if (regno == 1)
341 if (regno == 0)
356 getnametable(int cpuver, int regno)
360 if (!validargs(cpuver, regno))
366 n = P5mmx_names[regno];
381 cpc_walk_names(int cpuver, int regno, void *arg,
386 if ((n = getnametable(cpuver, regno)) == NULL)
389 if (versionmatch(cpuver, regno, n))
390 action(arg, regno, n->name, n->bits);
394 __cpc_reg_to_name(int cpuver, int regno, uint8_t bits)
398 if ((n = getnametable(cpuver, regno)) == NULL)
401 if (bits == n->bits && versionmatch(cpuver, regno, n))
410 __cpc_name_to_reg(int cpuver, int regno, const char *name, uint8_t *bits)
416 if ((n = getnametable(cpuver, regno)) == NULL || name == NULL)
420 versionmatch(cpuver, regno, n)) {