Lines Matching refs:regnum
496 int regnum, i;
514 regnum = -1;
519 if (regnum == -1) /* use only the first one */
520 regnum = i;
529 if (regnum >= 0) {
530 size = ((uint64_t)reglist[regnum].pci_size_low) |
531 ((uint64_t)reglist[regnum].pci_size_hi) << 32;
533 regnum = -1;
536 return (regnum);
543 int regnum, i;
557 regnum = -1;
562 if (regnum == -1) /* only use the first one */
563 regnum = i;
578 if ((regnum < 0) || (reglist[regnum].size < 8))
579 regnum = -1;
581 return (regnum);
741 int regnum = 0;
830 regnum = asy_get_io_regnum(devi, asy);
832 if (regnum < 0 ||
833 ddi_regs_map_setup(devi, regnum, (caddr_t *)&asy->asy_ioaddr,