Searched refs:totreg (Results 1 – 9 of 9) sorted by relevance
540 int totreg; in pci_ctlops() local576 totreg = (reglen * sizeof (int)) / sizeof (pci_regspec_t); in pci_ctlops()578 *(int *)result = totreg; in pci_ctlops()584 if (rn >= totreg) { in pci_ctlops()
1218 int totreg; in pci_check_regs() local1232 totreg = reglen / sizeof (pci_regspec_t); in pci_check_regs()1233 for (rn = 0; rn < totreg; rn++) { in pci_check_regs()1256 totreg = reglen / sizeof (pci_regspec_t); in pci_check_regs()1257 for (rn = 0; rn < totreg; rn++) { in pci_check_regs()1282 totreg = reglen / sizeof (pci_regspec_t); in pci_check_regs()1283 for (rn = 0; rn < totreg; rn++) { in pci_check_regs()
459 int reglen, totreg; in niumx_ctlops() local496 totreg = reglen / sizeof (niu_regspec_t); in niumx_ctlops()499 "niumx_ctlops NREGS=%d.\n", totreg); in niumx_ctlops()500 *(int *)result = totreg; in niumx_ctlops()504 if (rn >= totreg) { in niumx_ctlops()
480 int totreg; in ppb_ctlops() local561 totreg = reglen / sizeof (pci_regspec_t); in ppb_ctlops()563 *(int *)result = totreg; in ppb_ctlops()568 if (rn >= totreg) { in ppb_ctlops()
584 int totreg; in simba_ctlops() local629 totreg = reglen / sizeof (pci_regspec_t); in simba_ctlops()631 *(int *)result = totreg; in simba_ctlops()634 if (rn >= totreg) { in simba_ctlops()
565 int totreg; in ppb_ctlops() local628 totreg = reglen / sizeof (pci_regspec_t); in ppb_ctlops()630 *(int *)result = totreg; in ppb_ctlops()633 if (rn >= totreg) { in ppb_ctlops()
813 int totreg; in npe_ctlops() local851 totreg = (reglen * sizeof (int)) / sizeof (pci_regspec_t); in npe_ctlops()853 *(int *)result = totreg; in npe_ctlops()859 if (rn >= totreg) { in npe_ctlops()
696 int totreg; in pcieb_ctlops() local827 totreg = reglen / sizeof (pci_regspec_t); in pcieb_ctlops()829 *(int *)result = totreg; in pcieb_ctlops()832 if (rn >= totreg) { in pcieb_ctlops()
920 int totreg, reglen; in cardbus_ctlops() local1075 totreg = reglen / sizeof (pci_regspec_t); in cardbus_ctlops()1078 "cardbus_ctlops, returning NREGS = %d\n", totreg); in cardbus_ctlops()1079 *(int *)result = totreg; in cardbus_ctlops()1082 if (rn > totreg) in cardbus_ctlops()