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()
1213 int totreg; in pci_check_regs() local1227 totreg = reglen / sizeof (pci_regspec_t); in pci_check_regs()1228 for (rn = 0; rn < totreg; rn++) { in pci_check_regs()1251 totreg = reglen / sizeof (pci_regspec_t); in pci_check_regs()1252 for (rn = 0; rn < totreg; rn++) { in pci_check_regs()1277 totreg = reglen / sizeof (pci_regspec_t); in pci_check_regs()1278 for (rn = 0; rn < totreg; rn++) { in pci_check_regs()
706 int totreg; in npe_ctlops() local744 totreg = (reglen * sizeof (int)) / sizeof (pci_regspec_t); in npe_ctlops()746 *(int *)result = totreg; in npe_ctlops()752 if (rn >= totreg) { in npe_ctlops()
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()
479 int totreg; in ppb_ctlops() local560 totreg = reglen / sizeof (pci_regspec_t); in ppb_ctlops()562 *(int *)result = totreg; in ppb_ctlops()565 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()
573 int totreg; in pcieb_ctlops() local704 totreg = reglen / sizeof (pci_regspec_t); in pcieb_ctlops()706 *(int *)result = totreg; in pcieb_ctlops()709 if (rn >= totreg) { in pcieb_ctlops()
921 int totreg, reglen; in cardbus_ctlops() local1076 totreg = reglen / sizeof (pci_regspec_t); in cardbus_ctlops()1079 "cardbus_ctlops, returning NREGS = %d\n", totreg); in cardbus_ctlops()1080 *(int *)result = totreg; in cardbus_ctlops()1083 if (rn > totreg) in cardbus_ctlops()