Lines Matching defs:regnum
497 int regnum, i;
515 regnum = -1;
520 if (regnum == -1) /* use only the first one */
521 regnum = i;
530 if (regnum >= 0) {
531 size = ((uint64_t)reglist[regnum].pci_size_low) |
532 ((uint64_t)reglist[regnum].pci_size_hi) << 32;
534 regnum = -1;
537 return (regnum);
544 int regnum, i;
558 regnum = -1;
563 if (regnum == -1) /* only use the first one */
564 regnum = i;
579 if ((regnum < 0) || (reglist[regnum].size < 8))
580 regnum = -1;
582 return (regnum);
742 int regnum = 0;
831 regnum = asy_get_io_regnum(devi, asy);
833 if (regnum < 0 ||
834 ddi_regs_map_setup(devi, regnum, (caddr_t *)&asy->asy_ioaddr,